What is Dependency Injection Service Lifetime in ASP.NET Core?


Dependency Injection (DI) is a core feature of ASP.NET Core that manages object creation and service dependencies. Service Lifetime determines how long a service instance exists within an application. ASP.NET Core supports three service lifetimes: Transient, Scoped, and Singleton, each designed for different application scenarios and performance requirements.
👁 7 Views

Answers


Your Answer


Please login to answer.
Chat with Us