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. Learn more →
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 -
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.
-
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.
-
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 -
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.
-
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-13Or 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.
-
-
-
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 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
WeatherApi
-
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)
FileApi
-
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
C# clean-code related posts
- 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
- Confusion about whether DTOs having validation logic is acceptable or terrible.
- Do you write clean code? Check it out
- Architecture project using .NET 7, Angular 15, Clean Architecture, Clean Code, SOLID Principles.
- Starting Microservicies in .NET
-
A note from our sponsor - SonarQube
www.sonarqube.org | 8 Jun 2023
Index
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 |