Articles : Page 1 of 1
- Filter:
- DependencyInjection
- Nerddinner
-
The religion of dependency injection
May 1020A quick way to explain a set of differing opinions is to label it as “a religious argument”. In a post about using MEF on NerdDinner, Scott Hanselman showed an example on using poor man’s DI versus regular DI. Now, the post wasn’t about that topic, but more on how to integrate MEF with ASP.NET MVC. I do get rather annoyed at comments like this however (emphasis mine): The second constructor takes an IDinnerRepository, allowing us to make different implementations, but the default constructo...
- 1

