ardalis/CleanArchitecture
ardalis/CleanArchitecture has 18,537 GitHub stars and 3,144 forks. GitHot measured +2 stars in 24 hours. Last checked 2026-11-05 01:17 UTC. Last push 2026-09-21.
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 10
Measured star growth
- in 24h
- +2
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalClean 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.
:school: Contact Steve's company, NimblePros, for Clean Architecture or DDD training and/or implementation assistance for your team.
Take the Course!
Learn about how to implement Clean Architecture from NimblePros trainers Sarah "sadukie" Dutkiewicz and Steve "ardalis" Smith.
Table Of Contents
- Clean Architecture
- Getting Started
- Goals
- Design Decisions and Dependencies
- Patterns Used
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 - see the button above.
Sponsors
I'm please to announce that Amazon AWS's FOSS fund has chosen to award a 12-month sponsorship to this project. Thank you, and thanks to all of my other past and current sponsors!
Troubleshooting Chrome Errors
By default the site uses HTTPS and expects you to have a self-signed developer certificate for localhost use. If you get an error with Chrome see this answer for mitigation instructions.
Versions
The main branch is now using .NET 9. This corresponds with NuGet package version 10.x. Previous versions are available - see our Releases.
Learn More
- Live Stream Recordings Working on Clean Architecture
- DotNetRocks Podcast Discussion with Steve "ardalis" Smith
- Fritz and Friends Streaming Discussion with Steve "ardalis" Smith
Documentation
The official documentation for this template, including Getting Started steps, Migration Guides, and Architectural Decisions, can be found at Ardalis Clean Architecture Docs.
If you are upgrading from an older version, please be sure to review our Migration Guides on the new documentation site!
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,108 starspublic-apis/public-apis
A collective list of free APIs
496,382 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
433,905 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
393,983 stars