Version 3 of the StructureMap Dependency Injection / Inversion of Control library for .NET
Home page: https://structuremap.github.io/
What’s Different and/or Improved in StructureMap 3?
Details taken from http://jeremydmiller.com/2014/03/31/structuremap-3-0-is-live/
- The diagnostics and exception messages are much more useful
- The registration DSL has been greatly streamlined with a hard focus on consistency throughout the API
- The core library is now PCL compliant and targets .Net 4.0. So far SM3 has been successfully tested on WP8
- Removed strong naming from the public packages to make the world a better place.
- Nested container performance and functionality is vastly improved (100X performance in bigger applications!)
- Xml configuration and the ancient attribute based configuration has been removed.
- Interception has been completely rewritten with a much better mechanism for applying decorators (a big gripe of mine from 2.5+)
- Resolving large object graphs is faster
- The Profile support was completely rewritten and more effective now
- Child containers (think client specific or feature specific containers)
- Improvements in the usage of open generics registration for Jimmy Bogard
- Constructor function selection and lifecycle configuration can be done per Instance (like every other IoC container in the world except for SM < 3.0)
- Anything that touches ASP.Net HttpContext has been removed to a separate StructureMap.Web nuget.
- Conventional registration is more powerful now that the configuration model is streamlined and actually useful as a semantic model