One of the new features that is part of the next release of StructureMap 2.5 is a AutoMocking Container. What is an AutoMocking Container, well per Jacob over at Eleutian an AutoMocker is AutoMockingContainer is simply a IoCContainer with a custom facility and dependency resolver that supplies a Mock...
***** DISCLAIMER ***** The techniques and information here were not all thought up by me. I got a lot of this from Scott Hanselman's screencasts, and at looking at other MVC projects. I am only putting this into a post to have a single point of reference for the next guy. ***** END DISCLAIMER **...
Have ever wanted to use a concrete class as both the the PluginFamily and Plugable (information on StructureMap's attributes here ) type in StructureMap ? I know I have, just today in fact (not the first time, but thought I would post about it this time) I needed to do just this. Why would I want to...
This post is in response to Sam Gentile's post over at code better I'm Learning Rhino Mocks NHibernate StructureMap Policy Injection Blocks Log4Ne t (yea I know, what took so long. Answer, last few apps use the Logging App Block) MonoRail (about to start playing with that) Castle Windsor if I find time...