SimpleInjector icon indicating copy to clipboard operation
SimpleInjector copied to clipboard

An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.

Results 45 SimpleInjector issues
Sort by recently updated
recently updated
newest added

My dependencies are registered in SimpleInjector. A part of my code uses ServiceCollection so I want calls to serviceCollection.GetService() to go and get the service from my SimpleInjector container. I...

question

Hi, After poking about with minimal APIs with the view to move some of our older, basic WCF services to minimal APIs, I've not been able to find any information...

question

### Background My container has ~900 registrations, of which ~200 are reported as roots by container verification. Verification is done explicitly. Due to challenges with excessive time spent in transient...

question

I'm interested in your recommendations for implementing a multi-tenancy with Web API and ASP.NET Core 6. Firstly I have followed the tutorial here to get the basics setup and that...

question

I'm dealing with a startup issue in my application, where the constructors of the various objects may be taking longer than they should. Since they're all created by Simple Injector,...

question

When it comes to constructing object graphs of large applications, it can get hard to keep track of what developers check in and spot when they accidentally create constructors that...

feature
discussion

Code to demonstrate the problem: ``` c# public abstract class BaseComponent { [Dependency] private ILogger logger { get; set; } public bool HasLogger => this.logger != null; } public class...

bug
breaking change

These are the changes which are required for source link. (https://github.com/simpleinjector/SimpleInjector/issues/884) For information about the properties, see https://github.com/dotnet/sourcelink/blob/master/docs/README.md I can rename the `$(GITHUB_ACTIONS)` variable, since you do not use Github_Actions...

Simple Injector users keep struggling with a particular use case that allows them to apply a repeating class over collection of other types. The following issues show use cases for...

feature

Currently, Simple Injector completely skips verification of open-generic registrations that have no (registered) (closed or non-generic) consumers. The reason for this is 'omission' is that in order to verify a...

feature