TekinAli ⎇ main

Blog · 1 files

NameTagsDateRead
August 2026 · 1 posts
transient-scoped-singleton-captive-dependency.md Service lifetimes in ASP.NET Core: transient, scoped, singleton and the captive dependency trap What transient, scoped and singleton really mean, how a scoped DbContext gets trapped in a singleton, how scope validation catches it, and how to handle background services, thread safety, keyed services (.NET 8) and HttpClient lifetimes. .NET #dotnet #aspnet-core #dependency-injection 6 min
tekinali.db · read-only · ● connected

SQLite 3.53.3 · 8 tables, 2 views.

Click a table on the left, pick a query below or write your own. Help: \?

↑↓ select · Enter open · Esc close