Hangfire 1.8.0-beta3

Prefix Reserved
This is a prerelease version of Hangfire.
There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Hangfire --version 1.8.0-beta3
                    
NuGet\Install-Package Hangfire -Version 1.8.0-beta3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hangfire" Version="1.8.0-beta3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hangfire" Version="1.8.0-beta3" />
                    
Directory.Packages.props
<PackageReference Include="Hangfire" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hangfire --version 1.8.0-beta3
                    
#r "nuget: Hangfire, 1.8.0-beta3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Hangfire&version=1.8.0-beta3&prerelease
                    
Install Hangfire as a Cake Addin
#tool nuget:?package=Hangfire&version=1.8.0-beta3&prerelease
                    
Install Hangfire as a Cake Tool

An easy and reliable way to perform fire-and-forget, delayed and recurring, long-running, short-running, CPU or I/O intensive tasks inside ASP.NET applications. No Windows Service / Task Scheduler required. Even ASP.NET is not required.
Backed by Redis, SQL Server, SQL Azure or MSMQ. This is a .NET alternative to Sidekiq, Resque and Celery.
https://www.hangfire.io/

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (213)

Showing the top 5 NuGet packages that depend on Hangfire:

Package Downloads
VirtoCommerce.Platform.Hangfire

Virto Commerce is a flexible B2B ecommerce solution that offers powerful tools for enterprise business users. https://virtocommerce.com

N3O.Umbraco.Scheduler

TODO

ImmediaC.SimpleCms

ASP.NET Core based CMS

ComplianceAuditSystems.AcabimCommonServices

Package Description

Bnsights.Mvc

Bnsights.Mvc is RAD Helper DLL for MVC Projects in Bnsights DMCC. Also known as Bnsights Business Solutions Framework (BBSF).

GitHub repositories (32)

Showing the top 20 popular GitHub repositories that depend on Hangfire:

Repository Stars
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
elsa-workflows/elsa-core
A .NET workflows library
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
dotnetcore/osharp
OSharp是一个基于.Net6.0的快速开发框架,框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装,并规范了一套业务实现的代码结构与操作流程,使 .Net 框架更易于应用到实际项目开发中。
altmann/FluentResults
A generalised Result object implementation for .NET/C#
CoreUnion/CoreShop
基于 Asp.Net Core 8.0、Uni-App开发,支持可视化布局的小程序商城系统,前后端分离,支持分布式部署,跨平台运行,拥有分销、代理、团购、拼团、秒杀、直播、优惠券、自定义表单等众多营销功能,拥有完整SKU、下单、售后、物流流程。支持一套代码编译发布微信小程序版、H5版、Android版、iOS版、支付宝小程序版、字节跳动小程序版、QQ小程序版等共10个平台。
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
ldqk/Masuit.MyBlogs
基于C#/.NET8的 masuit.org个人博客站项目源码,https://masuit.org ,供参考、学习、引用、非商业性质的部署。
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
trueai-org/module-shop
一个基于 .NET 8.0 构建的简单、跨平台、模块化的商城系统
HTBox/allReady
This repo contains the code for allReady, an open-source solution focused on increasing awareness, efficiency and impact of preparedness campaigns as they are delivered by humanitarian and disaster response organizations in local communities.
masastack/MASA.Framework
.NET next-generation microservice development framework, which provides cloud native best practices based on Dapr.
q315523275/FamilyBucket
集合.net core、ocelot、consul、netty、rpc、eventbus、configserver、tracing、sqlsugar、vue-admin、基础管理平台等构建的微服务一条龙应用
revoframework/Revo
Event Sourcing, CQRS and DDD framework for C#/.NET Core.
Dynatrace/superdump
A service for automated crash-dump analysis
lingarr-translate/lingarr
Lingarr is an application that supports both local and SaaS translation services to translate subtitle files into a specified target language. With automated translation options, Lingarr simplifies translating subtitles.
mehdihadeli/food-delivery-modular-monolith
🌭 A practical and imaginary food and grocery delivery modular monolith, built with .Net 8, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 8.0
CervantesSec/cervantes
Cervantes is an open-source, collaborative platform designed specifically for pentesters and red teams. It serves as a comprehensive management tool, streamlining the organization of projects, clients, vulnerabilities, and reports in a single, centralized location.
Version Downloads Last updated
1.8.20 33,025 5/16/2025
1.8.19 3,450 5/16/2025
1.8.18 961,407 2/17/2025
1.8.17 1,200,768 12/3/2024
1.8.16 113,843 11/27/2024
1.8.15 741,221 10/23/2024
1.8.14 3,157,425 6/11/2024
1.8.12 1,944,106 4/3/2024
1.8.11 915,767 2/23/2024
1.8.10 315,742 2/12/2024
1.8.9 538,528 1/24/2024
1.8.7 586,867 12/29/2023
1.8.6 1,640,897 10/18/2023
1.8.5 1,451,795 8/11/2023
1.8.4 291,697 7/27/2023
1.8.3 681,864 6/27/2023
1.8.2 719,639 5/26/2023
1.8.1 199,801 5/18/2023
1.8.0 496,744 4/28/2023
1.7.37 133,726 4/8/2024
1.7.36 232,254 6/29/2023
1.7.35 42,606 5/18/2023
1.7.34 697,160 3/30/2023
1.7.33 1,390,170 1/31/2023
1.7.32 1,540,963 11/21/2022
1.7.31 2,528,245 8/19/2022
1.7.30 1,712,544 6/10/2022
1.7.29 375,596 5/23/2022
1.7.28 3,884,417 12/18/2021
1.7.27 1,103,311 11/3/2021
1.7.26 165,344 10/27/2021
1.7.25 1,309,344 8/30/2021
1.7.24 1,348,826 6/28/2021
1.7.23 733,112 5/28/2021
1.7.22 922,896 4/13/2021
1.7.21 15,539 4/12/2021
1.7.20 426,770 3/19/2021
1.7.19 1,522,077 1/15/2021
1.7.18 1,152,031 11/20/2020
1.7.17 616,756 10/20/2020
1.7.16 138,215 10/14/2020
1.7.15 81,193 10/8/2020
1.7.14 586,101 9/24/2020
1.7.13 154,673 9/15/2020
1.7.12 882,440 7/24/2020
1.7.11 2,618,206 4/15/2020
1.7.10 301,283 4/2/2020
1.7.9 2,390,145 1/20/2020
1.7.8 780,487 12/5/2019
1.7.7 881,265 10/22/2019
1.7.6 1,565,454 8/5/2019
1.7.5 348,047 7/18/2019
1.7.4 350,083 6/28/2019
1.7.3 700,410 5/23/2019
1.7.2 461,831 4/29/2019
1.7.1 424,375 4/16/2019
1.7.0 373,091 3/29/2019
1.6.30 44,259 4/29/2021
1.6.29 63,198 4/15/2020
1.6.28 82,414 1/14/2020
1.6.27 62,460 6/27/2019
1.6.26 76,173 5/23/2019
1.6.25 22,737 4/9/2019
1.6.24 137,694 3/27/2019
1.6.23 216,372 3/13/2019
1.6.22 686,662 1/25/2019
1.6.21 1,170,904 11/1/2018
1.6.20 1,187,031 7/31/2018
1.6.19 1,333,036 4/6/2018
1.6.18 28,196 4/5/2018
1.6.17 1,625,480 9/19/2017
1.6.16 174,514 9/2/2017
1.6.15 254,139 8/8/2017
1.6.14 336,587 6/16/2017
1.6.13 70,601 6/7/2017
1.6.12 591,120 3/22/2017
1.6.11 43,946 3/14/2017
1.6.10 12,442 3/13/2017
1.6.9 52,364 3/2/2017
1.6.8 400,472 12/21/2016
1.6.7 204,418 11/25/2016
1.6.6 195,363 10/13/2016
1.6.5 104,982 9/24/2016
1.6.4 84,088 8/30/2016
1.6.3 42,520 8/19/2016
1.6.2 53,328 8/5/2016
1.6.1 63,449 7/27/2016
1.6.0 50,391 7/15/2016
1.5.9 158,508 7/11/2016
1.5.8 60,156 6/17/2016
1.5.7 23,511 5/30/2016
1.5.6 63,626 4/22/2016
1.5.5 21,573 4/14/2016
1.5.4 52,963 3/22/2016
1.5.3 314,074 11/6/2015
1.5.2 28,379 10/15/2015
1.5.1 7,242 10/14/2015
1.5.0 56,618 10/1/2015
1.4.7 6,880 10/1/2015
1.4.6 27,982 8/29/2015
1.4.5 38,431 7/24/2015
1.4.4 6,252 7/23/2015
1.4.3 64,889 5/27/2015
1.4.2 14,260 5/6/2015
1.4.1 39,639 4/14/2015
1.3.4 61,038 2/4/2015
1.3.3 9,397 1/28/2015
1.3.2 6,603 1/27/2015
1.3.1 11,997 1/13/2015
1.3.0 12,559 12/10/2014
1.2.2 14,669 11/24/2014
1.2.1 6,149 11/22/2014
1.2.0 9,201 11/17/2014
1.1.1 27,607 9/5/2014
1.1.0 7,461 9/3/2014
1.0.2 10,127 7/1/2014
1.0.1 6,336 6/30/2014
1.0.0 6,542 6/30/2014
0.9.1 6,590 6/12/2014
0.9.0 4,897 6/7/2014
0.8.3 5,280 5/23/2014
0.8.2 4,848 5/21/2014
0.8.1 5,004 5/17/2014
0.8.0 7,406 5/2/2014
0.7.5 5,966 4/10/2014
0.7.4 5,099 4/7/2014
0.7.3 4,783 4/4/2014
0.7.2 5,070 4/4/2014
0.7.1 5,551 4/1/2014
0.7.0 5,275 3/22/2014
0.6.2 3,551 1/28/2014
0.6.1 3,509 1/27/2014
0.6.0 3,574 1/27/2014
0.5.2 3,538 11/19/2013
0.5.1 3,567 11/12/2013
0.5.0 5,020 11/10/2013

https://www.hangfire.io/blog/

1.8.0-beta3

Hangfire.Core

• Added – Introduce the `Job.Queue` property, so jobs now can have their own queue specified.
• Added – Method overloads to create recurring jobs directly with a custom default queue.
• Added – Method overloads to create background jobs directly with a custom default queue.
• Added – `IBackgroundJobClient.Create` method overloads with the new `queue` parameter.
• Added – Experimental `JobStorageConnection.SetContains` method.
• Added – Pass `ServerId` to `FailedState` instances to simplify the debugging on different servers.
• Changed – Dashboard UI now have full-width layout to display more data (by @danillewin).
• Changed – Query time from storage in recurring and delayed schedulers when supported by storage.
• Changed – Speedup delayed jobs when custom default queue is specified by avoiding extra state transition.
• Changed – Display scheduled job count when enqueued count is zero on the main metric.
• Changed – Don't display queue name in state transition list when it's the `default` one.
• Changed – Re-implement `TaskExtensions.WaitOneAsync` only with the `RegisterWaitForSingleObject` method.
• Changed – Expose state data dictionaries in list DTOs when supported by storage.
• Changed – Make it possible to display methods of non-loaded jobs in Dashboard UI when supported by storage.
• Fixed – Check job details for the `null` value before passing it to renderers (regression).
• Deprecated – `AddOrUpdate` overloads with optional params defined in the `RecurringJobManagerExtensions` class.
• Deprecated – `AddOrUpdate` overloads with optional parameters defined in the `RecurringJob` class.
• Deprecated – `AddOrUpdate` method overloads with no `recurringJobId` parameter.
• Deprecated – `RecurringJobOptions.QueueName` property, new methods should be used instead.

Hangfire.SqlServer

• Added – Implement the `Connection.GetUtcDateTime` feature to make work new changes in schedulers.
• Changed – Display scheduled and processing jobs in the ascending order in Dashboard UI.

1.8.0-beta2

Hangfire.Core

• Added – `MisfireHandlingMode.Strict` to create job for each missed recurring job occurrence.
• Added – Allow to pass parameters when creating a job (by @brian-knoll-micronetonline).
• Added – Make it possible to use specify multiple `JobContinuationOptions` for a continuation.
• Added – `CreateJob` method to the `JobStorageTransaction` abstract class.
• Added – `SetJobParameter` method to the `JobStorageTransaction` abstract class.
• Changed – Allow to query job parameters without roundtrip when supported by a storage.
• Changed – Turn `JobContinuationOptions` enum into flags while still possible.
• Changed – Avoid storage roundtrip to query job data in worker, take data from previous state change.
• Fixed – Don't overwrite existing argument values with null job parameters when using `FromParameter` attribute.
• Fixed – Job continuation mistakenly started when using the new `OnlyOnDeletedState` option.

Hangfire.SqlServer

• Changed – Set default value for the `QueuePollInterval` option to `TimeSpan.Zero`.
• Changed – Use command batching by default with 5-minute maximum timeout.
• Changed – Enable `UseRecommendedIsolationLevel` option by default.

1.8.0-beta1

Hangfire.Core

• Added – Display deleted jobs in the Realtime and History graphs when supported by storage.
• Added – `DeletedState` now have the persisted `Exception` property.
• Added – `JobContinuationOptions.OnlyOnDeletedState` to create continuations after a failure.
• Added – `Exception` job parameter is passed to continuation when `UseResultsInContinuations` method is used.
• Added – `FromExceptionAttribute` to deal with an antecedent exception in a background job continuation.
• Added – Allow to filter exception types in `AutomaticRetryAttribute` by using the new `OnlyOn` property.
• Added – `IBackgroundProcess.UseBackgroundPool` now allows to pass thread configuration logic.
• Added – `IGlobalConfiguration.UseJobDetailsRenderer` method for custom renderers.
• Added – `BackgroundJobServerOptions.WorkerThreadConfigurationAction` option
• Added – Allow to pass custom data to `ApplyStateContext` and `ElectStateContext` instances.
• Added – Preserve custom data dictionary between the entire filter chain.
• Added – Fetch "Retries" metric with other statistics when supported by storage
• Added – `IGlobalConfiguration.UseDashboardMetrics` extension method to pass multiple metrics at once.
• Added – State renderer for the `DeletedState` to display its new exception property.
• Added – Virtual `JobStorage.GetReadOnlyConnection` method intended to return `JobStorageConnection` for replicas.
• Added – Virtual `JobStorage.HasFeature` method for querying optional features.
• Added – Optional `GetSetCount` and `GetUtcDateTime` methods for the `JobStorageConnection` class.
• Added – Optional `AcquireDistributedLock` and `RemoveFromQueue` methods for the `JobStorageTransaction` class.
• Added – Support for transactional acknowledge using new storage method for better handling some data loss scenarios.
• Added – `Factory`, `StateMachine` and `Performer` properties to context classes to avoid injecting services.
• Added – Allow to pass transaction to background job state changer when new methods implemented.
• Added – Optional `ParametersSnapshot` property for `BackgroundJob` and `JobData` classes to minimize roundtrips in future.
• Changed – Use the `AttemptsExceededAction.Delete` option by default in the global automatic retry filter.
• Changed – Move job to the `DeletedState` instead of `SucceededState` when its invocation was canceled by a filter.
• Changed – `FromParameterAttribute`-based logic now always overwrites arguments, even with non-null values.
• Changed – Improved display of real-time chart with more accents on failed and deleted jobs.
• Changed – Ignore some members when serializing a `JobFilterAttribute` instance to decrease size
• Changed – `ServerHeartbeatProcess` now uses `ThreadPriority.AboveNormal` to prioritize heartbeats.

Hangfire.SqlServer

• Added – Recommended Schema 8 migration with fixed `JobQueue.Id` column to use `bigint` type.
• Added – `SqlServerStorageOptions.PreferMicrosoftDataSqlClient` option to use the corresponding package.
• Added – `SqlServerStorage.SchemaVersion` metric for Dashboard UI.
• Added – Implement optional experimental transactional acknowledge for SQL Server (`UseTransactionalAcknowledge` option).
• Changed – Sliding invisibility timeout-based fetching method is now used by default with 5 minute timeout.
• Fixed – Ensure connection is released when exception is thrown when during lock release.

Hangfire.NetCore and Hangfire.AspNetCore

• Added – `IApplicationBuilder.UseHangfireServer` that accepts custom factory for `IBackgroundProcessingServer`.