Skip to content
0:00 / 0:00

#cleanarchitecture#cqrs#ddd

Mini Course #1 Clean Architecture + CQRS

DevMentors EN

14K subscribers • 15 videos on Hallway

YouTube
  • Recommended by 3 people: 3 in engineering communities.
  • A classic. People kept recommending it from 2021 to 2025.
  • Linked in the descriptiondevmentors/PackIT

Intermediate. Assumes working knowledge.

131K views4 years ago3 recommendations

Software designProgramming languagesSoftware architectureDesign patternsDomain-driven design

This comprehensive nine-hour course teaches Clean Architecture, CQRS, and Domain-Driven Design principles using a practical C# project.

CQRS + Clean architecture in-depth, hopefully you're going to enjoy it! :) More content at: devmentors.io Join our Discord: devmentors.io/discord Follow us: twitter.com/dev_mentors instagram.com/devmentors facebook.com/devmentors Source Code: github.com/devmentors/PackIT Course Trailer: youtu.be/UMeVYwCRzB8 =========== Timecodes - Intro - Why do we record this course? - Layered architecture: Why I don't like it anymore? - Clean architecture - Course prerequisites (still can't pronounce it correctly) - What do we build? - *Domain Layer* - Entity - Primitive obsession code smell - Value Object - Custom exceptions - Domain model validation - Aggregate - Domain event - Factory - Policy - Repository - Domain Layer: Summary - CQS: Command Query Separation - CQRS: Command Query Responsibility Segregation - *Application Layer* - Command/Command Handler/Command Dispatcher definitions - Automatic command handlers registration - Application & Domain registration - Command - Command Handler - Where to put methods related to reading? - Read Service - Weather Service - Overview of the other commands & command handlers - Query/Query Handler/Query Dispatcher definitions - Automatic query handlers registration (BONUS: example of copy/paste pattern) - How to tackle reading on Query side? - *Infrastructure Layer* - Configuration of Entity Framework Core - Read Models - ReadDbContext & WriteDbContext - EF Entity Configuration - DbContexts registration - Query Handlers - Repository implementation on top of EF Core - Read Service implementation on top of EF Core - Dummy Weather Service implementation - EF Migration - Applying EF migrations automatically - *Presentation Layer* - Controller - How to return ID of resource in CQRS approach? - Testing API - *Cross Cutting Concerns* - Error Handling - Logging - *Unit Testing* - Unit Test on Domain Layer - Unit Test on Application Layer - Summary

Why it's here

3 people recommend this

What people say. Highly recommended as an in-depth, practical guide to learning CQRS, Clean Architecture, and Domain-Driven Design.

u/spetz0in r/dotnet • Recommends

On “Why do I distrust people who talk about Clean Architecture?”

Regarding PackIT - it would be fair if you'd have linked back the video of the person who did record and implement this, explaining in-depth all the pros & cons, tradeoffs, decision etc. [video Maybe then you'd have realized why some parts are (or aren't) using the particular design patterns, structure, where the tradeoffs been made etc. and why it's even clearly mentioned that's a simplified sample to just give the guidance to such approach. But yeah, it's easier to just post an arbitrary link, yell that someone uses buzzwords, fork your repo with custom comments acting as a grandmaster (once again, without referring at all to the original content) and start bashing and swearing :) A…

u/imikhan007in r/dotnet • Recommends

On “DDD Learning resource”

I found this course helpful.

u/spetz0in r/dotnet • Recommends

On “CQRS - clarifications”

Hey, Feel free to check out a "mini-course" (almost 9 hours) made by a friend of mine about CQRS, CA and other fancy buzzwords - maybe this will help to clarify some of your answers :) link to this video

u/JustBeingDylanin r/dotnet • Recommends

On “If you were to create a Web API today from scratch how would you do it ?”

link to this video

u/imikhan007in r/dotnet • Recommends

On “Separation of the domain model from the EF Core data model”

After watching so many videos, reading blogs, I find this video on DDD extremely helpful. Take a look. Mini Course #1 Clean Architecture + CQRS

u/spetz0in r/dotnet • Recommends

Mini Course #1 Clean Architecture + CQRS

u/spetz0in r/dotnet • Recommends

Clean Architecture + CQRS + DDD Building Blocks 9 hours long "mini-course"