By tag: pattern
0
kicks
Pattern Focus: Strategy Pattern
This post describes how to implement the Strategy Pattern to create filtering functions using C# and the interface approach.
0
kicks
Pattern Focus: Strategy Pattern using Delegates
Take your usage of strategies one step further; utilize C# delegates and anonymous methods to create a neat api for your domain.
0
kicks
Logging anti-patterns
Following these few simple guidelines can make lives of both developers and support much easier in the long term.
0
kicks
The Adapter Pattern
A good clear explaination of the adapter patter ... clear explainations and real world analogies with code (vb.net 2003 ... but the code is quite generic).
0
kicks
Common Pattern For Working With IComparer
A common pattern that I use when working with IComparer interface that makes the code more usable and intelisense friendly.
0
kicks
Good Design Minimizes The Impact Of Changes
The title says most of what needs to be said ... a short article on how design patterns can make our code more maintainable.
0
kicks
Refactoring Competition
Bill McCafferty is running a weekly competition with a prize of a book and CodeIt.Once Refactoring tool 3-User license pack!
Check it out,code away and win.
0
kicks
Exception In Event Handler
What happens if an event handler throws an exception and what should be done about it. An overview of possible solutions.
0
kicks
Common Pattern For Working With DataReader
A description of a common pattern for working with DataReader object which as described here:
http://vaultofthoughts.net/WhatYouShouldDisposeWhenUsingADONET.aspx
Is IDisposable and should be disposed!
0
kicks
The ASP.NET Singleton-per-Request pattern
Implementing the Singleton pattern applied to the Request-Response pair in ASP.NET
0
kicks
An Abstract Factory using the app.config and Reflection
An Abstract Factory is a method that allows us to dynamically load a set of custom functionally that conforms to a well defined interface, usually at runtime.
0
kicks
The GOF Abstract Factory Design Pattern In C#
The abstract factory is a GOF (Gang of Four) creational pattern where the intent is to "...provide an interface for creating families of related or dependent objects without specifying their concrete classes".
0
kicks
Navigation Patterns in Web Application
Several patterns of navigation and samples from real application. Simple "3 questions" navigation test
0
kicks
PrestonLee.com - Singletons Cause Cancer
Singletons can be hazardous to your health, seriously jeopardize your family’s safety, and have been classified as “terrorist patterns” by the U.S. government. The fact that an application only needs one instance of something does not mean the object should be designed that way, and there aren’t ver...