4 Advil later and my head really hurts. Here is a little story about how a simple little typo can really cause major headaches and pain. Yesterday I was in the process of setting up one of our new WCF services to use Jimmy Bogard’s solution to use StructureMap to create our services. At one...
Today I was trying to debug an issue with some new code that we are working on. During my initial development all my tests worked and everything was fine. However, when I actually hooked up all the pieces and tried to run the new code as a full unit I was receiving the dreaded “ StructureMap...
Today I was trying to retrofit the source code from Stephen Bohlen’s great SOLID Dimecasts on Dependency Inversion (episode will be released on 3/26/2009) in order to have it use StructureMap (in order to better show the DIP concept in the episode Stephen did not show the use of an IoC container). ...
In a previous post I talked about how you can setup StructureMap to create and use profiles . In this post I would to show you how you can swap out an instance of an object which is part of the profile with a fake/stub for testing. I ran into this scenario the other day while creating a test and...
In a previous post I talked about how you can setup Contextual Binding and Profiles with StructureMap 2.5. However since this post was published, the way you can configure Profiles has changed. Because of this I thought I would post a follow-up on how to do this. I also wanted to give...