migrating-mvc-content-negotiation

Official

Effortlessly upgrade ASP.NET Web API content negotiation to ASP.NET Core equivalents.

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the migration of ASP.NET Web API content negotiation to ASP.NET Core, automating the conversion of formatters and negotiators to their Core equivalents.

Core Features & Use Cases

  • Formatter Conversion: Converts MediaTypeFormatter subclasses to InputFormatter/OutputFormatter.
  • Negotiator Replacement: Replaces IContentNegotiator with OutputFormatterSelector.
  • Registration Update: Updates formatter registration from HttpConfiguration.Formatters to MvcOptions.
  • Use Case: Ideal for upgrading Web API projects with custom MediaTypeFormatter classes or those needing to migrate from Newtonsoft.Json to System.Text.Json.

Quick Start

Migrate your ASP.NET Web API to ASP.NET Core with the 'migrating-mvc-content-negotiation' skill by running 'migrate-api-content-negotiation'.

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-content-negotiation
Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#migrating-mvc-content-negotiation

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.