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.
- 0:06 – Introduction and Agenda
- 1:45 – Background Tasks
- 5:23 – Hangfire
- 28:40 – Gotchas/tips
- 35:34 – Summary and Questions
- Popular Hangfire extensions (storage providers, logging, monitoring, …)
- Matthew’s blog / Matthew’s Twitch
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.
Subscribe to Blog updates
Thanks, we've got you!
Another Look into the Future with Rider’s Predictive Debugger
In the 2023.2 release cycle, we’ve introduced the Predictive Debugger in ReSharper, which gives you predictions about code paths and variables beyond the current execution pointer. We’ve written extensively about its advantages compared to alternative debugging strategies like thorough thinking, log…
Visualize Entity Framework Relationships and Additional Query Analysis in ReSharper 2023.3
A lot of teams are using Entity Framework or EF Core to work with their database. As an Object-Relational Mapper (ORM), it bridges objects in code to a relational database model, so that as a developer you don’t have to worry too much about the actual database. We all know: that’s not entirely tr…
Automatically Analyze ASP.NET Core Performance With Dynamic Program Analysis
Slow web pages may make your users or customers abandon your web application, even before they’ve had a proper look at it. You’ve likely also been frustrated working with a web application that is slow to load. The good news is that the latest versions of ReSharper and JetBrains Rider’s Dynamic P…
OSS Power-Ups: MassTransit – Webinar Recording
The recording of our webinar, OSS Power-Ups: MassTransit, with Chris Patterson, is available. This was the thirteenth episode of our OSS Power-Ups series, where we put a spotlight on open-source .NET projects. Subscribe to our community newsletter to receive notifications about future webinars.…