A solution template based on the Onion Architecture
In this section, we describe a solution template based on the Onion Architecture that we will use throughout the remainder of the book, which you can find in the ch03 folder of the book’s GitHub repository (https://github.com/PacktPublishing/Practical-Serverless-and-Microservices-with-Csharp). This template shows how to put into practice what you have learned about the Onion Architecture.
The solution contains two .NET library projects, called ApplicationServices and DomainLayer, which implement, respectively, the application services and domain layers of an Onion Architecture:

Figure 3.4: Solution template based on the Onion Architecture
As prescribed by the Onion Architecture, the ApplicationServices project has a reference to the DomainLayer architecture project.
In ApplicationServices, we added the following folders:
Queriesto place all queries and query interfacesCommandsto place...