Improve exception message in case of registering type with primitive value

source: When resolving a type with a primitive dependency in its constructor, the container currently throws a message s...

Id #20986 | Release: None | Updated: Nov 24 at 3:33 PM by dot_NET_Junkie | Created: Nov 24 at 3:33 PM by dot_NET_Junkie

Let AppendToCollection accept open-generic types

Since v2.6 RegisterAll allows registering open-generic types as well, but it is currently impossible to append open generic types to collections. This is actually a quite nasty one to implement, ...

Id #20985 | Release: None | Updated: Nov 17 at 10:33 PM by qujck | Created: Nov 17 at 9:51 PM by dot_NET_Junkie

Allow resolving variant implementations as well

In one of my old articles I describe the reason why Simple Injector does not resolve variant implementations out of the box. Basically, the reasoning is explained in the following paragraph: For i...

Id #20984 | Release: None | Updated: Nov 10 at 11:05 PM by dot_NET_Junkie | Created: Nov 10 at 9:53 PM by dot_NET_Junkie

Warning when a registered open generic has not been verified

tl;dr: the container cannot guess how to close an open generic type for verification. The diagnostic services cannot verify an open generic that is not explicitly defined somewhere else within th...

Id #20974 | Release: None | Updated: Oct 26 at 3:00 PM by dot_NET_Junkie | Created: Sep 30 at 9:06 PM by qujck

Container should implement IDisposable

See related discussion.

Id #20962 | Release: None | Updated: Nov 3 at 1:25 PM by dot_NET_Junkie | Created: Aug 2 at 11:09 PM by dot_NET_Junkie

Warn when IDisposable components are registered as transient

Add a rule to the diagnostic services that warn when a component is registered as transient that implements IDisposable. The transient lifestyle does not dispose any instances, so this might be an ...

Id #20957 | Release: None | Updated: Nov 6 at 4:14 PM by dot_NET_Junkie | Created: Jul 20 at 8:06 PM by dot_NET_Junkie

Disallow wrapping container uncontrolled collections with singleton decorators

Because of backwards compatibility the container allows wrapping elements of container uncontrolled collections with decorators that are registered as singleton. This can however easily go wrong, w...

Id #20953 | Release: None | Updated: Aug 3 at 12:05 AM by dot_NET_Junkie | Created: Jun 9 at 1:37 PM by dot_NET_Junkie

Combine IConstructorVerificationBehavior and IConstructorInjectionBehavior

In a quest to make interfaces narrow and follow the Interface Segregation Principle, Simple Injector 2.0 added three new interfaces that each contained one method. Later on however I realized that ...

Id #20952 | Release: None | Updated: Jun 9 at 10:05 AM by dot_NET_Junkie | Created: Jun 9 at 10:05 AM by dot_NET_Junkie

Integration package for Entity Framework

Entity Framework 6 now support dependency injection through the IDbDependencyResolver interface : See :

Id #20949 | Release: None | Updated: Nov 25 at 7:16 PM by abatishchev | Created: May 14 at 3:21 AM by Maly

WcfOperationLifestyle works as session lifestyle

When the WCF service is configured using establishSecurityContext=true (see here), any service configured using the WcfOperationLifestyle will live as long as the client proxy lives. So the lifesty...

Id #20770 | Release: None | Updated: Sep 8 at 7:44 PM by dot_NET_Junkie | Created: Feb 25 at 3:52 PM by dot_NET_Junkie