Skip to content
0:00 / 0:00

#cleanarchitecture#cqrs#mediatr

Clean Architecture With .NET 6 And CQRS - Project Setup

Milan Jovanović

169K subscribers • 11 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Milan Jovanović

Intermediate. Assumes working knowledge.

305K views4 years ago2 recommendations

Software designSoftware architectureDesign patterns

Milan Jovanović demonstrates how to set up a Clean Architecture project structure in .NET using CQRS and MediatR.

Get the source code for this video for FREE → the-dotnet-weekly.ck.page/ca-setup ☄️ Master the Modular Monolith Architecture: bit.ly/3SXlzSt 📌 Accelerate your Clean Architecture skills: bit.ly/3PupkOJ 🚀 Support me on Patreon to access the source code: patreon.com/milanjovanovic You've heard about Clean Architecture before? In this video, I'm going to show you how to set up the Clean Architecture using .NET 6 and CQRS with MediatR. How I Approach Clean Architecture Folder Structure milanjovanovic.tech/blog/clean-architecture-folder-structure Join my weekly .NET newsletter: milanjovanovic.tech Subscribe for more: youtube.com/c/MilanJovanovicTech?sub_confirmation=1 Chapters Introduction What is the Clean Architecture? Domain layer Application layer Infrastructure layer Presentation layer Outro

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide and playlist for structuring .NET projects using Clean Architecture.

u/JonahL98in r/dotnet • Recommends

On “This is my folder structure what do you think?”

One day I'm going to make a Clean Architecture repository for a starting template, I just haven't gotten around to it yet. I would recommend looking at this playlist it covers most of the things I use.

u/Wizado991in r/dotnet • Recommends

On “In Clean Architecture, is there a way to register Infrastructure DI without referencing the project from the Presentation layer?”

You kinda can but I don't think it's really worth it. You can move your controllers into a class library then in the web application project you reference the class library for the controllers. link to this video This creator goes over how he does it. I haven't done this is my projects though.