• Stars
    star
    643
  • Rank 69,576 (Top 2 %)
  • Language
    C#
  • Created over 8 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Come learn about all the Gang of Four patterns (e.g. Adapter, Facade, Strategy, Mediator, Command and more) with C# and food examples!

DesignPatterns

This solution contains all my example projects for my blog's Daily Design Pattern series, and is also used in my Demonstrating Common Design Patterns with C# and Food presentation.

You can also get these examples, along with updated text and examples about them, as an eBook by signing up to be a paid subscriber on my blog!

This series covers 22 of the Gang of Four's patterns. Here's the individual posts:

Creational Patterns:
Abstract Factory
Builder
Factory Method
Prototype
Singleton

Structural Patterns:
Adapter
Bridge
Composite
Decorator
Facade
Flyweight
Proxy

Behavioral Patterns:
Chain of Responsibility
Command
Iterator
Mediator
Memento
Observer
State
Strategy
Template Method
Visitor

If these posts and examples helped you, please consider buying me a coffee. Your support funds all of Exception Not Found's projects and helps keep traditional ads off the site. Thanks!

More Repositories

1

BlazorGames

Solitaire, Minesweeper, ConnectFour, Tetris, Blackjack, Conway's Game of Life, and more, all written in Blazor WebAssembly.
HTML
216
star
2

DotNetCqrsDemo

C#
123
star
3

SampleCQRS

A small demo of a .NET app using Command-Query Responsibility Segregation and Event Sourcing
C#
105
star
4

RespositoryServicePatternDemo

Keep your data and business logic separate with this straightforward architecture.
C#
84
star
5

CSharpInSimpleTerms

Learn all about C# with simple, straightforward examples, from the type system to interfaces to date and time formats.
C#
74
star
6

SortExtravaganzaCSharp

Lots of example sorting algorithms, from a family reunion.
C#
67
star
7

AspNetCoreDapperAsyncDemo

C#
60
star
8

AspNetCoreRequestResponseMiddlewareDemo

C#
56
star
9

FabricJSDrawingWalkthrough

JavaScript
52
star
10

BlazorToDoList

Let's explore Blazor WebAssembly by building a simple to-do list application.
HTML
52
star
11

DataNamesMappingDemo

C#
51
star
12

ORMBenchmarksTest

C#
40
star
13

BattleshipModellingPractice

Sample project for my Modeling Practice for the game Battleship.
C#
37
star
14

XUnitMockTestsDemo

C#
29
star
15

InMemoryEFCoreDemo

HTML
25
star
16

DapperHelperDemo

C#
22
star
17

DapperEFCoreQueryPerformance2019

C#
21
star
18

WebApiExceptionHandling

Sample code for the guided tour of Exception Handling in ASP.NET Web API.
C#
20
star
19

UnoModelingPractice

C#
16
star
20

NET6DependencyInjectionDemo

C#
16
star
21

DisplayTemplatesDemo

C#
14
star
22

MinesweeperDemo

C#
13
star
23

MiddlewareNET6Demo

C#
13
star
24

AsyncAwaitRefactoringDemo

Sample project for my Ultimate Asynchronous series.
JavaScript
13
star
25

CSharp10Features

C#
13
star
26

WebApiValidationDemo

C#
12
star
27

MiddlewareDemo

C#
12
star
28

ConditionalLinqQueryEngine

C#
11
star
29

UnobtrusiveJavascriptDemo

JavaScript
11
star
30

RoutingAspNetCoreDemo

C#
11
star
31

CoreDIDemo

C#
10
star
32

CheckBoxListDemo

C#
10
star
33

CardGameWarModelingPractice

C#
10
star
34

TicketToRideModelingPractice

C#
10
star
35

ChangeLoggingReflection

C#
9
star
36

DotNetNumberTypesDemo

C#
9
star
37

NET6BiteSizeDemos

C#
9
star
38

BlazorConnectFour

HTML
8
star
39

RazorPagesWalkthrough

HTML
8
star
40

RazorPagesPRGDemo

C#
7
star
41

AspNetCoreActionResultsDemo

C#
6
star
42

WebApiCacheDemo

C#
6
star
43

RazorPagesAJAXNamedHandlersDemo

C#
6
star
44

ModelStateDemo

JavaScript
6
star
45

StructureMapWebAPIDemo

C#
5
star
46

AspNetCoreMiddlewareDemo

C#
5
star
47

SwaggerXMLApiDemo

C#
5
star
48

BlazorSoundDemo

HTML
5
star
49

AntiForgeryRazorPagesExamples

HTML
5
star
50

FlashMessageCoreDemo

C#
4
star
51

RestSharpTimeoutDemo

C#
4
star
52

AspNetCoreRoutingDemo

C#
4
star
53

LINQExamples

A Beginner's Guide to LINQ in .NET
C#
4
star
54

FlashMessageDemo

C#
4
star
55

BlazorWasmTicTacToe

C#
4
star
56

AutoMapperInjectionDemo

C#
3
star
57

WebApiEnumsValuesDemo

C#
3
star
58

StrictPRGDemo

C#
3
star
59

DataTablesMapping

C#
3
star
60

UnmatchedSocksSorter

C#
3
star
61

MoreTagHelpers

JavaScript
3
star
62

exceptionnotfound

3
star
63

WebApiEnums

C#
3
star
64

WCFNavigationPropertyMapping

WCFNavigationPropertyMapping
C#
3
star
65

VerbalExpressionsDemo

C#
3
star
66

actionfilterdemo

C#
3
star
67

AsyncAwaitDemo

C#
3
star
68

AsyncAwaitStopwatchDemo

C#
2
star
69

MVCAreasDemo

JavaScript
2
star
70

CandyLandSimulation

C#
2
star
71

WebApiArchitectureDemo

C#
2
star
72

ActionResultsDemo

C#
1
star
73

EntityFrameworkDemo

C#
1
star
74

AspNetCoreModelBindingDemo

C#
1
star
75

AspNetCoreRazorPagesDemo

C#
1
star
76

ViewInjectionCoreDemo

HTML
1
star
77

RazorPagesBootstrapPopoverDemo

C#
1
star
78

AttributeRoutingDemo

C#
1
star
79

FluentValidationDemo

C#
1
star
80

CodeFirstMigrationsDemo

C#
1
star
81

PartialViewsDemo

C#
1
star