Enterprise Library with StructureMap

Topics: Enterprise Library Core, Logging Application Block
May 14, 2012 at 1:39 PM

I'm trying setup a testable EL Logging, with structuremap as IOC, I stuck with how to configure a type against LogWriter

May 14, 2012 at 7:10 PM

You will need to create a ContainerConfigurator (implement the IContainerConfigurator interface).  That is, unless one has already been created  for StructureMap (but I didn't find one).  You can use the UnityContainerConfigurator as an example.  Or you can also look at the WindsorContainerConfigurator from the EntlibContrib project as another example.

A good overview of the architecture is Enterprise Library 5.0: Some Architecture Changes.

Randy Levy
Enterprise Library support engineer