A .NET 8 experiment comparing 100 Task.Delay calls with blocking Thread.Sleep tasks, explaining thread-pool limits, starvation, and why await scales better.
Learn why awaiting independent async calls in a loop runs them sequentially, and how Task.WhenAll, throttling, and error handling enable safe concurrent execution.
Concurrency advice is usually delivered as rules: "use lock ", "prefer Interlocked ", "avoid shared state". Rules are easier to remember when you have watched them fail. So I built a deliberately small experiment, incrementing one counter 100,000 times with Parallel.For , and measured what happens w
Learn how to safely parallelize C# batch processing by giving each thread its own database connection and transaction, while controlling workload distribution and concurrency.
Compare ASP.NET Core Minimal APIs and Controllers, and learn how API size, endpoint relationships, and shared dependencies influence the right choice.
Why a simple two-step database saves, sharing one connection and transaction, is a genuine instance of the Unit of Work pattern - even without a dedicated class or explicit naming
Why a correct database transaction doesn't guarantee accurate UI communication — and why showing a success message before a multi-step save fully commits can mislead anyone reconciling data later.
Learn how to handle lost responses after database commits using idempotency, operation IDs, state-based guards, and clear retry messaging in payroll systems.
Learn how to accurately identify Repository and Template Method patterns in C# by examining real enterprise .NET code and avoiding misleading pattern labels.
Learn how ASP.NET Core dependency injection interfaces improve unit testing, dependency substitution, and maintainability compared with direct concrete class registration.
Learn how ASP.NET Core dependency injection lifetimes affect concurrency, shared mutable state, and request safety, with practical Singleton vs Scoped guidance in production.
Learn how a 2-layer Controller and Data Access architecture applies OOP principles like abstraction and encapsulation while keeping enterprise applications maintainable.
Learn how to choose HTTP verbs in ASP.NET Core Web APIs based on resource semantics, including when to use GET, POST, PUT, PATCH, and DELETE for real business operations.
Learn OOP concepts in C# with a practical HR and Payroll leave approval example covering classes, objects, abstraction, encapsulation, inheritance, polymorphism, and interfaces.
Learn how ASP.NET Session state can cause multi-tab bugs, why record-specific data should not rely on Session, and how to use request context and server-side validation.
Troubleshoot Oracle PLS-00201 errors in .NET ADO.NET applications by checking object names, schema, package status, procedure signatures, privileges, and synonyms.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article