When resolving a type with a primitive dependency in its constructor, the container currently throws a message s...
Id #20986 | Release:
| Updated: Nov 24 at 3:33 PM by dot_NET_Junkie | Created: Nov 24 at 3:33 PM by dot_NET_Junkie
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: Nov 17 at 10:33 PM by qujck | Created: Nov 17 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: Nov 25 at 7:16 PM by abatishchev | 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