Thiru LogsAll FAQs
.NET & C# ยท ASP.NET Core

What is dependency injection lifetimes in ASP.NET Core?

BeginnerUpdated 2026-08-08

ASP.NET Core has transient, scoped, and singleton service lifetimes. Transient creates a new instance per resolution, scoped usually creates one per request, and singleton creates one for the application lifetime.

#aspnet-core#dependency injection lifetimes