Question For You Dependency Injection Buffs
Posted by: youve been HAACKED,
on 27 Nov 2007 |
View original | Bookmarked: 0 time(s)
Im currently doing some app building with ASP.NET MVC in which I try to cover a bunch of different scenarios. One scenario in particular I wanted to cover is approaching an application using a Test Driven Development approach. I especially wanted to cover using various Dependency Injection frameworks, to make sure everything plays nice. Since Ive already seen demos with Castle Windsor and Spring.NET, I wanted to give StructureMap a try. Here is the problem Ive run into. Say I have a class like...