filmov
tv
Clean Architecture in .NET Applications Using CQRS and MediatR
![preview_player](https://i.ytimg.com/vi/gpf6AIImloU/maxresdefault.jpg)
Показать описание
In this video, I will talk about Clean Architecture in .NET, its implementation, and its advantages.
Clean Architecture is a pattern aimed at building applications that we can maintain, scale, and test easily.
It achieves this by separating the application into different layers that have distinct responsibilities:
Domain Layer – that represents the application’s core business rules and entities. This is the innermost layer and we should mostly avoid any external dependencies.
Then, The application layer sits just outside the domain layer and acts as a middleman between the domain layer and other layers. In other words, it contains the use cases of the application and we expose the core business rules of the domain layer through the application layer. This layer depends just on the domain layer.
Next, we have an Infrastructure Layer – where we implement all the external services like databases, file storage, emails, etc. It contains the implementations of the interfaces defined in the domain layer.
Finally, The presentation layer handles the user interactions and fetches data to the user interface.
LINKS MENTIONED IN THE VIDEO
FOLLOW US ON SOCIAL MEDIA!
Комментарии