-
Book Overview & Buying
-
Table Of Contents
Clean Architecture with .NET
By :
In this chapter, we laid the groundwork for a Clean Architecture application using Blazor Server. We created project directories, set up the web application, and organized the project structure into distinct layers. We emphasized the importance of clear boundaries and separation of concerns and explored the concepts of rich and anemic domains.
We explored the Common layer, addressing cross-cutting concerns and promoting well-organized code. We configured the project for Clean Architecture, enforcing layer boundaries through project references and avoiding circular dependencies. We discussed the significance of depending upon abstractions and avoiding third-party dependencies in the Core layer.
Mapping between layers is a crucial aspect of maintaining Clean Architecture. We introduced AutoMapper as a powerful mapping library and demonstrated its usage in bridging the gap between layers. Additionally, we highlighted alternative mapping libraries and options for readers to consider...