Blog109K views4,800 votes1 reply1 comment3,728 following
Picking the Right Service Lifetime in ASP.NET Core: Singleton, Scoped, or Transient
Singleton, Scoped, or Transient? A concrete, runnable example shows how ASP.NET Core service lifetimes behave, how scoped-from-singleton captures cause cross-request bugs, and how to catch them at startup.
service-lifetimesdotnet-coredependency-injectionTasadduq Burneyowner35.3K rep · 15 Mar 2026, 08:41 UTC