Clean Architecture with ASP.NET Core 2.2
summary
Clean Architecture implemented on ASP.NET Core 2.2 with a runnable Northwind Traders sample that targets Windows, Mac and Linux and uses EF Core 2.2 (code-first, seeded data). Uses CQRS with Mediator pipeline behaviors for automatic FluentValidation, request logging and a 500ms performance warning, value objects with custom domain exceptions, Fluent API mappings instead of data annotations, NSwag/msbuild to generate an Angular TypeScript client from OpenAPI, and a simple infrastructure layer; the sample runs and the design is intentionally framework-independent.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:18Architecture overview
- 4:45Project structure tour
- 8:44Domain layer
- 15:50Application layer
- 28:12Persistence layer
- 35:26Infrastructure layer
- 38:54Presentation layer
- 48:29Resources and conclusion
related talks
41mEmbracing Architectural Challenges in the Modern .NET World
01h 04mTales from the .NET 8 Migration Trenches
38mImplementing Domain-Driven Design as a Pragmatic Developer
01h 00m.NET Rocks Live – Modernizing .NET Applications
19mClean Architecture: A Solution to Improve System Maintainability
31mLiving in a Hybrid World
01h 01mThree Rewrites, One Startup - An Architect’s Journey
53mPowering 100+ million daily users
