NET Centric Computing20805 marksDependency Injection and IOC containers
Mention the two types of services managed by IoC container and how they are registered?
Mention the two types of services managed by IoC container and how they are registered? [5]
The built-in IoC container in ASP.NET Core supports three kinds of service lifetimes, of which the two most commonly highlighted types are: --- - The IoC container creates and shares a single instance of a service throughout the application's lifetime. - The instance is created the first time it ...