Warn for multiple registrations for the same type

It is possible to define a type that has multiple implementations which can each be registered separately in the container. When doing this it may not always be clear exactly which instance will be...

Id #20975 | Release: None | Updated: Sep 30 at 8:45 PM by dot_NET_Junkie | Created: Sep 30 at 8:17 PM by qujck

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: Sep 30 at 8:42 PM by dot_NET_Junkie | Created: Sep 30 at 8:06 PM by qujck

Merge Register and RegisterOpenGeneric.

The API currently differentiates the registration of open generic types on the one side and closed generic and non-generic on the other side. Open generics are registered using RegisterOpenGeneric ...

Id #20973 | Release: None | Updated: Sep 29 at 8:41 PM by dot_NET_Junkie | Created: Sep 29 at 8:41 PM by dot_NET_Junkie

Allow RegisterAll to register non-generic and closed generic types

The current implementation of RegisterAll allows registering a set of non-generic or closed generic implementations of a non-generic or closed-generic abstraction. The current implementation of Re...

Id #20971 | Release: None | Updated: Sep 29 at 8:34 PM by dot_NET_Junkie | Created: Sep 26 at 10:20 PM by dot_NET_Junkie

Communicate more expressive exception message when resolving an open-generic type

The container will always create an instance of the requested type. Because of this reason it is impossible to request an open-generic type. Open-generic types can't be created by the .NET runtime....

Id #20970 | Release: None | Updated: Sep 26 at 10:03 PM by dot_NET_Junkie | Created: Sep 24 at 6:22 PM by dot_NET_Junkie

Cyclic dependency undetected in case of callback inside delegate

Simple Injector contains a cyclic dependency detection mechanism that detect most cyclic dependencies and it prevents a StackOverflowException from being thrown. Unfortunately this mechanism fai...

Id #20969 | Release: None | Updated: Sep 20 at 10:11 AM by dot_NET_Junkie | Created: Sep 19 at 3:36 PM by dot_NET_Junkie

ServiceActivationException using Simple Injector Wcf Quick Start

Hello! I'm using Simple Injector Wcf Integration Quick Start Nuget package (2.5.2). WCF Service uses named pipe binding (net.pipe). Without Injector service works fine. But with it I see this ...

Id #20967 | Release: None | Updated: Aug 20 at 6:22 PM by sobuctb | Created: Aug 20 at 2:50 PM by sobuctb

Container should implement IDisposable

See related discussion.

Id #20962 | Release: None | Updated: Sep 22 at 11:43 AM by dot_NET_Junkie | Created: Aug 2 at 10: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: Aug 3 at 12:06 AM by qujck | Created: Jul 20 at 7: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 2 at 11:05 PM by dot_NET_Junkie | Created: Jun 9 at 12:37 PM by dot_NET_Junkie