[Solved] Converting lightInject to .netcore DI

based on documentation The default behavior in LightInject is to treat all objects as transients unless otherwise specified. So in .Net Core, you would need to register your services as transient. A little bit about lifetimes: Transient Transient lifetime services (AddTransient) are created each time they’re requested from the service container. This lifetime works best … Read more