Skill / SKILL.md

Optimizing Ef Core Queries

dotnet/skills

Review and optimize application data access that uses Entity Framework Core (EF Core). Use for EF Core performance and correctness reviews of services, repositories, imports, and background jobs: slow or memory-heavy queries, excessive round-trips, hidden SaveChanges, premature materialization, dynamic query construction, result-graph tracking, bulk writes, DbContext lifetime or overlapping operations, search semantics, paging, raw SQL, and model/index coverage. Use whether or not EF Core owns the schema. For EF Core, not Dapper or raw ADO.NET.
2 views 6,410 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Review and optimize application data access that uses Entity Framework Core (EF Core). Use for EF Core performance and correctness reviews of services, repositories, imports, and background jobs: slow or memory-heavy queries, excessive round-trips, hidden SaveChanges, premature materialization, dynamic query construction, result-graph tracking, bulk writes, DbContext lifetime or overlapping operations, search semantics, paging, raw SQL, and model/index coverage. Use whether or not EF Core owns the schema. For EF Core, not Dapper or raw ADO.NET.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/dotnet/skills' skill-source

Use the complete skill-source/plugins/dotnet-data/skills/optimizing-ef-core-queries directory with your client’s skill installer.

  • plugins/dotnet-data/skills/optimizing-ef-core-queries

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/dotnet-data/skills/optimizing-ef-core-queries

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
1210baf69123684ba40db32df226df736dfaad83d910fc030782aff3ea38159f
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills