Click here to Skip to main content
15,881,809 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 Score

Patterns 

9 Feb 2015 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#.
11 Jun 2010 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.
5 Mar 2022 by Mark Pelf
Tutorial article on Fluent Interface Pattern in C#
21 Apr 2014 by fabio bussu
MatchKit is a .NET Library that provides a set of classes to build patterns to match simple and complex strings
20 Jan 2016 by Rahul Rajat Singh
This article is yet another explanation and implementation of the singleton pattern.
11 Oct 2011 by Enrique Albert
Baseline WCF Distribution Layer - Decoupling of WCF Services and ViewModels.
26 Feb 2015 by Giovanni Scerra
Patterns to prevent null reference exceptions
2 May 2015 by Giovanni Scerra
An introduction to transparency in software design, with particular focus on OO languages
11 Nov 2018 by Christian Vos
SOLID principles: The Liskov Principle, a simple example in C#
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
9 May 2022 by Mark Pelf
In this article, we build a practical reusable Logging Proxy in C#
13 Jul 2022 by Mark Pelf
Beginner’s tutorial on Service Locator Pattern with examples
11 Sep 2022 by Mark Pelf
Tutorial article on Observer pattern in C#
28 Feb 2022 by Mark Pelf
Tutorial article describing Visitor Pattern in C#
14 Feb 2010 by Nicolas Dorier
A design pattern to easily bind or animate properties that do not exist on an element, and which works in both Silverlight and WPF
29 Sep 2010 by Gary H Guo
Discuss how to add aspects to object at runtime and enhance them using Dynamic Decorator
16 Jul 2015 by Shivprasad koirala
In this article, we will demonstrate Template Pattern reusing ADO.NET.
14 Nov 2013 by shijo joseph
An extension methods library which could do the equality comparison operations easily
19 Mar 2014 by David Cantrell
In which a class that wraps an ADO Connection object and makes it more developer-friendly is discussed.
6 Sep 2013 by Ryszard Dżegan
How to not damage yourself when using inheritance.
5 Aug 2014 by Chris875
State pattern and procedural solution illustrated
8 Oct 2015 by Anele 'Mashy' Mbanga
A look at a flexible Java MySQL CRUD PHP script generator
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.
29 Aug 2022 by Aleksandr Ulanov
What are Service Objects and how you can use them to make your app cleaner and keep it maintainable
24 Nov 2011 by Scanix
SystemFramework defines interfaces, classes, and types to support a native runtime system with its own garbage collector, delegates, etc. The design of SystemFramework classes is similar to those of the .NET Framework.
11 Oct 2013 by ASP.NET Community
MVP (Model View Presenter) FrameworkThe MVP pattern is an Architecture Pattern used to build ASP.net applications.  It refers to splitting up the
7 Feb 2023 by Mark Pelf
Beginner’s tutorial on VO and DTO Patterns with examples
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
13 Oct 2016 by Rahul Rajat Singh
This is a small tip containing my thoughts on why we should not blindly create interfaces and/or abstract class for each and every class in our application.
23 Jan 2012 by malakar.anil
This article explains how to write easily maintainable and extendable application using MVC
14 Jan 2014 by ASP.NET Community
The visitor design pattern enables us to create new operations to be performed on an existing structure. The new operations don’t change 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.
6 Feb 2023 by Mark Pelf
Basic tutorial on Immutable Object Pattern along with C# examples
11 Dec 2023 by Stridemann
Example of use of this pattern in game development
2 Dec 2009 by ASP.NET Community
Observer pattern
31 Jan 2020 by honey the codewitch
Add fast scanners/tokenizers to your C# project
9 Dec 2023 by Stridemann
A Pattern for Identifying Processed Entities During Iteration Without Additional Collections
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
There's a great deal of good prescriptive security guidance out there in the form of whitepapers and books.Whitepaperspatterns & practices
11 Oct 2013 by ASP.NET Community
The RegularExpressionValidator control confirms that the entry matches a pattern defined by a regular expression. This type of validation allows you
11 Oct 2013 by ASP.NET Community
StateThe State pattern allows an object to change it behaviour when its internal state changes. The pattern is a type of behavioral design
12 Oct 2013 by ASP.NET Community
Proxy Design PatternThe Gang Of Four definition of this design pattern is "Provides a surrogate or placeholder for another object to control access
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
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
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,
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
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
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
11 Oct 2013 by ASP.NET Community
The prototype is built upon the use of object cloning. The prototype creates new objects by cloning one of its concrete classes. The prototype is
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
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
20 Jul 2020 by Arlo Weston
Implementation of the Chain of Responsibility Pattern in JavaScript
1 Apr 2014 by Farhad Alizadeh Noori
This article details the implementation of an efficient grouped regular expression searcher.
29 Jun 2013 by Christian Vos
SOLID principles: The Open Closed Principle, a simple example in C#
8 Nov 2015 by DotNetSteve
Using delegates to group, conquer cross cutting concerns and create dynamic validators
21 May 2015 by Sacha Barber
A look at how a CQRS app may work, with the added bonus of a demo app
23 Apr 2013 by Jon Woo
This one will demonstrate what the point of coding principles are
1 Mar 2015 by mbarbac
A deep dive into the Kerosene ORM Entity Maps operational mode that provides full real support for POCO objects.
30 Nov 2015 by Sreekanth Mothukuru
The idea is to use Dependency Injector (DI) framework Ninject to dynamically target our application to SQL Server or Oracle database either by using Entity framework (EF) or Dapper ORM using global settings
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 Oct 2011 by Enrique Albert
WPF ICommand implementation based on Josh Smith's pattern.
16 May 2014 by Rahul Dhammy
The article explains Adapter pattern, implemented in C#.
20 Jul 2017 by Rahul Rajat Singh
In this article we will This article we will try to understand what is composite design 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
3 Jan 2015 by Fiyaz Hasan
Get a clear definition on Angular.js providers. Know the structure and the basic difference.
11 Mar 2014 by mbarbac
Implementing the Repository and Unit of Work Patterns dynamically using Kerosene ORM
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
21 Feb 2016 by Shemeer NS
Explaining Factory Pattern in C# using a simple LoggerFactory
4 Oct 2012 by Rahul Rajat Singh
This article talks about the Builder Design pattern, When can this pattern be used and when should it be implemented. We will then see a small rudimentary implementation of Builder pattern in C#.
21 Oct 2012 by Rahul Rajat Singh
This article talks about the basics of decorator pattern and see when this pattern can be found useful.
10 May 2014 by Emre Ataseven
Description of C2 architectural pattern with sample
11 May 2020 by Daniele Fontani
Learn how to configure dependency injection to make things happen by design
8 Jul 2013 by Rahul Rajat Singh
In this article we will talk about the Dependency Inversion Principle, Inversion of Control and Dependency Injection.
11 Nov 2012 by Rahul Rajat Singh
This article describes what is state pattern, when could we find state pattern useful and how to have a rudimentary implementation of state pattern in C#.
7 Sep 2010 by Paul Stovell
An introduction to Magellan, an Open Source navigation framework for WPF.
14 Jul 2015 by Shivprasad koirala
In this article we will learn C# Design pattern and Architecture pattern Step by Step with a project.
17 Mar 2015 by Akhil Mittal
How to create MVC application and perform CRUD operations using EntityFramework
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.
9 Aug 2022 by Mark Pelf
We explain DI Pattern, DIP, IoC, DI Container
5 Jan 2014 by Richard Tauber
Implementing dynamic polymorphism without virtual functions and sharing objects across process boundaries.
23 May 2014 by Rahul Dhammy
Explaining the strategy pattern using C#
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
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
17 Mar 2015 by Akhil Mittal
Unit of Work Pattern and Repository Pattern, and how to perform CRUD operations in an MVC application.
2 Mar 2015 by mbarbac
Kerosene ORM support for complete database-alike WCF services and connections
12 Apr 2013 by Rahul Rajat Singh
In this article we will try to see what is Repository and Unit of Work Pattern in an ASP.NET MVC application.
27 Aug 2021 by Giovanni Scerra
Strategies and heuristics of Problem Solving applied to Software Engineering
7 Feb 2013 by Abul Kayes
Implementation of the Decorator pattern in C# .NET.
21 Oct 2012 by Rahul Rajat Singh
This article talks about the facade pattern. When is this pattern useful. This article also presents a rudimentary approach to implement the facade pattern.
19 Oct 2013 by ASP.NET Community
The visitor design pattern enables us to create new operations to be performed on an existing structure. The new operations don’t change the
26 Feb 2012 by Samuel Gonzalo
11 May 2011 by Super Lloyd
A much simpler composite application library.
7 Dec 2015 by Ansel Castro
Introduction to ENTERLIB a MVVM framework for Android
25 Aug 2015 by K. Naveen. Bhat
The article shows how we can solve various technical problems easily with the help of delegates.
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.
29 Oct 2013 by Khademul Basher
MVC Pattern and it's types and implementation using Passive Model.