The 10 .NET Concepts Every Interviewer Checks
Across hundreds of .NET interviews the same concepts come up because each one branches into a useful conversation. Know these ten and the thread each one opens.
- Value vs reference types → boxing → why generics exist.
- IEnumerable vs IQueryable → deferred execution → where the filter runs (memory vs database).
- async/await → “does it create a thread?” (no, for I/O) → why it helps server throughput.
- Dependency Injection → loose coupling → IoC → service lifetimes.
- Service lifetimes → Transient vs Scoped vs Singleton → why
DbContextis scoped → captive dependency. - The ASP.NET Core pipeline → middleware ordering → “where does authentication go?”
- Indexes → clustered vs non-clustered → key lookup → covering index.
- Execution plans → seek vs scan → estimated vs actual rows → stale statistics.
- EF change tracking →
AsNoTracking→ N+1 → projection into a DTO. - A scenario question → your method for reasoning under uncertainty.
Each of these has a full answer, a spoken version and its follow-up chain on Prismita. Work through one thread a day.