NOTE: Simple Injector v1.4.2 NOT the latest release. Please click on the Downloads tab above to find the latest Simple Injector release.
This release now includes integration assemblies for ASP.NET 4.0 and MVC3 and adds a new extensions assembly for .NET 4.0 to enable an advanced lifestyle called Lifetime Scope. The extensions project now contains 'RegisterDecorator' extension methods that replace the old 'RegisterOpenGenericDecorator' extension methods. The new methods allow registering both generic and non-generic decorators. Integration projects have been added to the solution, which should make it easier to integrate Simple Injector with ASP.NET.New features and improvements in this release for the SimpleInjector.dll
Bug fixes in this release for the SimpleInjector.dll
New features and improvements in this release for the SimpleInjector.Extensions.dll
- DebuggerDisplay for InstanceProducers did not work when running the VB debugger.
Bug fixes in this release for the SimpleInjector.Extensions.dll
- New DecoratorExtensions class added. This class replaces GenericDecoratorExtensions and allows registering both generic and non-generic decorators and enables decorating collections that are returned using GetAllInstances or are injected using IEnumerable<T> constructor arguments.
- RegisterManyForOpenGeneric extension method threw an exception which message contained the .NET type instead of the 'friendly' type name, as the rest of the Simple Injector uses.