migrating-mvc-content-negotiation
OfficialEffortlessly 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
MediaTypeFormattersubclasses toInputFormatter/OutputFormatter. - Negotiator Replacement: Replaces
IContentNegotiatorwithOutputFormatterSelector. - Registration Update: Updates formatter registration from
HttpConfiguration.FormatterstoMvcOptions. - Use Case: Ideal for upgrading Web API projects with custom
MediaTypeFormatterclasses 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.