Clean Architecture with ASP.NET Core 2.2
summary
Clean Architecture implemented on ASP.NET Core 2.2 with a Northwind Traders demo shows a working solution: core layers (domain + application) hold business logic, persistence uses Entity Framework Core 2.2 with provider swaps to Postgres, and presentation is an Angular SPA. Command/query handlers use MediatR + CQRS with pipeline behaviors for validation/logging, FluentValidation for rules, EF InMemory for tests, and NSwag generated Angular client from OpenAPI; controllers stay thin and the repo pattern is optional.
AI-written summary · about
chapters (17)
- 0:00Intro
- 6:17Domain
- 11:42Application Layer
- 12:13CQRS
- 12:53Mediator
- 14:04Application
- 19:45Key Points
- 24:47Persistence
- 25:05Unit of Work and Repository Patterns
- 26:37Experts on Repository Patterns
- 27:58Persistence Layer
- 31:14Infrastructure
- 32:12Infrastructure Layer
- 34:24Presentation Layer
- 35:05Controller Tour
- 40:14Questions
- 44:18Open API
related talks
01h 02mImplementing the Clean Architecture in .NET Core
01h 07mClean Architecture with .NET MAUI, Blazor, and ASP.NET Core
47mUnleashing Clean Architecture in .NET 8
41mEmbracing Architectural Challenges in the Modern .NET World
01h 02mSolid ASP.NET Core
56mWriting simpler ASP.NET Core
49mArchitecting Blazor applications – An Angular inspired approach
45mModular Web Applications with ASP.NET Core
