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.