Improve WCF services testability with simple Dependency Injection
Dependency injection is a great technique to reduce coupling between components and improve testability. There are few techniques we can create dependency injections, you can use a framework like MEF or spring to Automate dependency injection but I personally favor manually injected dependencies . call me old fashion, but I like creating object via simple constructor calls (most of the time). This is really straight forward most of the time but when dealing with WCF services there is a slight complexity...
Posted:
Jan 30 2012, 12:38 PM
by
Yaniv Rodenski
| with 5 comment(s)
תגים:DEV, TDD, WCF, testability, Dependency Injection




