scaffolding-yarp-proxy-project

Scaffold an ASP.NET Core project with YARP reverse proxy for incremental migration.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotnet, powershell, and includes scripts (resource) and assets (resource) and references (resource) components.

What problem does it solve?

This Skill solves the challenge of incrementally migrating a .NET Framework MVC or WebAPI project to ASP.NET Core by providing a tool to create a new ASP.NET Core project that proxies requests to the existing framework application.

Core Features & Use Cases

  • Incremental Side-by-Side Migration: Scaffolds a new ASP.NET Core project alongside an existing MVC or WebAPI application for smooth transition.
  • YARP Reverse Proxy: Integrates a YARP reverse proxy to route traffic between the old and new projects.
  • Manual Scaffold with Scripts and Templates: Includes scripts and template files for manual project creation when automation tools are unavailable.
  • Use Case: Migrate an existing .NET Framework MVC application to ASP.NET Core without disrupting ongoing services by proxying traffic to the old application while new features are developed.

Quick Start

Run the scaffold_yarp_proxy_web_project script with the appropriate parameters:

scaffold_yarp_proxy_web_project(
  solutionPath="{solution_path}",
  projectPath="{old_project_path}",
  targetFramework="{tfm}",
  targetProjectName="{new_name}",
  projectType="{MVC|WebAPI}"
)

Frequently Asked Questions about scaffolding-yarp-proxy-project

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

FAQPage Schema
How do I migrate a .NET Framework MVC or WebAPI project to ASP.NET Core?

Migrate a .NET Framework MVC or WebAPI project to ASP.NET Core by scaffolding a new ASP.NET Core project that uses a YARP reverse proxy to route traffic to the existing application, enabling incremental side-by-side migration without disrupting ongoing services.

What is the best way to incrementally migrate an ASP.NET MVC application without downtime?

Incremental migration without downtime is achieved by running the new ASP.NET Core application side-by-side with the old .NET Framework application, using a YARP reverse proxy to seamlessly route requests between both projects during the transition.

How do I set up a YARP reverse proxy for an ASP.NET Core migration project?

Set up a YARP reverse proxy by running the scaffold_yarp_proxy_web_project script with parameters for your solution path, old project path, target framework, new project name, and project type to generate the required configuration.

Do I need PowerShell to scaffold an ASP.NET Core YARP proxy project?

Yes, PowerShell and the dotnet SDK are required dependencies to execute the provided scaffold scripts and template files for manually creating the ASP.NET Core project with YARP proxy integration.

Can I automate the creation of an ASP.NET Core YARP proxy or do I need manual project creation?

Manual project creation is required using provided scripts and template files to scaffold the ASP.NET Core YARP proxy, ensuring proper parameterized solution configuration when standard automation tools are unavailable.

Does YARP reverse proxy support side-by-side hosting for .NET Framework to .NET Core migration?

Yes, YARP reverse proxy supports side-by-side hosting by routing incoming traffic between the newly scaffolded ASP.NET Core project and the existing .NET Framework MVC or WebAPI application for a smooth transition.