Overview
Explore the world of background tasks in .NET Core through this comprehensive 59-minute conference talk. Dive deep into various scenarios for background tasks, from long-running operations to message queue processing and retry mechanisms. Examine multiple solutions including IHostedServices, BackgroundServices, Worker Services, and Hangfire, comparing their pros and cons and learning when to choose each option. Gain a thorough understanding of how these solutions work under the hood, and discover cloud options for implementing background tasks. By the end of the talk, acquire valuable insights and resources to effectively implement background tasks in your .NET Core applications.
Syllabus
Intro
What problem do background tasks solve
What is an IHostedService?
How does an IHostedService work?
What is a Background Service?
How does a Background Service work?
When do I use Background Service?
When do I NOT use Background Service?
What is a WorkerService?
How does a WorkerService work?
How do I host WorkerServices?
When do I use WorkerServices?
When do I NOT use WorkerServices?
What is Hangfire?
How does Hangfire work?
When do I use Hangfire?
When do I NOT use Hangfire?
Cloud options
Takeaways
Resources
Taught by
NDC Conferences