Latest from the blog
Static methods considered evil?
Are static methods good or bad? Over the course of my career I did a full circle on this topic. In this article, I’ll try to describe this evolution and the reasoning behind it.
Always-Valid Domain Model
I’m working on a new Pluralsight course on the topic of validation and DDD, with the help of the FluentValidation library and .NET data annotations (attributes). So expect a couple of posts about validation in the near future.
How to handle unique constraint violations
Today, we’ll discuss how to best handle unique constraint violations.
C# 9 Records as DDD Value Objects
Today, we’ll talk about the new C# 9 feature, Records, and whether or not they can be used as DDD value objects.
Domain model purity and lazy loading
This is the final article in the domain model purity series, where we’ll discuss this subject in the context of lazy loading.