·database-performance
</>

database-performance

aaronontheweb/dotnet-skills

Database access patterns for performance. Separate read/write models, avoid N+1 queries, use AsNoTracking, apply row limits, and never do application-side joins. Works with EF Core and Dapper.

32Installs·2Trend·@aaronontheweb

Installation

$npx skills add https://github.com/aaronontheweb/dotnet-skills --skill database-performance

SKILL.md

Read and write models are fundamentally different - they have different shapes, columns, and purposes. Don't create a single "User" entity and reuse it everywhere.

Never return unbounded result sets. Every read method should have a configurable limit.

EF Core's change tracking is expensive. Disable it for read-only queries.

Database access patterns for performance. Separate read/write models, avoid N+1 queries, use AsNoTracking, apply row limits, and never do application-side joins. Works with EF Core and Dapper. Source: aaronontheweb/dotnet-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill database-performance
Category
</>Dev Tools
Verified
First Seen
2026-02-05
Updated
2026-02-18

Quick answers

What is database-performance?

Database access patterns for performance. Separate read/write models, avoid N+1 queries, use AsNoTracking, apply row limits, and never do application-side joins. Works with EF Core and Dapper. Source: aaronontheweb/dotnet-skills.

How do I install database-performance?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/aaronontheweb/dotnet-skills --skill database-performance Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/aaronontheweb/dotnet-skills