migrating-mvc-razor-views

Official

Seamlessly transition your MVC Razor views to ASP.NET Core.

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of converting existing ASP.NET MVC Razor views to their ASP.NET Core equivalents, simplifying the migration process and ensuring compatibility with new platforms.

Core Features & Use Cases

  • HtmlHelpers to TagHelpers Conversion:Automates the process of transforming HtmlHelpers to TagHelpers for better syntax and performance in ASP.NET Core.
  • Child Actions to ViewComponents Transition: Converts child actions into ViewComponents to replace the legacy approach, enhancing view structure.
  • Layout Infrastructure Upgrade: Handles the creation and activation of _ViewImports.cshtml for streamlined global configurations.
  • Use Case: An ASP.NET MVC project upgrading to ASP.NET Core can use this Skill to automatically migrate view code, making the transition to modern web development easier.

Quick Start

Migrate your ASP.NET MVC Razor views to ASP.NET Core using the 'migrating-mvc-razor-views' skill. The process will automatically convert your views and update the necessary infrastructure files.

Dependency Matrix

Required Modules

TagHelperConverter

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: migrating-mvc-razor-views
Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#migrating-mvc-razor-views

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.