Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more! Learn more →
Top 19 C# clean-code Projects
-
-
Sevalla
Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
-
-
EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
-
clean-architecture-manga
:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
-
Architecture
.NET, Angular, Clean Architecture, Clean Code, SOLID Principles, KISS Principle, DRY Principle, Fail Fast Principle, Common Closure Principle, Common Reuse Principle, Acyclic Dependencies Principle, Mediator Pattern, Result Pattern, Folder-by-Feature Structure, Separation of Concerns
-
-
sample-dotnet-core-cqrs-api
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
evolutionary-architecture-by-example
Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
-
CodeMaid
CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
-
CleanArchitecture.WebApi
An implementation of Clean Architecture for ASP.NET Core 3.1 WebAPI. Built with loosely coupled architecture and clean-code practices in mind.
-
xaml-code-experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
-
-
AuthApi
An example of a full-stack application for Authentication and Authorization, build with ASP.NET Core 9.0 (Minimal API) and Angular 19.
-
-
FileApi
An example of a full-stack application for file upload and download, built with ASP.NET Core 9.0 (Minimal API) and Angular 19. (by Gramli)
-
HeuristicsForCleanCode
The goal of the project is to help learn heuristics that will help you write clean code. Use them for the benefit of the community.
-
WeatherApi
An example of REST API for handling weather data using minimal API and Clean Architecture with various design patterns. ASP.NET Core 9.0
-
Blazing.Mediator
A lightweight implementation of the Mediator pattern with built-in CQRS support, native streaming capabilities, and advanced middleware pipeline for .NET applications. Features ordered middleware execution, conditional middleware, automatic DI registration, pipeline inspection, and memory-efficient data streaming with IAsyncEnumerable. Supports real-time data processing, JSON streaming, Server-Sent Events (SSE), and AI response streaming. Includes comprehensive sample projects demonstrating mode
-
CQRS-Mediatr-Design-Pattern-old
DynamicWebPanel , CQRS Pattern , MediatR , Clean Code , Layered Architecture , EfCore ,
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# clean-code discussion
C# clean-code related posts
-
Evolutionary Architecture by Example (.NET)
-
How to find a sample enterprise applications?
-
eShop vs eShopOnWeb?
-
Simplify Your C# Code: Top 5 Refactoring Tools
-
3 things to avoid when implementing Domain-Driven Design (DDD)
-
How do you make docker-compose and kubernetes files for .NET applications?
-
Architecture .NET 7, Angular 16, Clean Architecture, Clean Code, Solid
-
A note from our sponsor - Sevalla
sevalla.com | 2 Sep 2025
Index
What are some of the best open-source clean-code projects in C#? This list will help you:
# | Project | Stars |
---|---|---|
1 | modular-monolith-with-ddd | 12,559 |
2 | clean-code-dotnet | 7,490 |
3 | EquinoxProject | 6,717 |
4 | clean-architecture-manga | 4,125 |
5 | Architecture | 3,242 |
6 | GuardClauses | 3,223 |
7 | sample-dotnet-core-cqrs-api | 3,018 |
8 | evolutionary-architecture-by-example | 2,580 |
9 | CodeMaid | 1,940 |
10 | CleanArchitecture.WebApi | 1,460 |
11 | xaml-code-experiences | 119 |
12 | BettingSystem | 105 |
13 | AuthApi | 48 |
14 | modular-monolith-async | 35 |
15 | FileApi | 26 |
16 | HeuristicsForCleanCode | 19 |
17 | WeatherApi | 17 |
18 | Blazing.Mediator | 3 |
19 | CQRS-Mediatr-Design-Pattern-old | 0 |