.NET Design Patterns Tutorial - For Beginners & Professionals
.NET Design Patterns in C#,Design Patterns with Example in .Net C#,.NET Design Pattern and Practices,Design Pattern Real World Example in .Net C#
Posted By : Shailendra Chauhan, 06 Mar 2014
Updated On : 13 Mar 2014
There are three most popular MV-* design patterns: MVC, MVP and MVVM. These are widely used by the various technologies. In this article, I will provide my opinion on these three.
Posted By : Shailendra Chauhan, 11 Sep 2013
Updated On : 23 Mar 2014
Command pattern falls under Behavioural Pattern of Gang of Four (GOF) Design Patterns in .Net. The command pattern is commonly used in the menu systems of many applications such as Editor, IDE etc. In this article, I would like share what is command pattern and how is it work?
Posted By : Shailendra Chauhan, 16 Jul 2013
Updated On : 05 Feb 2014
Chain of Responsibility pattern falls under Behavioural Pattern of Gang of Four (GOF) Design Patterns in .Net. The chain of responsibility pattern is used to process a list or chain of various types of request and each of them may be handle by a different handler. In this article, I would like share what is chain of responsibility pattern and how is it work?
Posted By : Shailendra Chauhan, 14 Jul 2013
Updated On : 18 Aug 2013
Proxy pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. The proxy design pattern is used to provide a surrogate object, which references to other object. In this article, I would like share what is proxy pattern and how is it work?
Posted By : Shailendra Chauhan, 14 Jul 2013
Updated On : 14 Jul 2013
Flyweight pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. Flyweight pattern try to reuse already existing similar kind objects by storing them and creates new object when no matching object is found. In this article, I would like share what is flyweight pattern and how is it work?
Posted By : Shailendra Chauhan, 14 Jul 2013
Updated On : 18 Aug 2013
Facade pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. The Facade design pattern is particularly used when a system is very complex or difficult to understand because system has a large number of interdependent classes or its source code is unavailable. In this article, I would like share what is facade pattern and how is it work?
Posted By : Shailendra Chauhan, 13 Jul 2013
Updated On : 18 Jul 2013
Decorator pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. Decorator pattern is used to add new functionality to an existing object without changing its structure. Hence Decorator pattern provides an alternative way to inheritance for modifying the behavior of an object. In this article, I would like share what is decorator pattern and how is it work?
Posted By : Shailendra Chauhan, 13 Jul 2013
Updated On : 18 Aug 2013
Composite pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. Composite Pattern is used to arrange structured hierarchies. In this article, I would like share what is composite pattern and how is it work?
Posted By : Shailendra Chauhan, 13 Jul 2013
Updated On : 13 Jul 2013
Bridge pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. All we know, Inheritance is a way to specify different implementations of an abstraction. But in this way, implementations are tightly bound to the abstraction and can not be modified independently.
Posted By : Shailendra Chauhan, 08 Jul 2013
Updated On : 24 Jun 2014
Adapter pattern falls under Structural Pattern of Gang of Four (GOF) Design Patterns in .Net. The Adapter pattern allows a system to use classes of another system that is incompatible with it. It is especially used for toolkits and libraries. In this article, I would like share what is adapter pattern and how is it work?
Posted By : Shailendra Chauhan, 08 Jun 2013
Updated On : 18 Aug 2013
Singleton pattern is one of the simplest design patterns. This pattern ensures that a class has only one instance and provides a global point of access to it.
Posted By : Shailendra Chauhan, 06 Jun 2013
Updated On : 13 Jul 2013
Prototype pattern is used to create a duplicate object or clone of the current object to enhance performance. This pattern is used when creation of object is costly or complex.
Posted By : Shailendra Chauhan, 04 Jun 2013
Updated On : 18 Aug 2013
Builder pattern builds a complex object by using simple objects and a step by step approach. Builder class builds the final object step by step. This builder is independent of other objects. The builder pattern describes a way to separate an object from its construction. The same construction method can create different representation of the object.
Posted By : Shailendra Chauhan, 02 Jun 2013
Updated On : 24 Jun 2014
Abstract Factory method pattern falls under Creational Pattern of Gang of Four (GOF) Design Patterns in .Net. It is used to create a set of related objects, or dependent objects. Internally, Abstract Factory use Factory design pattern for creating objects. It may also use Builder design pattern and prototype design pattern for creating objects.
Posted By : Shailendra Chauhan, 28 May 2013
Updated On : 13 Jul 2013
In Factory pattern, we create object without exposing the creation logic. In this pattern, an interface is used for creating an object, but let subclass decide which class to instantiate. The creation of object is done when it is required. The Factory method allows a class later instantiation to subclasses.