Background Tasks Without a Separate Service: Hangfire for ASP.NET



Background Tasks Without a Separate Service: Hangfire for ASP.NET

Background Tasks Without a Separate Service: Hangfire for ASP.NET

If you’re a web developer, eventually you’ll need to do some background processing. This has often meant running separate daemons, services, or Cron jobs, potentially complicating your integration and deployment. With Hangfire, you can create background tasks that run right inside the same .NET or .NET Core application. #Hangfire background tasks can scale easily to multiple servers and can use a variety of durable storage options. You even get a monitoring UI right out of the box.

In this session, we look at the basics of setting up Hangfire, and how to perform fire-and-forget, delayed, recurring, and continuations of background tasks. We also look at possible gotchas: debugging, failed jobs, cloud deployment. #JetBrainsRider #ReSharper

Contents:
0:00 – Introduction and Agenda
1:45 – Background Tasks
5:23 – Hangfire
28:40 – Gotchas/tips
35:34 – Summary and Questions

Resources:
ReSharper – https://jb.gg/243e6z
JetBrains Rider – https://jb.gg/f1fmb5
.NET Tools Blog – https://jb.gg/43eto4
Twitter – https://twitter.com/JetBrainsRider
Facebook – https://www.facebook.com/JetBrains/

About the Presenter:
Matthew D. Groves is a guy who loves to code. It doesn’t matter if it’s C#, jQuery, or PHP: he’ll submit pull requests for anything. He has been coding professionally ever since he wrote a QuickBASIC point-of-sale app for his parent’s pizza shop back in the 90s. He currently works as a Developer Advocate for Couchbase. His free time is spent with his family, watching the Reds, and getting involved in the developer community. He is the author of AOP in .NET (published by Manning), a Pluralsight author, and a Microsoft MVP.

Comments are closed.