How-To's Livestreams

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

The recording of our February 13 webinar, Background Tasks Without a Separate Service: Hangfire for ASP.NET, with Matthew D. Groves, is now available. Subscribe to our community newsletter to receive notifications about future webinars.


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’ll look at the basics of setting up Hangfire, and how to perform fire-and-forget, delayed, recurring, and continuations of background tasks. We’ll also look at possible gotchas: debugging, failed jobs, cloud deployment.


Webinar agenda:

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

Resources:

Download Rider and give it a try!


About the presenter:

Matthew D. Groves
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.

Follow him on Twitter.

PS: Join us Thursday, March 26, 2020, 16:00 – 17:00 CET (10:00 AM – 11:00 AM EST) for our free live webinar, Purging the Technical Debt By Using Static Code Analysis Tools, with Brian Di Croce.

image description