cd/entity/OrderDbContextยท homeโ€บ entitiesโ€บ OrderDbContext
grep -l @orderdbcontext /news/*.json | wc -l โ†’ 1

@OrderDbContext

mentions 1 type Organization feed RSS
22:23
2026-05-21
dev.to
developer-tools

The Scoped Singleton DI Bug Your AI Just Suggested

Common software bug where a Scoped service (like `OrderService`) caches an entity from a Scoped `DbContext` into a Singleton service (like `IMemoryCache`). This causes data corruption and crashes in pโ€ฆ

// co-occurs with top 3 entities