migrating-ef-dbcontext

Official

Streamline Entity Framework DbContext migration to ASP.NET Core

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of migrating Entity Framework DbContext registrations from legacy ASP.NET patterns to ASP.NET Core's dependency injection in Program.cs, supporting both EF6 and EF Core.

Core Features & Use Cases

  • DbContext Registration: Handles registration of DbContext in Program.cs for both EF6 and EF Core.
  • Connection String Migration: Moves connection strings from web.config/app.config to appsettings.json.
  • Database Initialization: Migrates database initialization and seeding logic to Program.cs.
  • Use Case: Ideal for upgrading ASP.NET to ASP.NET Core projects that require DbContext migration and connection string management.

Quick Start

Migrate DbContext registration for your project to ASP.NET Core using the migrating-ef-dbcontext skill.

Dependency Matrix

Required Modules

None required

Components

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

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.