Click here to Skip to main content
15,885,216 members
Everything / Patterns

Patterns

patterns

Great Reads

by Rahul Rajat Singh
In this article, we will try to understand what is Factory Pattern, what are the benefits of this pattern and how we can implement this pattern using C#.
by Evoluteur
A generic Web User Interface for CRUD applications generating all screens at run-time based on external metadata. It comes with sample applications for address book, memo pad, to do list, restaurants list, wine cellar, and database structure documentation that are easily customizable.
by Mark Pelf
Tutorial article on Fluent Interface Pattern in C#
by fabio bussu
MatchKit is a .NET Library that provides a set of classes to build patterns to match simple and complex strings

Latest Articles

by Dev Leader
Learn how to use Polly in C# to handle faults and retries with ease! Check out three code examples showcasing different use cases of Polly in C#!
by Dev Leader
Learn what the Command Pattern in C# is and the design principles it follows. Understand the pros and cons!
by Stridemann
Example of use of this pattern in game development
by Stridemann
A Pattern for Identifying Processed Entities During Iteration Without Additional Collections

All Articles

Sort by Title

Patterns 

8 May 2014 by Giovanni Scerra
The following guidelines are not exhaustive and are meant to be applied on top of the SOLID principles and proper use of OO Design Patterns.
19 Jan 2016 by Rahul Rajat Singh
In this article we will try to understand the service locator pattern.
27 Feb 2018 by Amir Jalilifard
Lets take an exciting travel to the land of MVC, MVP and MVVM patterns with our sexy friend : JavaScript
10 May 2014 by Emre Ataseven
Description of C2 architectural pattern with sample
6 Jun 2017 by Habibur Rony
Basic concept of pipe and filter; what is pipe and filter architectural style; when you need to use it; framework of the pipe and filter pattern; a tiny AI tool implementation using it
14 Nov 2013 by shijo joseph
An extension methods library which could do the equality comparison operations easily
7 Dec 2015 by Ansel Castro
Introduction to ENTERLIB a MVVM framework for Android
5 Apr 2013 by Boris Brock
This article presents a reusable base class for implementing singletons in C#.
19 Mar 2014 by David Cantrell
In which a class that wraps an ADO Connection object and makes it more developer-friendly is discussed.
5 May 2011 by Pat Capozzi
In this article, I reduce the use of the MVVM pattern in Silverlight to the absolute minimum lines of code in order to understand the basics.
11 Oct 2013 by ASP.NET Community
Abstract FactoryThe Gang of Four defintion for this design pattern is: "Provide an interface for creating families of related or dependant objects
31 Mar 2014 by dorodnic
Step by Step Implementation of Abstract Factory Design Pattern in C++
16 May 2014 by Rahul Dhammy
The article explains Adapter pattern, implemented in C#.
29 Sep 2010 by Gary H Guo
Discuss how to add aspects to object at runtime and enhance them using Dynamic Decorator
17 Jan 2016 by Rahul Rajat Singh
The aim of this article is to understand the basics of the Strategy pattern.
8 Jul 2013 by Rahul Rajat Singh
In this article we will talk about the Dependency Inversion Principle, Inversion of Control and Dependency Injection.
20 Jan 2016 by Rahul Rajat Singh
This article is yet another explanation and implementation of the singleton pattern.
20 Jul 2017 by Rahul Rajat Singh
In this article we will This article we will try to understand what is composite design pattern.
12 Feb 2016 by SubhamoyBurman
This is how an idiot like me explains what is Abstract Factory pattern and how it could be used
3 Nov 2010 by Dave Midgley
.NET delegates and Generics allow for an elegant implementation of the Command pattern.
3 Apr 2019 by Mahsa Hassankashi
This is the simplest tutorial on AngularJS and Repository Pattern for developing professional MVC applications. It includes a source code about practical permission management project.
3 Oct 2013 by Kaj Bromose
How to make callback using messaging via LocalBroadcastManager
28 Mar 2013 by Florian Rappl
An introduction to async / await, popular mistakes and solutions for asynchronous programming, as well as usages and benefits from using asynchronous programming. We will also discuss interesting patterns based on concurrency.
21 Jan 2016 by Rahul Rajat Singh
In this article we will try to understand the Null object pattern.
28 Apr 2012 by ManojKumar19
Server side logging for Silverlight applications using NLog 2.0
14 Jan 2011 by Michael Agroskin
BindingHub is the best thing since sliced bread. After you finish reading this article, you will start wondering how you could survive for so long without BindingHub. I did wonder the same thing after creating it.
10 Jan 2012 by Naveen Karamchetti
The article attempts to explain when to use the value map caching pattern in BizTalk integrations
11 Oct 2013 by ASP.NET Community
The Bridge PatternThe bridge pattern decouples an abstraction from its implementation so the two can vary independently. In other words we make a
11 Oct 2013 by ASP.NET Community
The builder pattern describe a way to separate an object from it's construction.The same construction method can create different representation of
23 Apr 2013 by Jon Woo
I am writing this article to demonstrate how to build an application from scratch using SOLID principles and common design patterns
23 Apr 2013 by Jon Woo
This one will demonstrate what the point of coding principles are
23 Apr 2013 by Jon Woo
I am writing this article to demonstrate how to build an application from scratch using SOLID principles and common design patterns
7 Feb 2023 by Mark Pelf
Beginner’s tutorial on VO and DTO Patterns with examples
20 Apr 2023 by Kenji Elzerman
Learn how to use the strategy pattern in C# to create flexible and reusable code. Replace if-statements and simplify your code with this design pattern.
6 Feb 2023 by Mark Pelf
Basic tutorial on Immutable Object Pattern along with C# examples
5 Jan 2014 by Richard Tauber
Implementing dynamic polymorphism without virtual functions and sharing objects across process boundaries.
11 Oct 2013 by ASP.NET Community
 Whenever an attempt is made to access data from the cache, it should be with the assumption that the data might not be there any more. Thus,
1 Feb 2015 by Lalit_Chandra
Chain of Responsibility pattern is defined under behavioral design pattern by G.O.F and used to decouple the command with its processing object or handler.
23 Dec 2015 by Acharya Raja Sekhar
In this article I would like to share my knowledge and an easy example for Chain of Responsibility design pattern.
20 Oct 2013 by ASP.NET Community
The chain of responsibility pattern is a way of communication between objects. As it’s name indicate a chain of handlers is built  and every handler
1 Apr 2015 by Sudheer Reddy K
This article talks about how to mimic classes like structure in JavaScript and patterns in creating them.
26 Feb 2012 by Samuel Gonzalo
3 Feb 2016 by Ranjan.D
Beginners guide to Collector, Translator And Formatter Pattern
1 Apr 2014 by Farhad Alizadeh Noori
This article details the implementation of an efficient grouped regular expression searcher.
10 May 2011 by Gary H Guo
Apply components, aspects and dynamic decorator principles to ASP.NET application
11 May 2011 by Super Lloyd
A much simpler composite application library.
21 May 2015 by Sacha Barber
A look at how a CQRS app may work, with the added bonus of a demo app
29 Dec 2016 by Giorgio Arata
A Decorator Design Patterns revision obtained adopting a lambda closures approach.
1 Apr 2022 by Mark Pelf
Tutorial on Decorator Pattern in C#, showing 3 versions in C#
26 Jan 2016 by Rasik Bihari Tiwari
Dependency injection, DI containers, IoC containers and Inversion of control are a world of confusion. Let's take them head-on.
7 Feb 2014 by Pranay Rana
What is dependency injection and why there is need of this software design pattern.
9 Aug 2022 by Mark Pelf
We explain DI Pattern, DIP, IoC, DI Container
11 Oct 2013 by ASP.NET Community
Design PatternsDesign patterns are recognized solutions to common problems defined originally by the Gang of Four programmers. Design patterns are
6 Dec 2013 by coded007
A Seriers to understand Design Patterns Completely
8 Nov 2015 by DotNetSteve
Using delegates to group, conquer cross cutting concerns and create dynamic validators
23 Jun 2020 by Ciumac Sergiu
Explains sound fingerprinting algorithm, with a practical example of detecting duplicate files on the user's local drive.
11 Dec 2023 by Stridemann
Example of use of this pattern in game development
28 Sep 2011 by Alexander Chernosvitov
AntiBot control using HTML5 rotating feature
1 Oct 2010 by After2050
This article demonstrates how to create public and private members in JavaScript through a sample.
11 Oct 2013 by ASP.NET Community
Enterprise Library"The patterns & practices Enterprise Library from Microsoft is a library of application blocks designed to assist developers with
2 Mar 2015 by mbarbac
Kerosene ORM support for complete database-alike WCF services and connections
5 Apr 2023 by Kenji Elzerman
C# decorator pattern allows adding behavior to objects at runtime. In this tutorial, I show you how to implement the decorator pattern with C# in a minimal API.
20 Oct 2013 by ASP.NET Community
FacadeThe Facade Design Pattern provides a simple interface and controls access to a series of complicated interfaces and or sub systems.Some of
6 May 2014 by Rahul Dhammy
Implementing Facade design pattern in C#
20 Oct 2013 by ASP.NET Community
FactoryThe job of the Factory design pattern is to create concrete sub classes. You can see the Factory design pattern used throughout the .NET
28 Jan 2014 by Marla Sukesh
In this article we will learn difference between Factory Method Pattern and Abstract Factory Pattern.
12 Jan 2011 by Samir Dedhia
27 Apr 2014 by Anurag Gandhi
Faster way to save data on postback and simplified model binding with ASP.NET controls
5 Mar 2022 by Mark Pelf
Tutorial article on Fluent Interface Pattern in C#
11 Aug 2015 by Pranay Rana
Flyweight pattern is about creating a pool of objects which allow sharing already created objects and causing applications to consume less memory.
7 Jul 2014 by Rahul Dhammy
Implementing flyweight design pattern using C#
11 Oct 2013 by ASP.NET Community
The flyweight pattern is used whenever you have large amount of small objects that share common information. The use of the pattern reduces the
23 Nov 2012 by Marla Sukesh
This article will tell about the very known design pattern "Factory Pattern" used in the programming.
15 Jun 2016 by wmjordan
This is an alternative for "Interceptor in the Wild". The Function Decorator Pattern offers a way to inject new behaviors into existing methods without using IoC frameworks nor modifying method implementations.
22 Apr 2014 by Jon Pajela
Generic Abstract Factory Design Pattern
23 Sep 2015 by Shvetsov Evgeniy
Safe and versatile iterator for user types
15 Aug 2011 by Robin Cheng (HPMV)
Taking advantage of C# Generics to create a parallel hierarchy of builders with less total effort.
11 May 2020 by Daniele Fontani
Learn how to configure dependency injection to make things happen by design
17 Jan 2013 by Guirec
This article will introduce you with a set of 3 simple extension methods that can help you getting rid of Regex in many situations
11 Oct 2013 by ASP.NET Community
The IDisposable pattern isn't one of the a classic patterns. It's a pattern suggested in MSDN to implement the IDisposable interface. You should be
21 Sep 2023 by ashish__shukla
MediatR Library provides a simple way of implementing mediator pattern in .NET applications.
21 Mar 2015 by Priyank Modi
In Depth Look: Strategy Design Pattern, Dependency Injection (DI), Open/Closed principle (OCP) and Loose Coupling vs Tight Coupling
9 Apr 2015 by João Matos Silva
A near real world example of usage of the Interceptor Pattern to leverage new behavior without changing implementations
14 Jan 2014 by ASP.NET Community
The iterator pattern’s role is to provide a way to access aggregate objects sequentially without the knowledge of the structure of the aggregate. The
19 Oct 2013 by ASP.NET Community
The iterator pattern’s role is to provide a way to access aggregate objects sequentially without the knowledge of the structure of the aggregate.
3 Sep 2013 by Nitin Singh India
JavaScript has now emerged as the obvious language of client side web development. Right from start, browsers have introduced various features of support for accessing and modifying Document Object Model components. jQuery has abstracted most of native functionality into newer constructs and now pro
15 Jun 2017 by Mayank_Gupta_
Immediately Invokable Function Expressions in JavaScript
24 Apr 2013 by Rupesh Kumar Tiwari
Javascript Module pattern helps writing code in an object oriented manner with high web performance.
23 Oct 2013 by Ivan Leonenko
If you want a simple way to keep alive your application you may be interested in this approach. And don't forget, unkillable process usually is a bad design and in most cases you basicaly shouldn't use it.
11 Mar 2014 by mbarbac
Implementing the Repository and Unit of Work Patterns dynamically using Kerosene ORM
1 Mar 2015 by mbarbac
A deep dive into the Kerosene ORM Entity Maps operational mode that provides full real support for POCO objects.
25 Sep 2013 by Rajan Patekar
N-tier architecture of Project
17 Dec 2014 by iSahilSharma
This article provides an overview of the web application framework ASP.NET MVC 5.
14 Jul 2015 by Shivprasad koirala
In this article we will learn C# Design pattern and Architecture pattern Step by Step with a project.
25 Sep 2013 by Shakeel Iqbal
This article will guide you step by step to write good software every time.
29 Feb 2016 by Shemeer NS
Explaining Builder Pattern in C# using a Simple TelevisionBuilder
21 Feb 2016 by Shemeer NS
Explaining Factory Pattern in C# using a simple LoggerFactory