Optimizing Ef Core Queries
Optimize and improve the performance of slow Entity Framework Core (EF Core) queries: make them generate less SQL, make fewer database round-trips, and return results faster. Use whenever an EF Core or DbContext query or data-access path is slow or should be made faster — whether or not EF Core owns the database schema. For EF Core, not Dapper or raw ADO.NET.
- Type
- Skill
- Author
- dotnet
- GitHub stars
- 5.7K
- Installs
- 5.7K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/dotnet/skills --skill optimizing-ef-core-queriesAbout this skill
Optimizes slow Entity Framework Core queries so they generate less SQL, make fewer database round-trips, and return results faster. It applies to any EF Core or DbContext data-access path that's slow, whether or not EF Core owns the schema. It's for EF Core specifically, not Dapper or raw ADO.NET.
Summary written with AI assistance from the project's public description.
More from dotnet
Run Tests
Recommend or run the exact `dotnet test` command. ALWAYS use when the user asks to run, filter, or troubleshoot .NET tests or wants the precise com...
by dotnet
Skills
Repository for skills to assist AI coding agents with .NET and C#
by dotnet
DotNext
Agent skills for writing efficient .NET code with the .NEXT libraries
by dotnet
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh