Revision
Cheat sheets
Data Access in .NET cheat sheets
6 resultsClear filters
- PDFFull Access
ASP.NET Core Cache Correctness Lab Companion
A worked .NET 10 lab on tenant-safe keys, expiration and stale fills, and bounded concurrent cache misses. Includes complete projects, deterministic checks, expected outputs, and applied explanations for the Cache Correctness course.
40 pages · 147 KB · Data Access in .NET
- NoteFree
Cache Keys, Tenant Boundaries, and Cache-Aside Reads
Learn how to design cache keys that isolate tenants and users, and how cache-aside reads improve performance without ever replacing authorization checks.
Data Access in .NET
- NoteFull Access
Absolute and Sliding Expiration with Invalidation Races
Learn how absolute and sliding expiration control cache-entry lifetime, why each one can go wrong under real traffic, and how invalidation races create stale-data windows during concurrent reads and writes.
Data Access in .NET
- NoteFull Access
Concurrent Cache Misses and Bounded Stampede Protection
When many requests miss the same cache key at once, they can all fall through to the database and amplify load. This lesson shows how to cap the rebuild work without assuming distributed locking.
Data Access in .NET
- ArticleFree
Stable Pagination in .NET APIs: Offset Drift, Keyset Cursors, and Tie Breakers
Compare offset drift and keyset cursors with deterministic tie breakers, worked C# examples, and explicit limits around mutations, query context, snapshots, and delivery guarantees.
Data Access in .NET
- ArticleFree
How to Diagnose and Fix EF Core N+1 Queries in Production
A production-focused playbook for detecting EF Core N+1 queries, choosing projection or Include deliberately, reading SQL plans, applying scalable pagination, and preventing regressions.
Data Access in .NET