migrating-mvc-razor-views Skill
Migrates ASP.NET MVC Razor views to ASP.NET Core by converting HtmlHelpers to TagHelpers, child actions to ViewComponents, and updating layout infrastructure. Use when upgrading MVC apps that use Html.ActionLink, Html.BeginForm, Html.TextBoxFor, Html.DropDownListFor, Html.ValidationMessageFor, Html.ValidationSummary, H Published by microsoft in upgrade-agent-plugins.
What is migrating-mvc-razor-views Skill?
Migrates ASP.NET MVC Razor views to ASP.NET Core by converting HtmlHelpers to TagHelpers, child actions to ViewComponents, and updating layout infrastructure. Use when upgrading MVC apps that use Html.ActionLink, Html.BeginForm, Html.TextBoxFor, Html.DropDownListFor, Html.ValidationMessageFor, Html.ValidationSummary, H Published by microsoft in upgrade-agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Data analysis
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use migrating-mvc-razor-views Skill
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/web/mvc/migrating-mvc-razor-views/SKILL.md
What it does
Migrates ASP.NET MVC Razor views to ASP.NET Core by converting HtmlHelpers to TagHelpers, child actions to ViewComponents, and updating layout infrastructure. Use when upgrading MVC apps that use Html.ActionLink, Html.BeginForm, Html.TextBoxFor, Html.DropDownListFor, Html.ValidationMessageFor, Html.ValidationSummary, H
Skill instructions
ASP.NET MVC Razor Views Migration Overview Migrate ASP.NET MVC Razor views to ASP.NET Core. Razor syntax is mostly compatible, but the helper ecosystem changed significantly: HtmlHelpers are replaced by TagHelpers, child actions are replaced by ViewComponents, and layout infrastructure requires a ViewImports.cshtml file. For bundle-specific migration (@Scripts.Render, @Styles.Render, BundleConfig.cs), see the migrating-mvc-bundling skill. Workflow Migration Progress: - [ ] Step 1: Set up ViewImports.cshtml - [ ] Step 2: Convert HtmlHelpers to TagHelpers - [ ] Step 3: Convert child actions to ViewComponents - [ ] Step 4: Update partial view references - [ ] Step 5: Migrate custom HtmlHelper extensions - [ ] Step 6: Update view data passing patterns - [ ] Step 7: Clean up removed APIs - [ ] Step 8: Verify build Step 1: Set Up ViewImports.cshtml Create Views/ViewImports.cshtml if it does not exist. This file replaces per-view @using statements and activates TagHelpers globally: cshtml @us
Explore related resources
Frequently asked questions
What is migrating-mvc-razor-views?
migrating-mvc-razor-views is a open-source AI agent skill with Copy skill directory. Migrates ASP.NET MVC Razor views to ASP.NET Core by converting HtmlHelpers to TagHelpers, child actions to ViewComponents, and updating layout infrastructure.
Who is migrating-mvc-razor-views best for?
migrating-mvc-razor-views is best for reusing agent instructions, scripts, and references, data analysis workflows.
How do I install migrating-mvc-razor-views?
Install or run migrating-mvc-razor-views using Copy skill directory. Check migrating-mvc-razor-views for the latest setup command.
Is migrating-mvc-razor-views actively maintained?
migrating-mvc-razor-views may need a closer maintenance check before production use.
Auto-fetched from GitHub.