migrating-mvc-httpcontext
OfficialStreamline ASP.NET MVC to ASP.NET Core migration by replacing HttpContext usage.
Authormicrosoft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of migrating ASP.NET MVC applications to ASP.NET Core by automatically replacing and updating HttpContext-related code patterns.
Core Features & Use Cases
- Automatic Code Replacement: Identifies and replaces
HttpContext.Currentusage with equivalent ASP.NET Core code. - Request and Response Handling: Migrates request and response patterns to align with ASP.NET Core standards.
- HttpServerUtility Calls: Replaces
HttpServerUtilitycalls with their ASP.NET Core equivalents. - ClaimsPrincipal Migration: Updates usage of
ClaimsPrincipal.Currentto work with ASP.NET Core's asynchronous pipeline. - Use Case: For instance, if you have an existing ASP.NET MVC application that relies heavily on
HttpContext.Current, this Skill can automate the migration process, significantly reducing manual work.
Quick Start
Run the Skill to begin the automated migration of HttpContext-related code in your ASP.NET MVC project.
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-httpcontext Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#migrating-mvc-httpcontext 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.