migrating-mvc-controllers

Official

Effortlessly upgrade MVC and WebAPI controllers to ASP.NET Core

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the migration of ASP.NET Framework MVC and WebAPI controllers to their ASP.NET Core equivalents, streamlining the upgrade process and ensuring compatibility.

Core Features & Use Cases

  • Controller Migration: Converts MVC and WebAPI controllers to ASP.NET Core patterns.
  • Return Type Rewrite: Handles the transformation of return types between the old and new frameworks.
  • ApiController Attribute: Adds the [ApiController] attribute to WebAPI controllers for improved behavior.
  • Async Action Patterns: Migrates async actions to the new framework standards.
  • ViewComponent Conversion: Converts child actions to ViewComponents where applicable.
  • Use Case: For developers looking to upgrade their existing ASP.NET Framework applications to ASP.NET Core, this Skill provides a comprehensive solution to ensure a smooth transition.

Quick Start

Use the migrating-mvc-controllers skill to upgrade your MVC controllers to ASP.NET Core.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: migrating-mvc-controllers
Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#migrating-mvc-controllers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.