All articles
Topic

.NET Deep Dives

Practical C# and ASP.NET Core patterns from production experience — performance, architecture, and the traps in between.

7 articles
Sep 11, 2026.NET

Nullable Reference Types in C#: A Practical Migration Guide for Legacy Code

Enable nullable reference types in an existing .NET project without drowning in warnings: a file-by-file migration strategy, annotations, and pitfalls.

Advanced4 min read
Sep 1, 2026.NET

Minimal APIs vs Controllers in ASP.NET Core: What I Pick and Why

Minimal API vs controller in ASP.NET Core: performance, filters, validation, testability and team fit — a senior engineer’s practical decision guide.

Intermediate4 min read
Aug 25, 2026.NET

C# Records vs Classes vs Structs: A Decision Guide With Examples

When to use a C# record vs class vs struct: value equality, immutability, allocation behavior, and a practical decision tree with real code examples.

Intermediate5 min read
Aug 14, 2026.NET

LINQ Performance: When It's Slow and What to Do About It

LINQ performance best practices from production .NET: multiple enumeration, Count vs Any, allocation costs, and when a plain loop beats a query.

Advanced5 min read
Aug 7, 2026.NET

Fixing the N+1 Query Problem in Entity Framework Core

Diagnose and fix the EF Core N+1 query problem with Include, projections and split queries — plus how to catch lazy-loading traps before production.

Intermediate4 min read
Jul 28, 2026.NET

Dependency Injection in .NET: Lifetimes, Captive Dependencies, and Other Traps

Understand .NET DI service lifetimes — singleton, scoped, transient — and avoid captive dependencies, memory leaks and threading bugs in ASP.NET Core.

Advanced5 min read
Jul 21, 2026.NET

Async/Await in C#: 8 Mistakes Even Experienced Developers Make

Learn the most common async await C# mistakes — async void, .Result deadlocks, missing ConfigureAwait and more — with fixes from production code.

Intermediate5 min read