Blouppy

Articles on software engineering. Architecture, security, testing, back end and front end.

Latest article

Messaging

From server-sent events to SignalR in ASP.NET Core and Angular: one hub, groups as topics

Learn how to move a server-sent events stream to one SignalR hub in ASP.NET Core and Angular: groups as topics, the fan-out kept on the bus, the gateway, expiring tokens, a 401 that hides, and tests on every transport.

12 min read

Recent articles

All articles
Architecture

The Unit of Work pattern: one save per use case

Learn the Unit of Work pattern in .NET: why EF Core's DbContext already is one, when to wrap it in a port, and what one commit does, from domain events to the outbox.

4 min read

Architecture

Do you still need a repository on top of EF Core?

Learn what the Repository pattern adds on top of EF Core's DbContext, why the generic repository usually fails, and when a specific port per aggregate is worth its cost.

5 min read

Architecture

Value objects in C# with records

Learn the Value Object pattern in C#: records for equality by value, the with expression and collection traps, mapping with EF Core 10 complex types and JSON, and when a string is enough.

3 min read

Architecture

The Facade pattern in C#: one door to the model

Learn the Facade pattern in C#: what it hides from its callers, how an architecture test makes it the only door to a subsystem, and how it differs from an adapter, a mediator and a god service.

4 min read

Architecture

The Decorator pattern in C#: adding SSO schemes to ASP.NET Core authentication

Learn the Decorator pattern in C# by wrapping ASP.NET Core's IAuthenticationSchemeProvider, register it with the plain Microsoft DI container, and avoid the infinite-recursion trap.

4 min read

Architecture

The Null Object pattern in C#: integrations that run unconfigured

Learn the Null Object pattern in C#: an adapter that stands in for a missing integration, when it should do nothing and when it must fail closed, and how to keep it honest.

4 min read

Browse by topic