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:
| Updated: Mon at 10:33 PM by qujck | Created: Mon at 9:51 PM by dot_NET_Junkie
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:
Id #20984 | Release:
| Updated: Nov 10 at 11:05 PM by dot_NET_Junkie | Created: Nov 10 at 9:53 PM by dot_NET_Junkie
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:
| Updated: Oct 26 at 3:00 PM by dot_NET_Junkie | Created: Sep 30 at 9:06 PM by qujck
See related discussion.
Id #20962 | Release:
| Updated: Nov 3 at 1:25 PM by dot_NET_Junkie | Created: Aug 2 at 11:09 PM by dot_NET_Junkie
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:
| Updated: Nov 6 at 4:14 PM by dot_NET_Junkie | Created: Jul 20 at 8:06 PM by dot_NET_Junkie
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:
| Updated: Aug 3 at 12:05 AM by dot_NET_Junkie | Created: Jun 9 at 1:37 PM by dot_NET_Junkie
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:
| Updated: Jun 9 at 10:05 AM by dot_NET_Junkie | Created: Jun 9 at 10:05 AM by dot_NET_Junkie
Entity Framework 6 now support dependency injection through the IDbDependencyResolver interface :
See : https://entityframework.codeplex.com/wikipage?title=EF%20Configuration%20and%20Extensibilit...
Id #20949 | Release:
| Updated: May 14 at 9:52 AM by dot_NET_Junkie | Created: May 14 at 3:21 AM by Maly
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:
| Updated: Sep 8 at 7:44 PM by dot_NET_Junkie | Created: Feb 25 at 3:52 PM by dot_NET_Junkie
Hello, I am using this wonderful library in my own ASP.NET application framework, everything is good, but periodically my application crashes, and stack shows error is originated from SimpleInjecto...
Id #20677 | Release:
Simple Injector v2.5.2
| Updated: Aug 25 at 12:49 PM by joshua0420 | Created: Jan 28 at 10:42 AM by joshua0420