migrating-mvc-routing

Convert ASP.NET MVC RouteCollection routing to ASP.NET Core endpoint routing.

19|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill migrating-mvc-routing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrating-mvc-routing
Source: https://github.com/microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/web/mvc/migrating-mvc-routing
Command: npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill migrating-mvc-routing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the conversion of ASP.NET MVC RouteCollection-based routing to ASP.NET Core endpoint routing, simplifying the upgrade process for developers.

Core Features & Use Cases

  • Routing Conversion: Converts RouteCollection-based routing to ASP.NET Core endpoint routing.
  • Use Case: Ideal for developers migrating an ASP.NET MVC application to ASP.NET Core, ensuring a smooth transition with minimal manual intervention.

Quick Start

Migrate your MVC routing to ASP.NET Core by running the migrating-mvc-routing skill.

Frequently Asked Questions about migrating-mvc-routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate ASP.NET MVC RouteCollection routing to ASP.NET Core endpoint routing?

Endpoint routing in ASP.NET Core replaces RouteCollection-based routing by decoupling route matching from endpoint execution. This Skill automates that conversion, translating MVC routing patterns into endpoint routing configurations for .NET applications migrating to ASP.NET Core.

When do I need to convert RouteCollection-based routing during an ASP.NET Core migration?

You need to convert RouteCollection-based routing when migrating an ASP.NET MVC application to ASP.NET Core, because the newer framework uses endpoint routing. This Skill automates that conversion to ensure a smooth transition with minimal manual intervention.

Can I use this routing migration approach for any .NET application upgrading to ASP.NET Core?

This routing migration approach applies to .NET applications migrating from ASP.NET MVC to ASP.NET Core. It requires knowledge of both frameworks to properly handle routing patterns and configurations during the endpoint routing conversion process.

What is the best way to automate routing conversion from ASP.NET MVC to ASP.NET Core?

The best way to automate routing conversion is using this Skill, which streamlines the process by converting RouteCollection-based routing to ASP.NET Core endpoint routing with minimal manual intervention for developers upgrading their applications.

Does migrating MVC routing to endpoint routing require knowledge of both ASP.NET frameworks?

Yes, migrating MVC routing to endpoint routing requires knowledge of both ASP.NET MVC and ASP.NET Core frameworks to handle routing patterns and configurations correctly. This Skill applies that expertise to automate the conversion process.