Guided course · Data: SQL Server and EF Core
EF Core for .NET Developers: Performance, Data Correctness and Migrations
- How EF Core runs queries and saves data, explained for interviews.
- Query translation, change tracking, model mapping and updates from an API.
- N+1, split queries, compiled queries and bulk updates.
- Concurrency, transactions, retries, global query filters and interceptors.
- Safe migrations, zero-downtime schema changes and a measured tuning workflow.
Intermediate5 modules · 21 lessons · 5 h 54 min · 13 practice tests · 2 free
Module 1 · Foundations
4 lessons · 1 h 10 min- 01How EF Core Runs a Query: Expression Trees, SQL, Logging and ToQueryStringFree, 1 practice test16 min
- 02Change Tracking: Entity States, Snapshots, DetectChanges and the Identity MapFree, 1 practice test18 min
- 03Mapping Your Model in EF Core: Relationships, Inheritance (TPH, TPT, TPC), Value Converters and JSON Columns (included with Full Access), 1 practice test17 min
- 04Updating Data From an API With EF Core: Disconnected Entities, Update vs Attach and Partial Updates (included with Full Access)19 min
Module 2 · Reading Data Efficiently
5 lessons · 1 h 17 min- 05AsNoTracking, Identity Resolution and the Real Cost of Tracking (included with Full Access), 1 practice test15 min
- 06Loading Related Data and N+1: Eager, Explicit, Lazy and Projections (included with Full Access), 1 practice test18 min
- 07Split Queries and Cartesian Explosion: AsSplitQuery vs Single Query (included with Full Access), 1 practice test14 min
- 08Query Translation and Client Evaluation: What EF Can and Cannot Turn into SQL (included with Full Access), 1 practice test16 min
- 09Compiled Queries, the Query Cache and Parameterization (included with Full Access), 1 practice test14 min
Module 3 · Writing Data
4 lessons · 1 h 4 min- 10Bulk Updates and Deletes: ExecuteUpdate, ExecuteDelete and SaveChanges Batching (included with Full Access), 1 practice test16 min
- 11Optimistic Concurrency: Rowversion, Concurrency Tokens and Resolving Conflicts (included with Full Access)18 min
- 12Transactions in EF Core: SaveChanges Atomicity, Explicit Transactions and Savepoints (included with Full Access), 1 practice test15 min
- 13Connection Resiliency: EnableRetryOnFailure, Execution Strategies and Uncertain Commits (included with Full Access), 1 practice test15 min
Module 4 · Production Concerns
7 lessons · 1 h 48 min- 14DbContext Lifetime, Thread Safety, Pooling and IDbContextFactory (included with Full Access)16 min
- 15Raw SQL in EF Core: FromSql, SqlQuery, ExecuteSql and SQL Injection (included with Full Access)14 min
- 16Global Query Filters in EF Core: Soft Delete, Multi-Tenancy and Named Filters (included with Full Access)15 min
- 17EF Core Interceptors: Auditing, SaveChanges Hooks and Slow-Query Logging (included with Full Access), 1 practice test15 min
- 18Migrations in Production: Idempotent Scripts, Bundles and Why Not Migrate() at Startup (included with Full Access), 1 practice test17 min
- 19Zero-Downtime Schema Changes With EF Core: Expand/Contract, Backfills and Safe Rollback (included with Full Access)15 min
- 20Performance Diagnostics: Metrics, Logs, Warnings and a Tuning Workflow (included with Full Access)16 min
Module 5 · Practice and Assessment
1 lesson · 35 minTechInterviewNotes Editorial Team ·