Zen and the Art of Dependency Injection in MVC

added by tdupont
7/29/2011 10:05:29 AM

181 Views

Right out of the box the MVC model binders are already injecting models straight into your controllers, so why not take it one more step forward and inject your services too? If you are not already doing TDD with Dependency Injection, then it is time to start. On the plus side, thanks to tools like NuGet, it has never been easier to get started with all of these new fun techniques!


1 comments

vijayst
7/29/2011 10:48:07 PM
Good article. It explains how to use the NInject framework neatly.