Running Background Tasks in .NET Core – In App, The Cloud, and Beyond

Comprehensive guide to implementing background processing in .NET applications across different hosting models.

Duration: 60 minutes
Level: Intermediate
Presented: 4 times
.NET Core Background Tasks Cloud Architecture

Abstract

Background tasks are essential for modern applications, but implementing them correctly can be challenging. This session provides a comprehensive guide to background processing in .NET, from simple in-process tasks to distributed cloud-based solutions.

We'll explore IHostedService, BackgroundService, and how to implement robust background processing with proper error handling, cancellation, and monitoring. You'll learn about different hosting models including Azure Functions, AWS Lambda, and container-based solutions, with practical guidance on choosing the right approach for your needs.

Presentation History

Update Conference

Prague, Czech Republic • November 2024

Beer City Code

Grand Rapids, USA • August 2024

DevConf Poland (as "A Deep Dive on Running Background Tasks in .NET Core")

Kraków, Poland • November 9-10, 2023

KCDC

Kansas City, USA • August 2022

Interested in this talk?

I'd be happy to present this talk at your conference, meetup, or corporate event. Let's discuss how this session can bring value to your audience.