migrating-mvc-http-pipeline

Migrates ASP.NET Framework HTTP pipeline components to ASP.NET Core middleware and endpoints.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of migrating ASP.NET Framework HTTP pipeline components (HttpModules, HttpHandlers, Global.asax) to ASP.NET Core middleware and endpoints, ensuring a smooth transition with minimal manual effort.

Core Features & Use Cases

  • Automatic Migration: Converts HttpModules to middleware, HttpHandlers to endpoints, and Global.asax events to their Core equivalents.
  • Pipeline Ordering: Preserves the execution order of modules and handlers, crucial for authentication, logging, and error handling.
  • Use Case: Ideal for projects with legacy ASP.NET Framework code looking to upgrade to ASP.NET Core without re-writing the entire application.

Quick Start

Run the skill to automatically migrate your ASP.NET Framework HTTP pipeline components to ASP.NET Core.

Frequently Asked Questions about migrating-mvc-http-pipeline

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

FAQPage Schema
How do I migrate ASP.NET Framework HTTP pipeline components to ASP.NET Core?

Migrating ASP.NET Framework HTTP pipeline components to ASP.NET Core involves converting HttpModules to middleware, HttpHandlers to endpoints, and Global.asax events to their Core equivalents while preserving execution order.

What is the best way to convert HttpModules and HttpHandlers when upgrading to ASP.NET Core?

Converting HttpModules and HttpHandlers to ASP.NET Core is best handled by mapping modules to middleware and handlers to endpoints automatically, ensuring the original pipeline execution order is maintained.

How does pipeline execution order preservation work when migrating ASP.NET HTTP modules?

Pipeline execution order preservation during migration ensures that the sequence of converted ASP.NET Core middleware and endpoints maintains the original logic for authentication, logging, and error handling.

Do I need knowledge of ASP.NET Core middleware concepts to migrate legacy HTTP pipelines?

Knowledge of ASP.NET Core middleware concepts is required to migrate legacy HTTP pipelines, as the process targets the Core pipeline architecture to properly transition modules and handlers.

Can I migrate Global.asax events to ASP.NET Core without rewriting the entire application?

Migrating Global.asax events to ASP.NET Core can be done without rewriting the entire application by converting the events to their ASP.NET Core equivalents automatically.

Why does migrating ASP.NET Framework HTTP pipeline components require preserving execution order?

Preserving execution order when migrating ASP.NET Framework HTTP pipeline components is required to ensure that critical middleware functions like authentication, logging, and error handling execute in the correct sequence.