Favicon of migrating-mvc-routing

migrating-mvc-routing Skill

AI Agent SkillHTMLOpen source

Converts ASP.NET MVC RouteCollection-based routing to ASP.NET Core endpoint routing with MapControllerRoute in Program.cs. Use when migrating RouteConfig.cs, RouteTable.Routes, routes.MapRoute, routes.MapMvcAttributeRoutes, or RouteCollection to ASP.NET Core. Also triggers for MVC routing upgrade, endpoint routing migr Published by microsoft in upgrade-agent-plugins.

What is migrating-mvc-routing Skill?

Converts ASP.NET MVC RouteCollection-based routing to ASP.NET Core endpoint routing with MapControllerRoute in Program.cs. Use when migrating RouteConfig.cs, RouteTable.Routes, routes.MapRoute, routes.MapMvcAttributeRoutes, or RouteCollection to ASP.NET Core. Also triggers for MVC routing upgrade, endpoint routing migr 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.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
23/100

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
  • Developers using upgrade-agent-plugins

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use migrating-mvc-routing Skill

  • Use it for developers using upgrade-agent-plugins.

Built with

HTMLCopy skill directory

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-routing/SKILL.md

What it does

Converts ASP.NET MVC RouteCollection-based routing to ASP.NET Core endpoint routing with MapControllerRoute in Program.cs. Use when migrating RouteConfig.cs, RouteTable.Routes, routes.MapRoute, routes.MapMvcAttributeRoutes, or RouteCollection to ASP.NET Core. Also triggers for MVC routing upgrade, endpoint routing migr

Skill instructions

ASP.NET MVC Routing Migration Migrate ASP.NET MVC routing from RouteCollection/RouteConfig.cs to ASP.NET Core endpoint routing in Program.cs. Workflow Migration Progress: - [ ] Step 1: Locate route registration - [ ] Step 2: Convert to ASP.NET Core routing - [ ] Step 3: Handle MVC + API controllers - [ ] Step 4: Preserve existing customizations - [ ] Step 5: Remove RouteConfig Step 1: Locate Route Registration Find all route registration code. Typically lives in RouteConfig.cs: csharp public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.MapMvcAttributeRoutes(); routes.IgnoreRoute("{resource}.axd/{pathInfo}"); routes.MapRoute( name: "Default", url: "{controller}/{action}/{id}", defaults: new { controller = "Catalog", action = "Index", id = UrlParameter.Optional } ); } } Step 2: Convert to ASP.NET Core Routing Default routes (no customization): Replace with: csharp app.MapDefaultControllerRoute(); Custom routes: Add MapControllerRoute calls in Pro

Explore related resources

Frequently asked questions

What is migrating-mvc-routing?

migrating-mvc-routing is a open-source AI agent skill with Copy skill directory. Converts ASP.NET MVC RouteCollection-based routing to ASP.NET Core endpoint routing with MapControllerRoute in Program.cs.

Who is migrating-mvc-routing best for?

migrating-mvc-routing is best for reusing agent instructions, scripts, and references.

How do I install migrating-mvc-routing?

Install or run migrating-mvc-routing using Copy skill directory. Check migrating-mvc-routing for the latest setup command.

Is migrating-mvc-routing actively maintained?

migrating-mvc-routing may need a closer maintenance check before production use.

Share:

Stars
8
Forks
1
Last commit
12 days ago
Repository age
2 months
License
NOASSERTION

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to migrating-mvc-routing