user@runtime:~/blog$ grep -l "best-practices" posts/*.md

best-practices

4 posts tagged with best-practices.

2026-03-28 8m

TimeProvider: Finally, Testable Time in .NET

How System.TimeProvider in .NET 8 replaces years of IClock wrappers with a first-class abstraction for testable, deterministic time — and how FakeTimeProvider makes testing time-dependent code straightforward.

2026-01-08 4m

Dockerfile Best Practices for .NET Projects

Practical Dockerfile patterns that improve build speed, image size, and security for .NET applications.

2025-12-22 4m

CancellationToken Best Practices in .NET

Learn how to properly propagate, link, and respond to CancellationTokens throughout your async .NET code.

2025-12-04 4m

ConfigureAwait Explained: When and Why It Matters

Understand what ConfigureAwait(false) actually does, when to use it, and why library authors care about it more than application developers.