The .NET Weekly archive
Page 16 of 22. Practical .NET and software architecture lessons.
Get the next issue by email →Newsletter issues on page 16

Functional Error Handling in .NET With the Result Pattern
October 28, 2023
How should you handle errors in your code? Exceptions are for exceptional situations, and using them for flow control makes the code harder to reason ...

CQRS Pattern With MediatR
October 21, 2023
The CQRS pattern separates the writes and reads in the application, and that separation can be logical or physical. I'm going to show you what CQRS is...

Improving ASP.NET Core Dependency Injection With Scrutor
October 14, 2023
ASP.NET Core's built-in DI system sometimes needs a little help to achieve more advanced scenarios. So I want to introduce you to Scrutor, a library t...

Getting Started With NServiceBus in .NET
October 07, 2023
NServiceBus is a feature-rich messaging framework supporting many different message transports. Its basic building blocks are messages and endpoints. ...

CQRS Validation with MediatR Pipeline and FluentValidation
September 30, 2023
I consider input and business validation differently, and each deserves a specific solution. I want to show you an elegant solution for validation usi...

Monolith to Microservices: How a Modular Monolith Helps
September 23, 2023
You start building a beautiful monolith system, maybe a modular monolith. The system grows, cracks begin to appear, and at last you decide it's time t...

Feature Flags in .NET and How I Use Them for A/B Testing
September 16, 2023
Feature flags let you wrap a feature in a conditional statement and toggle it on or off at runtime, without redeploying the code. I'll cover the Micro...

Solving Race Conditions With EF Core Optimistic Locking
September 9, 2023
I'll challenge you to spot the race condition in a method for reserving a booking, where you can't have two overlapping reservations for the same date...

Testcontainers - Integration Testing Using Docker In .NET
September 2, 2023
Unit tests are helpful, but you can't be fully confident in your application without integration tests. So this week I'll show you how to use Docker f...

Orchestration vs Choreography
August 26, 2023
Designing effective communication between services is one of the challenges of working with distributed systems. More centralization or less? More cou...
Subscribe to the Newsletter
Join 66,000+ readers of The .NET Weekly for practical tips and resources to improve your .NET and software architecture skills.