Migrating Mvc Content Negotiation
microsoft/upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/web/mvc/migrating-mvc-content-negotiationcodingResmi
Resmi Sağlayıcı Skill'iView repo
Migrates ASP.NET Web API content negotiation and formatters to ASP.NET Core equivalents. Converts MediaTypeFormatter subclasses to InputFormatter/OutputFormatter, replaces IContentNegotiator with OutputFormatterSelector, and updates formatter registration from HttpConfiguration.Formatters to MvcOptions. Use when upgrading Web API projects that define custom MediaTypeFormatter classes, configure content negotiation via IContentNegotiator, register XML or JSON formatters, use MediaTypeMapping, or
Dosyalar1 dosya
SKILL.md424 satır
Loading editor…
Kurulum
ÖnerilenTek komut — ajanınız otomatik olarak devreye alır.
Kurulum komutunu görmek için yukarıdan bir AI aracı seçin.
veya
Manuel Kurulum
Daha fazla adımDosyayı indirin ve ajanınızın sistem istemine yapıştırın.
Skill detayları
Versiyonv1.0.0
YazarMicrosoft
Kategoricoding
Skill IDmicrosoft/upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/web/mvc/migrating-mvc-content-negotiation
İlgili skill'ler
Analyzing Cross Host Route OwnershipDetermines which URLs a partly migrated app is still served by the old .NET Framework host and which the new ASP.NET Core host already answers, by reading both projects and the YARP route table. Use when planning the next wave of a side-by-side migration, before deleting or moving a Framework route, or when deciding whether a route has finished migrating. Also triggers for "which routes still run on the old app", "what is the proxy forwarding", "is this route migrated yet", "what is safe to moveAspire IntegrationAdds Aspire orchestration to an existing repository for inner-loop development and optional Azure deployment readiness. Use when asked to "aspirerify a project", "add Aspire to a solution", "integrate Aspire", "set up an AppHost", "add aspire init", or "orchestrate services with Aspire". Handles CLI setup, TFM compatibility gating, inter-service communication mapping, and delegates AppHost wiring to the Aspire CLI agent skills.Aspire Version UpgradeUpgrade existing Aspire projects to a newer Aspire version. Also handles TFM upgrades — preferred when the solution contains Aspire projects, since the Aspire version drives the required TFM. Triggers for "upgrade Aspire", "update Aspire version", "move to latest Aspire", or any .NET upgrade request on a solution with Aspire artifacts.Azure Functions UpgradeUpgrade Azure Functions project from in-process model to isolated worker model. Use when user wants to migrate Azure Functions from in-proc to isolated, upgrade Functions hosting model, or modernize Azure Functions projects.Azure MigrateMigrates applications to Azure cloud services by starting an app modernization migration session. Use when user wants to migrate to Azure, start Azure migration, get help migrating an application to Azure, see Azure migration options, or start app modernization for Azure. Triggers for "migrate to Azure", "Azure migration", "move to Azure", "cloud migration", and "app modernization" requests.Building ProjectsBuild tool selection and orchestration for .NET projects during modernization upgrades. Use this skill whenever the agent modifies code files, project files, packages, or configuration and needs to validate the build — which is virtually every upgrade task. Covers: choosing between `dotnet build` and `msbuild.exe`, restore strategy, targeted vs solution builds, resolving MSBuild errors (MSB3086, MSB4019, NETSDK1005, etc.), handling multi-targeting scenarios, resource generation failures with .re