NET Centric Computing20815 marksDependency Injection and IOC containers
Describe the life cycle of Dependency Injection container.
Describe the life cycle of Dependency Injection container. [5]
In ASP.NET Core, the built-in IoC (Inversion of Control) container manages the creation and lifetime of service instances. The lifetime of a service defines how long an instance lives and when a new instance is created. There are three main service lifetimes: --- - The IoC container creates a new...