C# clean-code

Open-source C# projects categorized as clean-code

Top 19 C# clean-code Projects

  1. modular-monolith-with-ddd

    Full Modular Monolith application with Domain-Driven Design approach.

  2. 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!

    Sevalla logo
  3. clean-code-dotnet

    :bathtub: Clean Code concepts and tools adapted for .NET

  4. EquinoxProject

    Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices

  5. clean-architecture-manga

    :cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks

  6. 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

  7. GuardClauses

    A simple package with guard clause extensions.

  8. sample-dotnet-core-cqrs-api

    Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.

  9. 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.

    InfluxDB logo
  10. 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.

  11. 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.

  12. 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.

  13. xaml-code-experiences

    A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.

  14. BettingSystem

    ASP.NET Core | Domain-Driven Design | Clean Architecture

  15. AuthApi

    An example of a full-stack application for Authentication and Authorization, build with ASP.NET Core 9.0 (Minimal API) and Angular 19.

  16. modular-monolith-async

    Ecommerce Modular Monolith App with Async

  17. 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)

  18. 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.

  19. 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

  20. 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

  21. CQRS-Mediatr-Design-Pattern-old

    DynamicWebPanel , CQRS Pattern , MediatR , Clean Code , Layered Architecture , EfCore ,

  22. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C# clean-code discussion

Log in or Post with

C# clean-code related posts

  • Evolutionary Architecture by Example (.NET)

    1 project | news.ycombinator.com | 8 Jul 2024
  • How to find a sample enterprise applications?

    4 projects | /r/dotnet | 6 Dec 2023
  • eShop vs eShopOnWeb?

    2 projects | /r/dotnet | 23 Nov 2023
  • Simplify Your C# Code: Top 5 Refactoring Tools

    1 project | dev.to | 10 Jun 2023
  • 3 things to avoid when implementing Domain-Driven Design (DDD)

    1 project | dev.to | 7 Jun 2023
  • How do you make docker-compose and kubernetes files for .NET applications?

    1 project | /r/dotnet | 14 May 2023
  • Architecture .NET 7, Angular 16, Clean Architecture, Clean Code, Solid

    1 project | news.ycombinator.com | 3 May 2023
  • A note from our sponsor - Sevalla
    sevalla.com | 2 Sep 2025
    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 →

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

Sponsored
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!
sevalla.com

Did you know that C# is
the 11th most popular programming language
based on number of references?