C# design-patterns

Open-source C# projects categorized as design-patterns

Top 23 C# design-pattern 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)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Entitas

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

    Project mention: Entitas VS Friflo.Json.Fliox - a user suggested alternative | libhunt.com/r/Entitas | 2024-01-30
  • 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)

  • 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

  • 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
  • design-patterns-explained-with-food

    GoF Design Patterns with "Real-World" examples involving Food-Related Businesses and mock dependencies

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

  • SmartEnum

    A base class for quickly and easily creating strongly typed enum replacements in C#.

  • DesignPatternsLibrary

    A comprehensive design patterns library implemented in C#, which covers various design patterns from the most commonly used ones to the lesser-known ones. Get familiar with and learn design patterns through moderately realistic examples.

  • Unity-Programming-Patterns

    Implementations of programming design patterns in Unity with examples in C# when to use them.

    Project mention: Game dev for a Web developer | /r/Unity3D | 2023-06-14

    Look into learning OOP principles, interfaces, dependency injection, etc are key to reduce coupling. Also ignore that other dude in the replies, avoid Unity YouTube content like the plague those videos never teach good practices, for Unity I would suggest MVC, MVVM type patterns, there's some great resources on patterns for games and also some specific Unity architectures that people have created for Unity like SCA Unity.

  • Specification

    Base class with tests for adding specifications to a DDD model

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

    If so, then look into this

  • csharp-design-patterns-for-humans

    Design Patterns for Humans™ - An ultra-simplified explanation - C# Examples

  • Result

    A result abstraction that can be mapped to HTTP response codes if needed. (by ardalis)

    Project mention: Advantages and disadvantages of FastEndpoints | /r/dotnet | 2023-06-24

    Using the Nuget Package Ardalis.Result for mapping result objects to HTTP Response Codes and associated objects; FastEndpoint has its own way of approaching this problem, which seems to be to hang everything off an "Endpoint" and optionally using Swagger to redundantly describe the route's behavior; this seems like a step backwards from more advanced Web frameworks in other languages. The advantage of Ardalis.Result should be clear - each closed form of Ardalis.Result can have its own knowledge of what it does, and therefore automatically describe the abstract transformations it does on a request. In functional programming, this "abstract transformation" is typically called a monad transformer or Arrow. Once you have a type that describes the abstract transformation, plugging that into Swagger should be straight-forward.

  • DNTFrameworkCore

    Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework

  • UniMob

    Modern reactive programming library for Unity (inspired by MobX js)

    Project mention: Improved UniRx | /r/Unity3D | 2023-05-01

    This is awesome. Just out of curiosity - do you have any thoughts on UniMob?

  • LearningPoint

    A repository for learning different technologies, frameworks, features......

  • Reddnet

    🎭 Minimal Reddit clone

  • BettingSystem

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

  • software-design-patterns

    C# Design Patterns Tutorial Sample Code

  • PeakLimsApiSample

    🧬 A complex DDD based web API to model the accessioning workflow within a LIMS.

    Project mention: Anyone have a link to a public repo of a full scale web project? | /r/dotnet | 2023-04-17

    https://github.com/pdevito3/PeakLimsApi valuable sample, recommend

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

    Furlong provides several implementations of the Chain of Responsibility pattern, supporting sync, async-await, request, request-response, and local delegates.

  • design-pattern-examples-in-csharp

    UML model and code examples of design patterns for C#. The model is created with Astah.

  • 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 2024-01-30.

C# design-patterns related posts

Index

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

Project Stars
1 modular-monolith-with-ddd 10,228
2 eShopOnWeb 9,886
3 Entitas 6,887
4 clean-architecture-manga 3,869
5 GuardClauses 2,893
6 sample-dotnet-core-cqrs-api 2,664
7 design-patterns-explained-with-food 2,409
8 SmartEnum 2,045
9 DesignPatternsLibrary 1,914
10 Unity-Programming-Patterns 1,797
11 Specification 1,785
12 csharp-design-patterns-for-humans 1,232
13 Result 738
14 DNTFrameworkCore 313
15 UniMob 170
16 LearningPoint 144
17 Reddnet 131
18 BettingSystem 97
19 software-design-patterns 94
20 PeakLimsApiSample 50
21 HeuristicsForCleanCode 18
22 Furlong 4
23 design-pattern-examples-in-csharp 3
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com