.NET
-
Build Your First ETL Pipeline with NBatch
Every application eventually needs to move data in bulk — importing a CSV into a database, transforming records between systems, or running nightly data clean-ups. Writing this from scratch means dealing with chunking, error handling, progress tracking, and restartability. That’s a lot of infrastructure code before you even touch your business logic. NBatch is a… Continue reading
-
Understanding PeriodicTimer in .NET: The Modern Way to Schedule Background Work

PeriodicTimer (introduced in .NET 6) is a lightweight, async‑first timer primitive that fits naturally into modern async/await code and Hosted Services. Unlike the callback‑driven System.Threading.Timer, PeriodicTimer integrates cleanly with CancellationToken, avoids fire‑and‑forget pitfalls, and eliminates accidental overlapping execution.If you’re building a background worker, scheduled job, or recurring task inside an IHostedService or BackgroundService, PeriodicTimer is… Continue reading
-
ASP.NET Core HybridCache library

Almost all real-world applications need to implement a caching mechanism. Caching can drastically improve application performance, scalability, and user experience while optimizing resource use and reducing costs. .NET supports both in-memory and distributed cache implementation and is easily configured via middleware. Additionally, the application code interacts with the IDistributedCache interface and remains completely abstracted away… Continue reading
