C# clean-code

Open-source C# projects categorized as clean-code

Top 17 C# clean-code Projects

  • eShopOnWeb

    Sample ASP.NET Core 6.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.

    Project mention: How do you make docker-compose and kubernetes files for .NET applications? | /r/dotnet | 2023-05-14
  • modular-monolith-with-ddd

    Full Modular Monolith application with Domain-Driven Design approach.

    Project mention: How I start every new Python backend API project | dev.to | 2023-01-19

    You can see there is a module called building_blocks. Inside it, I keep all the utilities needed in the project, like a logger, serializers, and so on. I did not make up this name, I borrowed it from this repo.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • clean-code-dotnet

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

    Project mention: What helped you to achieve a cleaner code? | /r/PinoyProgrammer | 2023-03-06

    More clean code concepts from this GitHub repo. Derived from Robert C. Martin's book Clean Code, adapted for .NET/.NET Core. There is also for JavaScript and PHP.

  • EquinoxProject

    Full ASP.NET Core 6 application with DDD, CQRS and Event Sourcing concepts

    Project mention: Can you suggest a git repo using DDD? | /r/dotnet | 2022-09-20

    When I create APIs for small apps i follow this one project equinox

  • clean-architecture-manga

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

    Project mention: Where can I learn more about Design Patterns & Clean Architecture in .NET? | /r/dotnet | 2023-04-04
  • Architecture

    .NET 7, Angular 16, 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.

    Project mention: Architecture .NET 7, Angular 16, Clean Architecture, Clean Code, Solid | news.ycombinator.com | 2023-05-03
  • GuardClauses

    A simple package with guard clause extensions.

    Project mention: 3 things to avoid when implementing Domain-Driven Design (DDD) | dev.to | 2023-06-07

    Here is an example how one would make sure our order total is valid. For this purpose I use an amazing library called GuardClauses.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • sample-dotnet-core-cqrs-api

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

    Project mention: Are dotnet contracting jobs common? | /r/dotnet | 2023-04-23
  • 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.

    Project mention: how to bring order to a legacy codebase using editorconfig and dotnet format? it is only fixing whitespace issues | /r/csharp | 2023-01-13

    Or as an alternative use CodeMaid.

  • xaml-code-experiences

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

  • BettingSystem

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

  • modular-monolith-async

    Ecommerce Modular Monolith App with Async

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

    Project mention: Do you write clean code? Check it out | news.ycombinator.com | 2023-04-19
  • AuthApi

    An example of Authentication and Authorization in REST API using minimal API, Clean Architecture and design patterns. ASP.NET Core 7.0

    Project mention: REST API: An example of Authentication and Authorization using minimal API, Clean Architecture and design patterns. ASP.NET Core 7.0 | /r/coolgithubprojects | 2023-04-06
  • WeatherApi

    An example of REST API for handling weather data using minimal API and Clean Architecture with various of design patterns. ASP.NET Core 7.0

    Project mention: Starting Microservicies in .NET | /r/dotnet | 2023-02-03


  • FileApi

    An example of REST API for uploading and converting files using minimal API, Clean Architecture and design patterns. ASP.NET Core 7.0 (by Gramli)

    Project mention: Starting Microservicies in .NET | /r/dotnet | 2023-02-03


  • cqrsmediatrdesignpattern

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

    Project mention: CQRS Pattern MediatR <3 example projects thanks star | /r/Freelancers | 2022-06-23
  • SaaSHub

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

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). The latest post mention was on 2023-06-07.

C# clean-code related posts


What are some of the best open-source clean-code projects in C#? This list will help you:

Project Stars
1 eShopOnWeb 8,856
2 modular-monolith-with-ddd 8,510
3 clean-code-dotnet 6,125
4 EquinoxProject 5,968
5 clean-architecture-manga 3,646
6 Architecture 2,850
7 GuardClauses 2,555
8 sample-dotnet-core-cqrs-api 2,428
9 CodeMaid 1,781
10 xaml-code-experiences 116
11 BettingSystem 80
12 modular-monolith-async 16
13 HeuristicsForCleanCode 15
14 AuthApi 8
15 WeatherApi 8
16 FileApi 6
17 cqrsmediatrdesignpattern 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives