Qqodorsinqodors.hashnode.dev·Jul 1 · 6 min readDependency Injection in .NET Is Easy to Get WrongAlmost every weird intermittent bug I've dealt with in a .NET app traced back to one place: a service registered with the wrong lifetime in Program.cs. Not the logic inside the service. The single lin00
VSVlad Shulczinvshulcz.hashnode.dev·Jun 18 · 8 min readHow I made dependency injection in Python 130× faster: from reflection to compiling the graphThere's a stock argument against DI containers in Python: a container is just overhead, pass the dependency into the constructor yourself and stop overengineering. It sounds reasonable, and I believed10
CDCoding Dropletsincodingdroplets.com·Jun 18 · 10 min readTimeProvider in ASP.NET Core: Enterprise Decision GuideTime-dependent code has always been one of the trickiest surfaces to test correctly in .NET applications. Before .NET 8, engineers typically wrote wrapper interfaces around DateTime.UtcNow, maintained00
CDCoding Dropletsincodingdroplets.com·Jun 13 · 11 min readAddDbContext vs AddDbContextPool vs AddDbContextFactory in ASP.NET Core: Which to Use in 2026?Three Ways to Register DbContext — and Why the Choice Matters Every ASP.NET Core application that uses Entity Framework Core has to answer the same registration question at startup: AddDbContext, AddD00
AArivuincodewitharivu.hashnode.dev·Jun 10 · 4 min read3 Dependency Injection Mistakes I Made in ASP.NET Core ProjectsWhen I first started building ASP.NET Core applications, Dependency Injection (DI) felt like magic. Register a service, inject it into a constructor, and everything just worked. As my applications gre00
VSVlad Shulczinvshulcz.hashnode.dev·Jun 9 · 5 min readWhere should dependency wiring live in a Python app?Python does not need a dependency injection container by default. For small applications, direct constructor calls are usually the best option: repo = UserRepository(settings.database_url) email = Ema01V
CDCoding Dropletsincodingdroplets.com·Jun 4 · 14 min read7 Common ASP.NET Core Dependency Injection Mistakes (And How to Fix Them)Dependency injection is baked into ASP.NET Core so deeply that most developers start using it before fully understanding it. That's fine — until production. When DI goes wrong, the failures are subtle00
VSVlad Shulczinvshulcz.hashnode.dev·May 26 · 6 min readWhen Python manual wiring turns into copy-paste architectureI usually avoid dependency injection containers in Python. Not because dependency injection is bad. Most of us already do it when we pass objects into constructors. I avoid containers because small Py00
CDCoding Dropletsincodingdroplets.com·May 25 · 12 min readObjectDisposedException: Cannot Access a Disposed Context Instance in ASP.NET Core — Root Cause and FixThe error ObjectDisposedException: Cannot access a disposed context instance is one of those production surprises that hits developers at the worst time — usually under load, during a scheduled job, o00
DDeepanjliinbunnylearnscode.hashnode.dev·May 20 · 1 min readDay1Did 2 leetcode problems- Sliding Window MaximumLearned about monotonic queues.. Implementation . Also learned even if algorithm is same, some things can still increase runtime.1. static int dq[100005]00