Posts

Showing posts with the label Design Patterns

How to write Unit testable code?

The below article may be older, but it gives how to start your classes to make more unit testable. http://www.asp.net/mvc/overview/older-versions-1/contact-manager/iteration-4-make-the- application-loosely-coupled-cs http://web.archive.org/web/20150318150744/http://www.remondo.net/repository-pattern-example-csharp/

Good article of IoC & Dependency Injection

http://www.codeproject.com/Articles/615139/An-Absolute-Beginners-Tutorial-on-Dependency-Inver

Design Patterns

The following link explains four design patterns using real time example. 1) Observer Pattern (Behavioral) 2) Strategy Pattern (Behavioral) 3) Decorator Pattern (Structural) 4) Builder Pattern (Creational) http://amazedsaint.blogspot.com/2008/01/design-patterns-part-i-and-ii.html