Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool
Browse by Tags
All Tags »
HowTo »
StructureMap (
RSS)
-
|
One of the great new features with StructureMap 2.5 is the ability to have the container auto-wire you dependencies. This means that if you want to you do not need to register all your types. Prior to this release if you wanted to map IFoo to Foo you...
|
-
|
If you have not checked out the new AutoMocking Container that is part of StructureMap 2.5 I would highly suggest you do, it rocks. I thought I would show how simple it is to create a PartialMock on the Class under Test (CUT) when using the RhinoAutoMocker...
|
-
|
I have been giving the AutoMocker that is part of StructureMap 2.5 a go lately. Today I was trying to setup my test and I get running into the following error: failed: StructureMap.StructureMapException: StructureMap Exception Code: 230 Cannot call "FillDependencies"...
|
-
|
One of the really great things about the ASP.Net MVC framework is how extendable it is. One area of extension is in the area of controller creation. The framework allows you to replace the default ControllerFactory with your own factory and because of...
|
-
|
With the most recent drop of StrcutreMap (2.4.9 -- aka 2.5) you now have the ability to put your wiring information inside the app.config file. Prior to this you needed to either use the StructureMap.config file or wire your dependencies up in code. So...
|
-
|
Today I was putting together a test app for a few presentations I am doing in the coming weeks (announcements on these coming soon). While doing this I kept getting a 101 exception when trying to build an object via StructureMap's ObjectFactory...
|
-
|
This is just a short FYI post because this caused me some headache recently. One thing to keep in mind when you are using StrucutreMap and are Injecting Stubs into the ObjectFactory, you will want to reset the ObjectFactory engine after you done with...
|
More Posts