C# Corner

Resources  
  • How and Where Decorator Design PatternFeb 03, 2015. The Decorator Design Pattern is one of the behavior patterns introduced by the GOF.
  • Understanding FACADE PatternAug 13, 2013. The GOF book says the Facade Pattern should “Provide a unified interface to a set of interfaces in a system. It defines a high level interface that makes the subsystem easier to use”.
  • Proxy Design PatternDec 08, 2011. In this article we are going to discuss the Proxy design pattern. It is one among the 23 design patterns by Gof. As usual we can start with the Challenge and Solution style.
  • Strategy PatternJan 30, 2011. The Strategy Pattern is a GOF (Gang of Four) behavioral pattern where the intent is to "define a family of algorithms, encapsulate each one, and make them interchangeable".
  • Facade Design PatternOct 25, 2010. This article talks about facade design pattern.
  • Abstract Factory PatternSep 21, 2010. In this walkthrough I'll try to explain GOF (Gang of Four) Abstract Design pattern. This article is about managing multiple connection strings of different data providers (SQL, Oracle, OleDB etc.).
  • Introduction about Command Design PatternSep 21, 2010. The Command pattern creates distance between the client that requests an operation and the object that can perform it.
  • Singleton Pattern Unleashed in C#Oct 03, 2009.
  • Asynchronous Message Router in C#Sep 30, 2009. This article explains and demonstrates some patterns for asynchronous message routing using C#.
  • Introduction to the Visitor PatternAug 22, 2009. The power of adding a functional extensibility point to our classes via the visitor pattern is often overlooked. Using a visitor pattern is a very effective means of providing a nice boundary around a set of core classes while at the same time allowing for functional change. This article will demonstrate how the visitor pattern can be used as an extensibility mechanism and provide a boundary to keep core domain classes from getting cluttered.
  • The Difference Between the Two GOF Patterns "Strategy" and "State"Jan 18, 2007. The GOF Strategy and State patterns are remarkably similiar and it is really only a minor implementation detail that distinguishes the two.
  • The GOF "Chain of Responsibility" Design PatternJan 18, 2007. The Chain of Responsibility pattern is used to pass responsibility for handling a call to another class. This article gives a basic overview of the pattern.
  • Introduction to the GOF Strategy Pattern in C#Aug 08, 2006. For this article, we’ll be building an exciting calculation engine that does remarkable things like adding, subtracting, multiplying and dividing through implementation of the strategy pattern.
  • The GOF Abstract Factory Design Pattern In C#Aug 04, 2006. This article covers the basics of the GOF Abstract Factory design pattern by looking at building Model T automobiles.
  • An Elegant C# Data Access Layer using the Template Pattern and GenericsMay 22, 2006. The GOF Template pattern coupled with .NET 2.0 Framework generics provides an awesome synergistic alliance. This article demonstrates how to drastically reduce the amount of code required in building a data access layer. Less code to debug... less code to break... less code to maintain... what could be better?
  • Simple Factory Pattern Side by Side with Abstract PatternMar 02, 2006. This article will discuss the Simple Factory Pattern and how to use it with Abstract Factory Patter discussed in the previous article.
  • Wrapper Patterns in C#, Part III: The Decorator PatternFeb 15, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part II: The Proxy PatternFeb 14, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#: Part IFeb 13, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Understanding C# Events: What They Are and Where They Came FromJan 30, 2006. To help you get a working knowledge of C# events and event handling, this article explains where events come from, what they really are at a functional level and how they are expressed in C#. This article specifically looks at the Gang Of Four (GOF) Observer pattern.
  • C# using the Proxy Pattern to Define RelationshipsJan 23, 2006. I was recently working on a 2.0 Framework project where we had many types of related objects. However, we needed to ensure that there were not multiple instances of the same object in memory. Usually the GOF Proxy pattern is used to hide or control access to an object, but we can also use it to define relationships between objects.
  • Design Patterns in C#Nov 01, 2005. To define design patterns in simple words they are "popular solutions for common design problems". They are very helpful in designing architecture and they also increase ease of communication among the developers.
  • Bridge Patterns in C# Jan 17, 2002. Bridge Pattern is commonly known as Handle/Body idiom in C++ community. This pattern is used for decoupling an abstraction from its implementation so that the two can vary independently.
  • Adapter Pattern in C#Jan 03, 2002. The Gang Of Four (GoF) defined the Adaptor pattern as follows in their most famous book "Design Patterns" Gamma et al. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces."

About gof

NA

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
Download Free eBooks