Background jobs and workers for .NET, backed by persistent storage
open coreLGPL-3.0-or-laterself-hostablefree
Hangfire runs background jobs inside .NET and .NET Core applications without a Windows Service or a separate process, backed by persistent storage (SQL Server, or in-memory; Redis with Hangfire Pro). Jobs are ordinary .NET methods: fire-and-forget, delayed, recurring on a CRON schedule, and continuations that run when a parent job finishes, with automatic retries and a built-in web dashboard. Hangfire Core is free under the LGPL 3.0, including for commercial use. Paid yearly subscriptions add Hangfire Pro (batches, batch continuations, Redis storage) and Hangfire Ace extensions, a commercial licence and email support.
Problems it solves
- run background jobs in my ASP.NET Core app without a separate Windows Service
- schedule recurring CRON jobs in a .NET application
- retry failed background work in C# with a dashboard to see what failed
- a Sidekiq-like job queue for .NET backed by SQL Server
Features
- fire-and-forget, delayed and recurring (CRON) jobs
- continuations
- persistent storage: SQL Server, in-memory; Redis with Pro
- automatic retries
- web dashboard
- batches and batch continuations (Pro)
Ways to run it
Hangfire
free1
Not included
- batches and batch continuations
- Redis storage
- Ace extensions
You arrange
- SQL Server or another supported storage
Hangfire Pro subscriptions
Startup $500, Business $1,500, Enterprise $4,500 per organization per year1
Only in this edition
- Hangfire Pro: batches, batch continuations, Redis storage
- Hangfire Ace (Business and Enterprise)
- private NuGet feed
- email support (Business and Enterprise)
You arrange
- SQL Server or Redis
Capabilities
| Takes plugins | plan not known |
|---|
Alternatives
The same job
These do what Hangfire does.
- Celery Distributed task queue for Python, with real-time processing and scheduling
- Sidekiq Simple, efficient background processing for Ruby
- Upstash QStash Serverless HTTP messaging, queues and scheduling
- Faktory Language-agnostic background job server
