migrating-mvc-session-state

Official

Effortlessly migrate session state, TempData, and application state from ASP.NET Framework to ASP.NET Core.

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of migrating session state, TempData, and application state from ASP.NET Framework to ASP.NET Core, ensuring a smooth transition without data loss.

Core Features & Use Cases

  • Session State Migration: Converts HttpSessionState to ISession with distributed cache backend.
  • TempData Migration: Migrates TempData from session-based to cookie-based provider.
  • Application State and Cache Replacement: Replaces HttpContext.Application and HttpRuntime.Cache with DI-based IMemoryCache or IDistributedCache.
  • Use Case: Ideal for upgrading MVC or WebAPI apps that rely on session-based state patterns and need a seamless transition to ASP.NET Core.

Quick Start

Migrate your ASP.NET Framework session state to ASP.NET Core using the 'migrating-mvc-session-state' skill.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

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

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.