Category: Architecture and Design
Using Azure Cosmos persistence with NServiceBus
This post explains how you can use NServiceBus and Azure Cosmos DB persistence together for scalability and reliability.
Updating Cosmos DB document schema
This post explains the pain-points of updating schema in NoSQL and how you can update Cosmos DB schema using custom JSON serializer.
Custom JSON serialization with Azure Cosmos DB SDK
This post explains how you can use custom JSON serializer settings with Cosmos DB using Newtonsoft JSON and System.Text.Json.
An opinionated way to consistent Error Handling in ASP.NET Core
In this post, I have explained an opinionated way to achieve consistent error handling for your ASP.NET Core through Error response object.
Generating client code with NSwag for Enumeration class
This post describes how we can render an Enumeration class as an Enum type in client code with NSwag by implementing Swagger ISchemaFilter.
Enumeration class as query string parameter
In this post, I have explained how you can use an Enumeration class as a query string parameter by creating a custom Model Binder.
Series: Enumeration Classes – DDD and beyond
We typically use Enumeration classes with Domain-Driven Design (DDD). In this series, I will describe how you can use an Enumeration Class beyond DDD.
Introduction to Enumeration Classes
This is the first post in the series: Enumeration classes – DDD and beyond. This post gives an introduction to an Enumeration class.
Integrity of Collections in Domain-Driven Design
The post describes the issues with Collection integrity in DDD and how we can use ImmutableList to avoid manipulating collections outside the Domain.
Running an ASP.NET Core application against multiple DB providers – Part 2
Different approaches we considered to set up integration tests when running against multiple DB providers in ASP.NET Core