Functional Error Handling in .NET With the Result Pattern
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 ...
Page 17 of 23. Practical .NET and software architecture lessons.
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 ...
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...
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...
NServiceBus is a feature-rich messaging framework supporting many different message transports. Its basic building blocks are messages and endpoints. ...
I consider input and business validation differently, and each deserves a specific solution. I want to show you an elegant solution for validation usi...
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 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...
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...
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...
Designing effective communication between services is one of the challenges of working with distributed systems. More centralization or less? More cou...
Join 66,000+ readers of The .NET Weekly for practical tips and resources to improve your .NET and software architecture skills.