Community Question
What is Dependency Injection Service Lifetime in ASP.NET Core?
Share knowledge. Learn from experts. Build together.
Question
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.
Answers
No answers yet
Be the first person to share your knowledge.
Your Answer
Login required
Please login to participate in this discussion
and post your answer.