migrating-ef-dbcontext Skill
Migrates Entity Framework DbContext registration from Global.asax/Startup to ASP.NET Core dependency injection in Program.cs. Handles both EF6 (classic Entity Framework) and EF Core patterns including connection string migration, DI registration, and database initializer/seeding migration. Use when upgrading ASP.NET to Published by microsoft in upgrade-agent-plugins.
Decision snapshot
Is this a fit?
Database workflows, Research, Includes SKILL.md, Reusable instructions
Compatibility not yet detected.
Permission behavior not yet detected.
Copy skill directory
2 months ago · NOASSERTION license
No specific cautions were detected. Review the source and requested permissions before installing.
What is migrating-ef-dbcontext Skill?
Migrates Entity Framework DbContext registration from Global.asax/Startup to ASP.NET Core dependency injection in Program.cs. Handles both EF6 (classic Entity Framework) and EF Core patterns including connection string migration, DI registration, and database initializer/seeding migration. Use when upgrading ASP.NET to 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. See how SkillIndex evaluates profiles.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Database workflows
- Research
- Database workflows use cases
- Research use cases
Declared skill metadata
- Source file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/data/migrating-ef-dbcontext/SKILL.md
These fields retain source and confidence evidence from the indexed SKILL.md.
Compatibility and setup
- Install or run with Copy skill directory
When to use migrating-ef-dbcontext Skill
- Use it for database workflows.
- Use it for research.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/data/migrating-ef-dbcontext/SKILL.md
What it does
Migrates Entity Framework DbContext registration from Global.asax/Startup to ASP.NET Core dependency injection in Program.cs. Handles both EF6 (classic Entity Framework) and EF Core patterns including connection string migration, DI registration, and database initializer/seeding migration. Use when upgrading ASP.NET to
Skill instructions
Entity Framework DbContext Registration Migration Overview Migrates DbContext initialization from legacy ASP.NET patterns (Global.asax, Startup.cs) to ASP.NET Core DI in Program.cs. The registration pattern differs between EF6 and EF Core — this skill handles both, including the decision point when a project uses both simultaneously. Prerequisites Verify the project uses Entity Framework before proceeding. Search for DbContext subclasses in the codebase and check NuGet references for EntityFramework or Microsoft.EntityFrameworkCore. If neither is found, skip and inform the user. Shared-database check (do this first) Before changing any registration, determine whether the .NET Framework host stays live against the same database. Check whether the old project's .config and the new host's configuration resolve to the same database, and whether the old host is still deployed. If they share a database, load managing-shared-database-schema now and follow it — getinstructions(kind='skill', qu
Verified compatibility and discovery
Frequently asked questions
What is migrating-ef-dbcontext?
migrating-ef-dbcontext is a open-source AI agent skill with Copy skill directory. Migrates Entity Framework DbContext registration from Global.asax/Startup to ASP.NET Core dependency injection in Program.cs.
Who is migrating-ef-dbcontext best for?
migrating-ef-dbcontext is best for reusing agent instructions, scripts, and references, database workflows, research workflows.
How do I install migrating-ef-dbcontext?
Install or run migrating-ef-dbcontext using Copy skill directory. Check migrating-ef-dbcontext for the latest setup command.
Is migrating-ef-dbcontext actively maintained?
migrating-ef-dbcontext may need a closer maintenance check before production use.
Project health auto-fetched from the source repository.
Maintain this resource?
Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.