C# best-practices

Open-source C# projects categorized as best-practices

Top 6 C# best-practice Projects

  • ASP.NET Boilerplate

    ASP.NET Boilerplate - Web Application Framework

    Project mention: Does an open source 'backend platform' exist for dotnet? | /r/dotnet | 2023-05-05

    This is pretty similar

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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

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

    Extensions for System.Threading.Tasks.Task and System.Threading.Tasks.ValueTask

    Project mention: Async workaround ideas for a shared class library problem | /r/dotnet | 2022-11-30
  • swan

    Swan stands for Stuff We All Need. Unosquare's collection of C# extension methods and classes.

  • BestPracticeAnalyzer

    A .NET analyzer for developers complaining about people not following "best practices"

    Project mention: Writing dumb Roslyn analyzers | /r/csharp | 2022-07-21

    Source if anyone wants it.

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

C# best-practices related posts


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

Project Stars
1 ASP.NET Boilerplate 11,106
2 clean-code-dotnet 6,098
3 Architecture 2,850
4 AsyncAwaitBestPractices 1,262
5 swan 254
6 BestPracticeAnalyzer 6
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives