Tag Archives: Design Patterns using C#

Getting started with Repository pattern using C#

In this article, we will discuss about the repository pattern and will create a simple example to get the basic working of this pattern. To understand why we should be using this pattern, let’s take example of an MVC application, using the … Continue reading

Posted in Design and Architecture, Design Patterns | Tagged | Leave a comment

Memento design pattern using C#

In this article, we will be discussing the Memento design pattern, which is part of behavioral design pattern. Memento design pattern is aimed at maintaining the state or values of an instance of a class. This state can be re-stored … Continue reading

Posted in Design Patterns | Tagged | Leave a comment

Decorator design pattern using C#

In this article, we will be discussing the Decorator pattern. This pattern is part of the Structural design patterns. Decorator pattern is aimed at extending the existing functionality of the objects of a class. The meaning of objects of a … Continue reading

Posted in Design Patterns | Tagged | 2 Comments

Bridge design pattern using C#

Bridge pattern is part of the Structural design patterns. As the name may suggest that it acts as an intermediate between to different components. But if we talk about the Adapter pattern, then both patterns are having same logical definition. … Continue reading

Posted in Design Patterns | Tagged | Leave a comment

Template method pattern using C#

Now is the time to discuss the Template method pattern. Like strategy pattern, this pattern is part of the behavioral design patterns. As the name suggests Template, we know a template is a kind of layout available for some kind … Continue reading

Posted in Design Patterns | Tagged | 1 Comment