Confusing exception with cyclic dependency

The following test fails. [TestMethod] public void VerifyContainer_NestedObjectGraphWithCyclicDependency_CyclicDependencyNotMessageReported() { // Arrange var container = new Container(); contain...

Id #21022 | Release: None | Updated: Mar 22 at 5:44 PM by dot_NET_Junkie | Created: Mar 22 at 5:44 PM by dot_NET_Junkie

Clean up old backward compatibility code

There is some legacy design that was introduced in v2.4. In v3 we can make breaking changes and fix this old stuff: Make ScopedLifestyle.WhenScopeEnds non-virtual. Make ScopedLifestyle.RegisterFor...

Id #21021 | Release: None | Updated: Mar 19 at 9:03 PM by dot_NET_Junkie | Created: Mar 19 at 9:03 PM by dot_NET_Junkie

Differentiate between diagnostic warnings and diagnostic messages

Currently the Diagnostic Services contain a number of warnings, but some of the returned warnings should be downgraded a level to "Diagnostic Information" or "Diagnostic Message", such as: Potenti...

Id #21020 | Release: None | Updated: Mar 17 at 6:27 PM by dot_NET_Junkie | Created: Mar 17 at 6:27 PM by dot_NET_Junkie

Incorrect behavior with overlapping registration of collections

Simple Injector contains several ways to register collections. The most common way is to call RegisterAll while supplying types, but other options are: Calling RegisterAll while supplying a list o...

Id #21019 | Release: None | Updated: Mar 15 at 3:08 PM by dot_NET_Junkie | Created: Mar 15 at 3:08 PM by dot_NET_Junkie

Replace SimpleInjector.Extensions namespace

For Simple Injector v3, the features in the extensions namespace should be replaced with features in the core library. For instance: RegisterDecorator should become instance methods on the Contain...

Id #21018 | Release: None | Updated: Mar 12 at 10:38 AM by TheBigRic | Created: Mar 12 at 9:45 AM by dot_NET_Junkie

Make RegisterWebApiFilterProvider obsolete.

Dependency Injection into Web API filter attributes is bad practice and this method should therefore be deprecated.

Id #21017 | Release: None | Updated: Mar 11 at 8:07 PM by dot_NET_Junkie | Created: Mar 11 at 8:04 PM by dot_NET_Junkie

Allows suppressing diagnostic warnings

Related to this (closed) work item. Allow diagnostic warnings to be suppressed on a per-registration basis. Example: Registration registration = Lifestyle.Transient.CreateRegistration(typeof(Se...

Id #21016 | Release: None | Updated: Mar 11 at 7:40 PM by dot_NET_Junkie | Created: Mar 11 at 7:38 PM by dot_NET_Junkie

Allow Web Api Dependency Resolver to run in an existing scope

The SimpleInjectorWebApiDependencyResolver will always start a new execution context scope when its BeginScope method is called. Although this is usually not a problem, it makes integrating with OW...

Id #21015 | Release: None | Updated: Mar 9 at 9:47 PM by dot_NET_Junkie | Created: Mar 9 at 9:42 PM by dot_NET_Junkie

Add Container.IsVerifying property

An IsVerifying property should be added to the container to make it easier to do certain registrations for types that can't be verified during application startup or inside an integration test. T...

Id #21014 | Release: None | Updated: Mar 9 at 8:04 PM by dot_NET_Junkie | Created: Mar 9 at 11:00 AM by dot_NET_Junkie

Make LifetimeScoping package available for PCL.

The SimpleInjector.Extensions.LifetimeScoping package is currently only available for the full .NET framework. A PCL version should be created.

Id #21013 | Release: Simple Injector v2.7.3 | Updated: Mar 1 at 5:39 PM by dot_NET_Junkie | Created: Feb 26 at 7:25 PM by dot_NET_Junkie