Ardalis Clean Architecture#

A starting point for Clean Architecture with ASP.NET Core. Clean Architecture is just the latest in a series of names for the same loosely-coupled, dependency-inverted architecture. You will also find it named hexagonal, ports-and-adapters, or onion architecture.

Learn more about Clean Architecture and this template in NimblePros’ Introducing Clean Architecture course. Use code ARDALIS to save 20%.

This architecture is used in the DDD Fundamentals course by Steve Smith and Julie Lerman.

Give a Star! :star:#

If you like or are using this project to learn or start your solution, please give it a star. Thanks!

Or if you’re feeling really generous, we now support GitHub sponsorships.

Getting Started#

To use this template, there are two template options:

  1. Full Clean Architecture (clean-arch) - Complete multi-project solution with Core, UseCases, Infrastructure, and Web
  2. Minimal Clean Architecture (min-clean) - Simplified single-project vertical slice architecture

Choose based on your project’s complexity and team preferences. Navigate to the sidebar on the left for detailed guidance on setup, patterns, and architectural decisions.