migrating-mvc-session-state Skill
Migrates ASP.NET Framework session state, TempData, and application state to ASP.NET Core equivalents. Converts HttpSessionState to ISession with distributed cache backend, migrates TempData from session-based to cookie-based provider, and replaces HttpContext.Application and HttpRuntime.Cache with DI-based IMemoryCach Published by microsoft in upgrade-agent-plugins.
What is migrating-mvc-session-state Skill?
Migrates ASP.NET Framework session state, TempData, and application state to ASP.NET Core equivalents. Converts HttpSessionState to ISession with distributed cache backend, migrates TempData from session-based to cookie-based provider, and replaces HttpContext.Application and HttpRuntime.Cache with DI-based IMemoryCach 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
- Security review
- Data analysis
- Security review use cases
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use migrating-mvc-session-state Skill
- Use it for security review.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/web/mvc/migrating-mvc-session-state/SKILL.md
What it does
Migrates ASP.NET Framework session state, TempData, and application state to ASP.NET Core equivalents. Converts HttpSessionState to ISession with distributed cache backend, migrates TempData from session-based to cookie-based provider, and replaces HttpContext.Application and HttpRuntime.Cache with DI-based IMemoryCach
Skill instructions
ASP.NET MVC Session and State Migration Overview Migrate session state, TempData, and application-level state from ASP.NET Framework to ASP.NET Core. ASP.NET Core has no in-process session by default — session requires explicit opt-in via AddSession() plus a distributed cache provider. Getting this wrong causes silent data loss at scale or on app restart. Adapter overlay: If the aspnet-system-web-adapters skill is loaded, its guidance takes precedence for HttpSessionState replacement during scaffold and migrate phases — the adapter provides a session shim that defers full migration. TempData and Application State are not covered by adapters; migrate them directly using this skill. Related skill: migrating-global-asax covers SessionStart/SessionEnd event migration to session middleware registration. Workflow Track progress across these steps: Migration Progress: - [ ] Step 1: Audit state usage across project - [ ] Step 2: Register session services and middleware - [ ] Step 3: Migrate Ht
Explore related resources
Frequently asked questions
What is migrating-mvc-session-state?
migrating-mvc-session-state is a open-source AI agent skill with Copy skill directory. Migrates ASP.NET Framework session state, TempData, and application state to ASP.NET Core equivalents.
Who is migrating-mvc-session-state best for?
migrating-mvc-session-state is best for reusing agent instructions, scripts, and references, security review workflows, data analysis workflows.
How do I install migrating-mvc-session-state?
Install or run migrating-mvc-session-state using Copy skill directory. Check migrating-mvc-session-state for the latest setup command.
Is migrating-mvc-session-state actively maintained?
migrating-mvc-session-state may need a closer maintenance check before production use.
Auto-fetched from GitHub.