Skip to content

wesleey/dotnet-clean-architecture

Repository files navigation

.NET Clean Architecture

  • Domain Layer: Contains the business entities and rules that govern the behavior of the system. This layer is independent of any frameworks or libraries.

  • Application Layer: Manages application logic, orchestrating data flow between layers and handling use case execution. It can also include interfaces to external services.

  • Infrastructure Layer: Implements the interfaces defined in the application layer, dealing with data persistence, third-party services and other implementation details. This is where you can find repository implementations, database access, and service configuration.

  • Presentation Layer: Responsible for interaction with the user, whether through an API, a web application or a graphical interface. This layer uses the application layer to execute the use cases.

Credits