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

Implementing The Saga Pattern With Rebus And RabbitMQ
April 1, 2023
Designing long-lived processes in a distributed environment is an interesting engineering challenge. A Saga is a sequence of local transactions, each ...

How To Publish MediatR Notifications In Parallel
March 25, 2023
MediatR supports the publish-subscribe pattern with notifications, and until recently the handlers subscribing to an INotification could only execute ...

Creating Data-Driven Tests With xUnit
March 18, 2023
Data-driven testing is where test data comes from an external source, which is why it's also known as parameterized testing. I'm going to show you fou...

Using Multiple EF Core DbContexts In a Single Application
March 11, 2023
It's common to have only one DbContext for the entire application. But what if you need multiple DbContexts? We're going to explore when you may want ...

How To Apply Functional Programming In C#
March 4, 2023
Although C# is object-oriented, it has plenty of functional features: pattern matching, switch expressions, records. And if you use LINQ, you're alrea...

Outbox Pattern For Reliable Microservices Messaging
February 25, 2023
How can you implement reliable communication between components in a distributed system? The Outbox pattern is an elegant solution, giving you transac...

Structured Logging In ASP.NET Core With Serilog
February 18, 2023
Serilog is a popular .NET logging library, and what makes it unique is structured logging out of the box. Apply the same message format to every log a...

Messaging Made Easy With Azure Service Bus
February 11, 2023
Loose coupling is an important quality in a distributed system, and you need a messaging system to get it. Azure Service Bus is an excellent choice. I...

Working With Transactions In EF Core
February 4, 2023
Every software engineer working with SQL databases needs to know about transactions. And since the database is usually abstracted by an ORM like EF Co...

How To Implement API Key Authentication In ASP.NET Core
January 28, 2023
In this week's newsletter I want to show you how to implement API Key authentication in ASP.NET Core, with the API key passed in a request header. Thi...
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.