Clean Architecture in .NET Applications Using CQRS and MediatR

Published: 18 April 2024
on channel: Code Maze
3,436
78

►► Check out our courses: https://bit.ly/cdmz-courses
►► Support us on Patreon and get the source code:   / codemaze  

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
►► Onion Architecture -    • Onion Architecture in ASP.NET Core  
►► Repository Pattern -    • Repository Pattern In ASP.NET Core We...  
►► CQRS and Mediatr Queries -    • CQRS And MediatR in ASP.NET Core -  I...  
►► CQRS and Mediatr Commands -    • CQRS And MediatR In ASP.NET Core -  C...  

FOLLOW US ON SOCIAL MEDIA!
►►   / marinko-spasojevic  
►►   / codemazeblog  
►►   / codemazeblog  


Watch video Clean Architecture in .NET Applications Using CQRS and MediatR online without registration, duration hours minute second in high quality. This video was added by user Code Maze 18 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,436 once and liked it 78 people.