~/talk

A Deep Dive on Running Background Tasks in .NET Core

Talkat DevConf 2023 · 2023-11-08..11-10· [dotnet, devops-and-delivery]
slides:none on file

Covers concrete options: BackgroundService/IHostedService for simple timers and long‑running loops, worker service and Windows Task Scheduler for legacy VMs, Hangfire with Hangfire recurring jobs and built‑in retries and dashboard, Azure Functions with cold starts and a $157/mo Premium tier, and container approaches for heavy CPU work. Gives a case study where moving from Azure Functions to Kubernetes yields 80% cost savings, shows health checks and logging strategies for observability, and warns against running CPU‑bound work inside web apps.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:04Why background tasks matter
  3. 5:00Legacy systems and task scheduler
  4. 11:57IHostedService and background services
  5. 19:20Worker service project template
  6. 23:13Hangfire for background jobs
  7. 30:58Azure Functions for tasks
  8. 36:26Azure Web Jobs overview
  9. 37:08Containers for background tasks
  10. 41:42Customer case study scaling
  11. 44:10Observability and monitoring
  12. 46:44Health checks in .NET Core
  13. 48:56Q&A and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.