design patterns

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. […]

Blazor GameDev – part 5: composition

Hi All! Welcome back to part 5 of our Blazor 2d Gamedev series. Today we’ll see how we can move away from procedural code using composition. Last time we saw how easy it is to load a sprite and move it across the screen. The issue with this solution is that things will get awkward […]

Improving HTTP resilience in Blazor webassembly

Hi All! Today I decided to take a quick break from my Blazor gamedev series and talk about resilience. We’ll see how to call a REST API from a Blazor webassembly app using an HTTP Client and how to handle errors using Polly. As usual, I’ve pushed a sample repository on GitHub, feel free to […]

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 […]

Scroll to top