migrating-global-asax Skill
Migrates Global.asax application lifecycle events to ASP.NET Core middleware, startup configuration, and Program.cs. Use when upgrading ASP.NET Framework apps containing Global.asax or Global.asax.cs files. Triggers for "migrate Global.asax", "convert application events", "move ApplicationStart to Program.cs", "replace Published by microsoft in upgrade-agent-plugins.
What is migrating-global-asax Skill?
Migrates Global.asax application lifecycle events to ASP.NET Core middleware, startup configuration, and Program.cs. Use when upgrading ASP.NET Framework apps containing Global.asax or Global.asax.cs files. Triggers for "migrate Global.asax", "convert application events", "move ApplicationStart to Program.cs", "replace 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
- Security review use cases
Technical details
- Install or run with Copy skill directory
When to use migrating-global-asax Skill
- Use it for security review.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/web/aspnet/migrating-global-asax/SKILL.md
What it does
Migrates Global.asax application lifecycle events to ASP.NET Core middleware, startup configuration, and Program.cs. Use when upgrading ASP.NET Framework apps containing Global.asax or Global.asax.cs files. Triggers for "migrate Global.asax", "convert application events", "move ApplicationStart to Program.cs", "replace
Skill instructions
Global.asax to ASP.NET Core Migration Overview Converts Global.asax.cs application lifecycle event handlers into ASP.NET Core equivalents: service registration in Program.cs, custom middleware, and built-in middleware configuration. Workflow Migration Progress: - [ ] Step 1: Verify Global.asax exists - [ ] Step 2: Audit event handlers - [ ] Step 3: Triage each event - [ ] Step 4: Convert events using mapping - [ ] Step 5: Add required using statements - [ ] Step 6: Remove Global.asax files - [ ] Step 7: Verify build and behavior Step 1: Verify Global.asax Exists Check if the project still has Global.asax.cs. If not, inform the user there is nothing to migrate and stop. Step 2: Audit Event Handlers Inventory all application events in Global.asax.cs: - ApplicationStart - ApplicationEnd - ApplicationError - ApplicationBeginRequest / ApplicationEndRequest - SessionStart / SessionEnd - Any custom event handlers Step 3: Triage Each Event Determine whether each event is still needed. ASP.NET
Explore related resources
Frequently asked questions
What is migrating-global-asax?
migrating-global-asax is a open-source AI agent skill with Copy skill directory. Migrates Global.asax application lifecycle events to ASP.NET Core middleware, startup configuration, and Program.cs.
Who is migrating-global-asax best for?
migrating-global-asax is best for reusing agent instructions, scripts, and references, security review workflows.
How do I install migrating-global-asax?
Install or run migrating-global-asax using Copy skill directory. Check migrating-global-asax for the latest setup command.
Is migrating-global-asax actively maintained?
migrating-global-asax may need a closer maintenance check before production use.
Auto-fetched from GitHub.