Replace a legacy system gradually instead of all at once. The Strangler Fig pattern lets a new system grow around the old one, one feature at a time, until the legacy code can be safely retired.
Replace growing if-else chains with clean, swappable algorithms. The Strategy pattern makes pricing rules, discounts, and business logic easier to test and extend.
Add logging, caching, or retry logic without touching your core classes. The Decorator pattern wraps behavior around existing code while keeping everything testable.
A practical guide to Dependency Injection and Inversion of Control in C#. Covers constructor injection, composition roots, lifetimes, containers, testing, and when DI is overkill.
A Modern Take on Request/Response Dispatching for .NET Hello World! I’ve been working on a side project that I wanted to share with you all. After MediatR went to a paid model, I’m sure you heard all about that?