C# clean-code

Open-source C# projects categorized as clean-code

Top 19 C# clean-code Projects

  • modular-monolith-with-ddd

    Full Modular Monolith application with Domain-Driven Design approach.

  • Project mention: Modular Monolith with DDD repository migrated to .NET 8.0 | /r/dotnet | 2023-12-09

    Link to PR here: https://github.com/kgrzybek/modular-monolith-with-ddd/pull/286

  • eShopOnWeb

    Sample ASP.NET Core 8.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 to find a sample enterprise applications? | /r/dotnet | 2023-12-06

    - https://github.com/dotnet-architecture/eShopOnWeb (a Microsoft example -- also includes the link to a recent livestream which provides an overview)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • clean-code-dotnet

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

  • EquinoxProject

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

  • 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: How to find a sample enterprise applications? | /r/dotnet | 2023-12-06

    - https://github.com/ivanpaulovich/clean-architecture-manga (uses clean architecture in .NET Core + React)

  • Architecture

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

  • GuardClauses

    A simple package with guard clause extensions.

  • Project mention: Why doesn't eager loading work with EF? | /r/dotnet | 2023-06-17

    You could also use the Ardalis Guard Clause, Ardalis Result and Fluent Validation

  • SaaSHub

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

    SaaSHub logo
  • sample-dotnet-core-cqrs-api

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

  • 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: Simplify Your C# Code: Top 5 Refactoring Tools | dev.to | 2023-06-10

    CodeMaid is an open-source Visual Studio extension to cleanup and simplifies our C#, C++, F#, VB, PHP, PowerShell, R, 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.

  • Project mention: Advice for the web API app development using clean architecture in .NET 6. | /r/dotnet | 2023-06-20
  • 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.

  • Project mention: Evolutionary Architecture by Example | news.ycombinator.com | 2023-09-12
  • 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.

  • AuthApi

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

  • WeatherApi

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

  • FileApi

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

  • 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

    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 related posts

  • 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
  • Confusion about whether DTOs having validation logic is acceptable or terrible.

    2 projects | /r/dotnet | 21 Apr 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. 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 10,383
2 eShopOnWeb 9,964
3 clean-code-dotnet 6,816
4 EquinoxProject 6,294
5 clean-architecture-manga 3,879
6 Architecture 3,093
7 GuardClauses 2,922
8 sample-dotnet-core-cqrs-api 2,759
9 CodeMaid 1,864
10 CleanArchitecture.WebApi 1,351
11 evolutionary-architecture-by-example 1,163
12 xaml-code-experiences 117
13 BettingSystem 97
14 modular-monolith-async 25
15 HeuristicsForCleanCode 18
16 AuthApi 17
17 WeatherApi 15
18 FileApi 15
19 CQRS-Mediatr-Design-Pattern-old 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com