Creating a Write-Only Data Referential Service
Now that the overall skeleton of the information system and, in particular, its common services are in place, we are going to dig a bit deeper into the technology and write some code for a service that we are not going to be able to get off the shelf, namely the Master Data Management system. In Chapter 5, we introduced the concept of a data referential service. In Chapter 10, we saw what master data management is about and what kinds of data referential services exist. In this chapter, we will transform the concepts into .NET code. It should be clear from what was presented before that we will use some kind of clean architecture, with the business domain being the most important part of the code. We will, of course, also separate the responsibilities of persisting, querying, and indexing the data, and use the right tool for each use case.
The chapter starts with an analysis of SQL’s limitations and the reason why NoSQL can be...