Software Architecture

Handling long-running operations with Azure Durable Entities

Long-running operations. Everyone, at some point in their career, has to face a time-consuming task. And on many occasions you also need to know what’s the status and what’s going on right now. Did it fail? Did it complete successfully? Today we’re going to see a simple way to execute a long-running operation and keep […]

Event Sourcing on Azure – part 1: architecture plan

Hi All! With this post, we’ll start a new Series about Event Sourcing on Azure. We’re going to talk a bit about the pattern, general architecture, and the individual building blocks. Then in the next posts, we’ll dig more and see each one in detail. If you’re a regular reader of this blog, you might […]

MediatR: how to use Decorators to add retry policies

Hi All! Today we’ll see an interesting technique to add retry policies to MediatR. It can actually be used also for other types of policies (fallback, circuit breaker, and so on), but we’ll focusing on retries to keep things simple. As you might have guessed, this “magic trick” involves the use of the Decorator Pattern. […]

Event Sourcing in .NET Core – part 5: offline consumers

Ok so apparently last time I lied. Or at least I lied to me: it wasn’t the last episode of the Event Sourcing series 🙂 This time we’re going to see how we can implement offline consumers for our integration events. My SuperSafeBank repo was still calling me and I knew there were other things […]

Event Sourcing in .NET Core – part 4: query models

Hi All! Welcome to the fourth part of the series about Event Sourcing. This time we’ll see how we can leverage the events to refresh our Query Models. The last time we saw how we can make use of a message queue to publish domain events to other interested parties. As I mentioned last time, […]

Scroll to top