-
Book Overview & Buying
-
Table Of Contents
Clean Architecture with .NET
By :
Now that we've mapped our architectural layers to class libraries, it's time to connect them in a way that enforces the separation of concerns defined by Clean Architecture. In this section, we'll look at a dependency diagram to see how the layers fit together and then walk through setting up the correct project references. Along the way, we'll explore practical examples—such as how Microsoft structures its NuGet libraries—and talk about managing interfaces, third-party dependencies, and layer boundaries using mapping tools. By the end, you'll have a clear picture of how to structure your references so that each part of the application stays focused and decoupled.
To keep our architecture clean and maintainable, we need to configure project references so that each layer only depends on those below it. Our solution now includes distinct projects—...