Writing
Notes
Short-form notes on .NET, Azure, architecture, and things I learn along the way.
Why AsNoTracking() matters more than you think
Entity Framework Core's change tracker is powerful but not free. Benchmarking a read-heavy endpoint showed a 40% throughput gain after switching to AsNoTracking() on queries that never needed to write back.
Azure Durable Functions: orchestration vs. fan-out
When a simple timer trigger isn't enough and you need coordinated, stateful workflows — Durable Functions fill the gap without requiring an external workflow engine.
Clean Architecture in practice: what I actually use
Not everything from the textbook survives contact with a real project. Here's what I keep, what I simplify, and one anti-pattern I see repeated constantly.
Integration tests with TestContainers in .NET
Spinning up a real SQL Server or Redis instance inside your test run used to be painful. TestContainers for .NET makes it surprisingly clean, and the confidence gain over mocks is real.