On .NET Framework 4.6.2 application, where there is no built-in DI container we are using LightInject DI Container to object initialization but don't ...
On .NET Framework 4.6.2 application, where there is no built-in DI container we are using LightInject DI Container to object initialization but don't ...
Migrating from 'LightInject' to .netcore DI container. What are the .netcore DI container equivalents of below LightInject related registrations? ...
Using Lightinjector DI framework how to register multiple implementation of same interface? how to mention the same interface on constructor and ask f ...
It was very handy with Autofac on dependency injection. Recently I changed project where lightinject and unitycontainer uses. Here I am able to regis ...
I have an ASP.NET MVC App and I recently upgraded to use LightInject DI. However I cant seem to get Hangfire running correctly, even using the LightIn ...
I am using LightInject and now I need to know how to resolve a type myself. I've tried to use IServiceContainer, but when I inject this interface into ...
I am converting some lightInject code to .netcore DI In .netcore DI, we have AddSingleton and AddTransient functions for registering the service. In ...
In the code below, I am trying to inject a ViewModel into a View, while the ViewModel requires a Model to wrap and another service that is in the cont ...
Apologies for the long text! I'm trying to build a message listener for RabbitMQ in aspnet core 2.1. As soon as I post a message, I get this error in ...
Does anyone know how to configure AutoMapper using LightInject? The AutoMapper documentation only has examples for Ninject and Simple Injector. I am ...
I'm not able to intercept a controller action with arguments. I'm using Asp.Net MVC 5 with LightInject and LightInject.Interception. I receive the fol ...
I want to configure a logger that logs to xUnit test output, and should be substituted for all ILogger<T> dependencies. As far as I can tell, th ...
When using LightInject, how can you use access the Container instance in contexts other than initial registration/bootstrapping? I followed LightInjec ...
I'm new to dependency injection and I find LightInject to start. So I created 2 interfaces and implemented those interfaces into 2 classes. Now, I wan ...
I can't figure out how to use LightInject's API to register all handlers defined in a given class. In this case, defining handlers for Rebus using the ...
Suppose I have ClassA and ClassB inherit from IClass. Now I have a LightInject container and register an instance of ClassA as Now I want to replac ...
I'm trying to create a LightInject bootstrapper for Prism, I've copied the code of the NinjectBootstrapper (source) and replaced Ninject's IKernel wit ...
I've recently been dabbling a bit with IOC Containers (LightInject in my case). I've been reading that you should only need to use the container ONCE ...
i using light inject in asp mvc . using this code in global.asax in asp mvc . and in controller : but it show me this error : Unreso ...
I'm using LightInject with the ServiceProvider adapter on an MVC website. I'm trying to wire it into MiniProfiler, but I'm not having much luck. MiniP ...