dbcontext-and-services
OfficialManage EF Core DbContext lifecycles and DI.
Software Engineering#lifetimes#dependency-injection#efcore#service-registration#dbcontext#core-services#dependencies-pattern
Authordotnet
Version1.0.0
Installs0
System Documentation
What problem does it solve?
EF Core DbContext and DI service infrastructure guidance for consistent lifecycle management across apps.
Core Features & Use Cases
- Centralized DbContext lifecycle handling and DI service registration patterns.
- Demonstrations of the Dependencies pattern using sealed records for dependencies.
- Guidance on DbContext pooling, lifetimes, and CoreServices dictionary usage.
Quick Start
Configure a DbContext with generic registration patterns and a DI container setup to enforce scoped lifetimes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: dbcontext-and-services Download link: https://github.com/dotnet/efcore/archive/main.zip#dbcontext-and-services Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.