migrating-webapi-cors Skill
Migrates legacy ASP.NET Web API CORS (Microsoft.AspNet.WebApi.Cors) to ASP.NET Core CORS (Microsoft.AspNetCore.Cors). Use ONLY when Microsoft.AspNet.WebApi.Cors has been flagged as obsolete or deprecated and must be replaced — not for version-bump scenarios where Microsoft.AspNet.WebApi.Cors is still supported. Published by microsoft in upgrade-agent-plugins.
What is migrating-webapi-cors Skill?
Migrates legacy ASP.NET Web API CORS (Microsoft.AspNet.WebApi.Cors) to ASP.NET Core CORS (Microsoft.AspNetCore.Cors). Use ONLY when Microsoft.AspNet.WebApi.Cors has been flagged as obsolete or deprecated and must be replaced — not for version-bump scenarios where Microsoft.AspNet.WebApi.Cors is still supported. Published by microsoft in upgrade-agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using upgrade-agent-plugins
Technical details
- Install or run with Copy skill directory
When to use migrating-webapi-cors Skill
- Use it for developers using upgrade-agent-plugins.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/migrating-webapi-cors/SKILL.md
What it does
Migrates legacy ASP.NET Web API CORS (Microsoft.AspNet.WebApi.Cors) to ASP.NET Core CORS (Microsoft.AspNetCore.Cors). Use ONLY when Microsoft.AspNet.WebApi.Cors has been flagged as obsolete or deprecated and must be replaced — not for version-bump scenarios where Microsoft.AspNet.WebApi.Cors is still supported.
Skill instructions
ASP.NET Web API CORS to ASP.NET Core CORS Migration Overview Migrate CORS configuration from ASP.NET Web API (Microsoft.AspNet.WebApi.Cors) to ASP.NET Core (Microsoft.AspNetCore.Cors). The core change is moving from attribute-driven CORS registered via EnableCorsAttribute on HttpConfiguration to a middleware-based approach using services.AddCors() and app.UseCors(). Named policies replace the per-attribute origin/header/method strings. Package Reference Changes Old References (Remove) xml <PackageReference Include="Microsoft.AspNet.WebApi.Cors" Version="5." / <PackageReference Include="Microsoft.AspNet.Cors" Version="5." / New Reference (Add) xml <!-- Included in the ASP.NET Core shared framework; explicit reference only needed for class libraries -- <PackageReference Include="Microsoft.AspNetCore.Cors" Version="{version-for-target-framework}" / In ASP.NET Core web applications targeting net6.0 or later, Microsoft.AspNetCore.Cors is part of the shared framework and does not need an exp
Explore related resources
Frequently asked questions
What is migrating-webapi-cors?
migrating-webapi-cors is a open-source AI agent skill with Copy skill directory. Migrates legacy ASP.NET Web API CORS (Microsoft.AspNet.WebApi.Cors) to ASP.NET Core CORS (Microsoft.AspNetCore.Cors).
Who is migrating-webapi-cors best for?
migrating-webapi-cors is best for reusing agent instructions, scripts, and references.
How do I install migrating-webapi-cors?
Install or run migrating-webapi-cors using Copy skill directory. Check migrating-webapi-cors for the latest setup command.
Is migrating-webapi-cors actively maintained?
migrating-webapi-cors may need a closer maintenance check before production use.
Auto-fetched from GitHub.