Skip to content

Sponsor: Using RabbitMQ or Azure Service Bus in your .NET systems? Well, you could just use their SDKs and roll your own serialization, routing, outbox, retries, and telemetry. I mean, seriously, how hard could it be?

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Follow @CodeOpinion

Software Design

The WORST Domain Modeling Mistakes!

What is the worst mistake you can make when modeling a domain? I was asked this question by a member of my channel on our private Discord. Before giving you my answer, I decided to post this to the community for their take. Here are a few that were interesting and that I’m going to elaborate on and give some more insights into why these are common mistakes when modeling a domain. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Theme I asked this question on… Read More »The WORST Domain Modeling Mistakes!

ORMs can lead to FAT domain models. Slim them down!

ORMs and how you persist data can significantly impact your design and lead to fat domain models. Data is critical, but how you capture that data can lead you down a path where you need to realize the compromise you’re making. I will show an example of how not all data is created equal. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. What do you care about? When you’re thinking about a domain and modeling it, what do you care about? Most often, developers focus on… Read More »ORMs can lead to FAT domain models. Slim them down!

Want to build a good API? Here are 5 Tips for API Design.

Want to build better APIs that can evolve over time as your system requires changes? Over time, your API is going to change. It just will evolve, and you don’t want to handcuff yourself. Here are five tips that will help you change your API design over time without creating breaking changes. YouTube Check out my YouTube channel, where I post all kinds of content accompanying my posts, including this video showing everything in this post. Generating Identifiers Where do you generate identifiers? When I say identifier (aka ID), most would be thinking about a database and primary key. It’s typical to… Read More »Want to build a good API? Here are 5 Tips for API Design.