migrating-mvc-razor-views
Migrates ASP.NET MVC Razor views to ASP.NET Core by converting HtmlHelpers to TagHelpers, child actions to ViewComponents, porting custom view-location precedence, and updating layout infrastructure. Use when upgrading MVC apps that use Html.ActionLink, Html.BeginForm, Html.TextBoxFor, Html.DropDownListFor, Html.ValidationMessageFor,…
Full publisher description
Migrates ASP.NET MVC Razor views to ASP.NET Core by converting HtmlHelpers to TagHelpers, child actions to ViewComponents, porting custom view-location precedence, and updating layout infrastructure. Use when upgrading MVC apps that use Html.ActionLink, Html.BeginForm, Html.TextBoxFor, Html.DropDownListFor, Html.ValidationMessageFor, Html.ValidationSummary, Html.Action, Html.RenderAction, ChildActionOnly, @helper, HtmlString, custom HtmlHelper extensions, or a custom RazorViewEngine / VirtualPathProviderViewEngine registered through ViewEngines.Engines. Also triggers for TagHelper conversion, ViewComponent migration, _ViewImports setup, view discovery changes, ViewLocationFormats, PartialViewLocationFormats, MasterLocationFormats, AreaViewLocationFormats, RazorViewEngineOptions, IViewLocationExpander, ViewBag/ViewData/TempData migration, display templates, and editor templates in MVC-to-Core upgrades.
Source details
Read SKILL.md ↗ · Browse skill folder ↗
microsoft/upgrade-agent-plugins
plugins/upgrade-agent/upgrade/dotnet/skills/lazy/web/mvc/migrating-mvc-razor-views/SKILL.mdPinned revision cede9dcfbc09a06f0e63652e64fc7545ce5fe1df
Source checked
Reviewed licence: LicenseRef-Microsoft-Copilot-Modernization-Preview
Repository default at the reviewed revision: Visual Studio development/testing only; preview expiry, confidentiality and no-sharing/distribution restrictions apply. Copilot access has separate terms.
Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.
This skill page is available in English. Publisher instructions stay in their original language.