Tactics for Building Background Services in .NET
summary
Compares concrete tactics: runs a demo cleanup job that deletes temp files on a 15s schedule to show how .NET hosted services and Windows services run inside the process, how Quartz gives millisecond cron precision, how Hangfire UI enqueues and retries jobs with a SQL Server backing store, and how Azure Functions auto-scales to consume huge queues (author cites processing hundreds of thousands of items cheaply) while offering built-in retries; notes failures crash local consoles, deployment and backing-store tradeoffs, and when each method actually works.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 2:32Talk overview
- 9:14Background services fundamentals
- 12:05Background services types
- 14:08Hosting options
- 16:56.NET hosted services
- 21:12Windows service demo
- 25:56Hosted services pros/cons
- 28:02ASP.NET Core hosted services
- 31:59Quartz.NET scheduling
- 32:41Quartz.NET intro
- 34:49Quartz.NET demo
- 38:22Quartz.NET pros/cons
- 39:03Hangfire intro
- 41:08Hangfire demo
- 46:46Hangfire pros/cons
- 52:53Azure Functions
- 53:36Azure Functions demo
- 58:22Azure Functions pros/cons
- 59:47Conclusion & Q&A
related talks
42mServer-less compute with .NET based Azure Functions
54mDeveloper Fundamentals of Serverless NET Development with Azure Durable Functions
48mServerless Architecture in Azure
46mDeveloper Fundamentals of Serverless.NET Development with Azure Durable Functions
47mAzure Functions PowerShell: The Missing Manual
01h 00mServerless Trends of the Season
39mIntroducing Azure Functions for serverless .NET
01h 01mServerless Azure Data handling
