Working with a sample application
We need a sample application to demonstrate DDD concepts. The word application can have various meanings in your project. It can be one of the following:
- A single microservice that is part of a larger application
- A monolith application that is a standalone application
This chapter will use a monolith application, as it is easier to explain the concept and the context will be clearer. So, we’ll focus on the specifics of DDD rather than diverging into a more complex architecture.
Let’s take a blog application as an example. A DDD-style blog application might look like this in Microsoft Visual Studio (VS):
Figure 7.1 – A blog application in VS
UQS is our fictitious company’s initials, standing for Unicorn Quality Solutions. These projects have the following dependencies on each other:
Figure 7.2 – Project dependencies
Nothing special here: this is...