LightInject icon indicating copy to clipboard operation
LightInject copied to clipboard

An ultra lightweight IoC container

Results 105 LightInject issues
Sort by recently updated
recently updated
newest added

Maybe You will be interested in hosting API Explorer online: [www.robiniadocs.com/d/lightinjec](https://www.robiniadocs.com/d/lightinjec/api/LightInject.ServiceRegistryExtensions.html?q=register)

My understanding of having everying abstracted to interface (etc IServiceFactory) is allowing customization. But in the Scope constructor, it casts the ServiceFactor from IServiceFactory to ServiceContainer. Makes the interface IServiceFactory...

Observed in a asp.net app ``` [21:52:57] : [Step 1/1] System.InvalidOperationException : Collection was modified; enumeration operation may not execute. [21:52:57] : [Step 1/1] Stack Trace: [21:52:57] : [Step 1/1]...

I would like to mark all service class with an annotation (or a specific property) containing the name to be used in Registration when loading from assembly. ``` [AutoWireName("GET_ALL_USERS")] public...

My particular case is related to Telerik reporting components. Reporting attempts to resolve service `IReportServiceConfiguration` which leads to `CompositionRootTypeExtractor` execution, which fails due type load exception. Indeed, some of the...

Added GetRegisteredServices methods to expose the list of ServiceRegistrations available for a given type. This makes it possible to create a JsonContractResolver which resolves to the LightInject supplied type. Also...

Hey, I have a .NET 472 mvc application running in production that uses LightInject and LightInject.Web packages. I have an internal package that is basically a wrapper around LightInject package.After...

Follow up on discussion https://github.com/seesharper/LightInject/issues/103. Proposed change: to have an option to disable the default behaviour that scans assemblies for `ICompositionRoot` implementation when a type is missing from the service...