Chapter 4: Applying Clean Architecture to an ASP.NET Core Solution
With the previous chapter still fresh in your memory, this is the chapter where you will apply clean architecture to an ASP.NET Core 5 solution. This chapter teaches you the real-world organization of files, folders, projects, and ASP.NET Core app dependencies, preparing you for future big and scalable ASP.NET Core 5 enterprise applications.
Organizing your code, files, and folders helps other developers to understand your code, refactor it, and add future features, something that happens most of the time in a real-world application.
We will cover the following topics:
- Introducing clean architecture
- The core layer
- The infrastructure layer
- The presentation layer
- Managing the
Tests
folder - Structuring a clean architecture solution