Browse Site by Tags

Showing related tags and posts across the entire site.
  • StructureMap and Loaded Plugins Gotcha

    One of the really great things about the latest release of StructureMap is that I do not need to register objects by default if they follow a standard convention (i.e. if I want to register a controller called ‘AuthorController’ and accessed via ‘AuthorController’ I do not need to do anything, SM is...
    Posted to Derik Whittaker by Derik Whittaker on 12-18-2008
    Filed under: Agile, .Net, StructureMap, ASP.Net MVC
  • Pulling all instances for a base type out of StructureMap

    *** There may be a better way to do this with StructureMap, but this is the way I was able to get this to work *** Today I decided I wanted to move all my route mapping for Dimecasts out of the Global.asax file and into each of the various Controllers. I wanted to do this for two reasons. I was starting...
    Posted to Derik Whittaker by Derik Whittaker on 12-05-2008
    Filed under: Development, StructureMap, HowTo, ASP.Net MVC
  • Notes from upgrading from StructureMap 2.4.9 to StructureMap 2.5.0

    Tonight I updated the Dimecasts codebase from the 2.4.9 version of StructureMap to 2.5.0 and ran into few scenarios where some 'hefty' changes were required. I thought I would share the 2 major areas that needed change. Adding named concrete instances for a given interface: Was AddInstanceOf<IAddin>...
    Posted to Derik Whittaker by Derik Whittaker on 10-21-2008
    Filed under: StructureMap
  • Setup up StructureMap 2.5 to Auto Configure your dependencies

    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 needed to do something like this: StructureMapConfiguration...
    Posted to Derik Whittaker by Derik Whittaker on 10-13-2008
    Filed under: StructureMap, HowTo
  • Partial Mocks with the StructureMap AutoMocker

    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. Our Class we want to mock public class VisitReassignmentRule...
    Posted to Derik Whittaker by Derik Whittaker on 10-10-2008
    Filed under: Development Tools, StructureMap, Rhino Mocks, HowTo
Page 2 of 6 (120 items) < Previous 1 2 3 4 5 Next > ... Last »

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Google Reader or Homepage Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of
Red-Gate Tools For SQL and .NET


SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
NHibernate Profiler
Balsamiq Mockups
JetBrains - ReSharper
Web Sequence Diagrams
Ducksboard<-- NEW Friend!


Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers


Community Server (Commercial Edition)