Entity Identity vs Database Primary Key

Today, we’ll discuss the difference between identity in the DDD sense and database primary keys. We often mix the two together but are they really the same thing?

EF Core 2.1 vs NHibernate 5.1: DDD perspective

That was probably a long wait for those of you who follow my blog. But, better late than never, so here it is: another comparison of Entity Framework and NHibernate, in which I bash EF Core and present it as an unbiased review. Just kidding, I do try to be unbiased here to the best of my skills.

Value Objects and Identity

Today’s article is an answer to a reader’s question about the use of Value Objects to represent the identity of an entity.

Non-determinism in tests

This is the final post in my series about unit testing anti-patterns. This one is about non-determinism in tests.

Overriding methods in classes-dependencies

I’m continuing my unit testing anti-patterns article series. Today, we will talk about overriding methods in classes-dependencies.

New course: Domain-Driven Design: Working with Legacy Projects

My new training course Domain-Driven Design: Working with Legacy Projects went live.

NHibernate supports .NET Core 2.0

Good news everyone! NHibernate 5.1 is released with the support of .NET Core 2.0 and .NET Standard 2.0.

Code pollution

This is another post from my unit testing anti-patterns article series. Today, we will talk about code pollution.

Value Objects and Error Messages

I haven’t done one of these for a while. This post is a review of a code submitted by a reader.

Using Value Objects to represent technical concerns

I was asked a question recently which I find quite interesting. It is actually a part of a code review request (which I’ll cover next week) but I decided to elevate it to its own blog post.