skip to the main content area of this page
Patterns and Practices

 

StructureMap 2.5.1 Released - Dependency Injection and Inversion of Control Container


Jeremy Miller mentions the release of StructureMap 2.5.1, which is a dependency injection and inversion of control container for .NET. Other popular IoC Containers are Autofac, Castle Windsor, Ninject, Spring, Unity, etc. I mentioned a few StructureMap Tutorials in the past.

Jeremy mentions a few highlights of the latest StructureMap 2.5.1 Release:

  • Fixed issue with With<T>(object).GetInstance<U>() functionality.  This is now much more robust.
  • Bug fix for Hybrid scoping
  • TryGetInstance() and TryGetNamedInstance().
  • Ignore setter emitting for indexer properties -- fixed a bug reported on the forum
  • Multithreading lock problem fixed by Josh
  • Patch for session lifetime.  There is now an option for "CacheBy(InstanceScope.HttpSession)"
  • Fixed Public IDictionary setter injection in xml
  • Pete Johnson's fix for ObjectFactory.Configure() setting policy.  You can now set the scoping/lifecycle of a PluginType from Configure()
  • EjectAllInstances<T>() clears out Singleton objects now (and calls Dispose() if appropriate)
  • Josh has added an experimental debugger visualizer for StructureMap Container's
  • A minor performance enhancement that stops StructureMap from doing a scan of all types on the StructureMap assembly itself.

You can download StructureMap 2.5.1 here.

 

Related Posts:


Tags: DependencyInjection, IoC, StructureMap


Topics



 

Popular Tags



Recent Links