Design Patterns

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

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

Scroll to top