Fork me on GitHub

Features Edit on GitHub


  • Programmatic Configuration
  • Conventional "Auto" Registration
  • Modular configuration
  • Constructor and Setter Injection
  • Configurable constructor selection
  • Customizable setter injection policies
  • Auto wiring of dependencies
  • Inline dependency configuration
  • Service Location
  • Strategies for registering and utilizing open generic types
  • Lifecycle management and custom lifecycles
  • ASP.Net centric lifecycles with StructureMap.Web
  • Interception and Configurable Decorators
  • Lazy, Func, and Func<string, T> dependencies
  • Auto resolution of enumerable types
  • Auto resolution of concrete types
  • "Profile's" for multi-tenancy or optional modes
  • Diagnostics
  • Auto resolution conventions
  • "Auto Mocking*
  • Simple Auto Factory support
  • Nested and Child Containers

Things StructureMap does not have

The following things are features that are not uncommon in other IoC tools or were present in previous versions of StructureMap.

  • Xml configuration was removed for the 3.0 release.
  • Comprehensive attribute based configuration was also removed for the 3.0 release, but there is some very rudimentary support for attibute based configuration
  • Complex Auto Factory support (this feature may be part of the StructureMap 4.0 release)