SimpleInjector
SimpleInjector copied to clipboard
An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
Hi. We have a service application which runs multiple scheduled tasks/jobs (using Quartz.Net). Using ExecutionContextScope we wrote it so every task gets its own instances of every dependency when it...
Our current code base has a lot of legacy classes that we are trying to migrate to Simple Injector. Some classes are implemented on Interfaces that inherit `IDisposable`, and Simple...
We get this every once ina while and not sure why exactly but it causes our site to hang. Is this a SimpleInjector issue? Below is the dmp file output....
Hello - just wondering if you accept donations to help support the project?
Copied from #296.
Simple Injector supports injecting metadata into decorators [for a long time](https://simpleinjector.org/aop+using-contextual-information-inside-decorators) through the use of `DecoratorContext`. More recently (v5) metadata support has been added more broadly through the use of...
Since its inception, the Simple Injector `Container` class implements `System.IServiceProvider`. [IServiceProvider](https://docs.microsoft.com/en-us/dotnet/api/system.iserviceprovider.getservice?view=net-5.0#System_IServiceProvider_GetService_System_Type_) "defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects."...
[Source link](https://devblogs.microsoft.com/dotnet/producing-packages-with-source-link/) is a great feature enabling easy and frictionless debugging of nuget packages. I'd love to have source link support in SimpleInjetor. This would make it very easy to...
The Simple Injector code base is currently verified using the deprecated StyleCop VS extension. This extension hasn't been maintained for several years and shows parsing errors on lines that use...