HangFire 1.7.0-beta3
Prefix ReservedSee the version list below for details.
dotnet add package HangFire --version 1.7.0-beta3
NuGet\Install-Package HangFire -Version 1.7.0-beta3
<PackageReference Include="HangFire" Version="1.7.0-beta3" />
paket add HangFire --version 1.7.0-beta3
#r "nuget: HangFire, 1.7.0-beta3"
// Install HangFire as a Cake Addin
#addin nuget:?package=HangFire&version=1.7.0-beta3&prerelease
// Install HangFire as a Cake Tool
#tool nuget:?package=HangFire&version=1.7.0-beta3&prerelease
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 application. 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/
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- Hangfire.Core (= 1.7.0-beta3)
- Hangfire.SqlServer (= 1.7.0-beta3)
- Microsoft.Owin.Host.SystemWeb (>= 3.0.0)
-
.NETStandard 1.3
- Hangfire.AspNetCore (= 1.7.0-beta3)
- Hangfire.Core (= 1.7.0-beta3)
- Hangfire.SqlServer (= 1.7.0-beta3)
-
.NETStandard 2.0
- Hangfire.AspNetCore (= 1.7.0-beta3)
- Hangfire.Core (= 1.7.0-beta3)
- Hangfire.SqlServer (= 1.7.0-beta3)
NuGet packages (190)
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 (20)
Showing the top 5 popular GitHub repositories that depend on HangFire:
Repository | Stars |
---|---|
elsa-workflows/elsa-core
A .NET workflows library
|
|
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.
|
|
fullstackhero/dotnet-webapi-starter-kit
production grade .net 8 webapi starter kit with multitenancy support and clean code. 🔥
|
|
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
|
|
dotnetcore/osharp
OSharp是一个基于.Net6.0的快速开发框架,框架对 AspNetCore 的配置、依赖注入、日志、缓存、实体框架、Mvc(WebApi)、身份认证、功能权限、数据权限等模块进行更高一级的自动化封装,并规范了一套业务实现的代码结构与操作流程,使 .Net 框架更易于应用到实际项目开发中。
|
Version | Downloads | Last updated |
---|---|---|
1.8.12 | 150,843 | 4/3/2024 |
1.8.11 | 318,061 | 2/23/2024 |
1.8.10 | 133,064 | 2/12/2024 |
1.8.9 | 229,001 | 1/24/2024 |
1.8.7 | 292,513 | 12/29/2023 |
1.8.6 | 868,082 | 10/18/2023 |
1.8.5 | 872,905 | 8/11/2023 |
1.8.4 | 191,259 | 7/27/2023 |
1.8.3 | 447,248 | 6/27/2023 |
1.8.2 | 470,003 | 5/26/2023 |
1.8.1 | 132,160 | 5/18/2023 |
1.8.0 | 302,600 | 4/28/2023 |
1.7.37 | 3,023 | 4/8/2024 |
1.7.36 | 95,556 | 6/29/2023 |
1.7.35 | 21,176 | 5/18/2023 |
1.7.34 | 507,273 | 3/30/2023 |
1.7.33 | 1,082,630 | 1/31/2023 |
1.7.32 | 1,154,109 | 11/21/2022 |
1.7.31 | 1,955,733 | 8/19/2022 |
1.7.30 | 1,377,078 | 6/10/2022 |
1.7.29 | 313,340 | 5/23/2022 |
1.7.28 | 3,201,667 | 12/18/2021 |
1.7.27 | 966,733 | 11/3/2021 |
1.7.26 | 144,132 | 10/27/2021 |
1.7.25 | 1,113,264 | 8/30/2021 |
1.7.24 | 1,149,041 | 6/28/2021 |
1.7.23 | 652,883 | 5/28/2021 |
1.7.22 | 840,794 | 4/13/2021 |
1.7.21 | 14,939 | 4/12/2021 |
1.7.20 | 381,430 | 3/19/2021 |
1.7.19 | 1,362,967 | 1/15/2021 |
1.7.18 | 1,052,478 | 11/20/2020 |
1.7.17 | 546,696 | 10/20/2020 |
1.7.16 | 120,644 | 10/14/2020 |
1.7.15 | 74,428 | 10/8/2020 |
1.7.14 | 554,689 | 9/24/2020 |
1.7.13 | 143,561 | 9/15/2020 |
1.7.12 | 801,536 | 7/24/2020 |
1.7.11 | 2,327,641 | 4/15/2020 |
1.7.10 | 281,218 | 4/2/2020 |
1.7.9 | 2,142,227 | 1/20/2020 |
1.7.8 | 725,368 | 12/5/2019 |
1.7.7 | 801,565 | 10/22/2019 |
1.7.6 | 1,470,545 | 8/5/2019 |
1.7.5 | 326,020 | 7/18/2019 |
1.7.4 | 328,554 | 6/28/2019 |
1.7.3 | 636,047 | 5/23/2019 |
1.7.2 | 425,119 | 4/29/2019 |
1.7.1 | 399,121 | 4/16/2019 |
1.7.0 | 348,528 | 3/29/2019 |
1.6.30 | 30,663 | 4/29/2021 |
1.6.29 | 55,756 | 4/15/2020 |
1.6.28 | 76,978 | 1/14/2020 |
1.6.27 | 61,171 | 6/27/2019 |
1.6.26 | 75,454 | 5/23/2019 |
1.6.25 | 22,132 | 4/9/2019 |
1.6.24 | 115,802 | 3/27/2019 |
1.6.23 | 204,721 | 3/13/2019 |
1.6.22 | 650,761 | 1/25/2019 |
1.6.21 | 1,106,705 | 11/1/2018 |
1.6.20 | 1,098,099 | 7/31/2018 |
1.6.19 | 1,251,506 | 4/6/2018 |
1.6.18 | 27,810 | 4/5/2018 |
1.6.17 | 1,538,673 | 9/19/2017 |
1.6.16 | 160,674 | 9/2/2017 |
1.6.15 | 242,895 | 8/8/2017 |
1.6.14 | 296,726 | 6/16/2017 |
1.6.13 | 63,133 | 6/7/2017 |
1.6.12 | 552,566 | 3/22/2017 |
1.6.11 | 40,038 | 3/14/2017 |
1.6.10 | 11,551 | 3/13/2017 |
1.6.9 | 49,167 | 3/2/2017 |
1.6.8 | 359,360 | 12/21/2016 |
1.6.7 | 188,219 | 11/25/2016 |
1.6.6 | 175,016 | 10/13/2016 |
1.6.5 | 100,203 | 9/24/2016 |
1.6.4 | 79,559 | 8/30/2016 |
1.6.3 | 40,445 | 8/19/2016 |
1.6.2 | 49,408 | 8/5/2016 |
1.6.1 | 57,355 | 7/27/2016 |
1.6.0 | 35,586 | 7/15/2016 |
1.5.9 | 139,150 | 7/11/2016 |
1.5.8 | 50,092 | 6/17/2016 |
1.5.7 | 22,729 | 5/30/2016 |
1.5.6 | 61,672 | 4/22/2016 |
1.5.5 | 21,213 | 4/14/2016 |
1.5.4 | 47,535 | 3/22/2016 |
1.5.3 | 303,293 | 11/6/2015 |
1.5.2 | 26,349 | 10/15/2015 |
1.5.1 | 6,944 | 10/14/2015 |
1.5.0 | 55,265 | 10/1/2015 |
1.4.7 | 6,572 | 10/1/2015 |
1.4.6 | 27,277 | 8/29/2015 |
1.4.5 | 35,226 | 7/24/2015 |
1.4.4 | 5,887 | 7/23/2015 |
1.4.3 | 62,607 | 5/27/2015 |
1.4.2 | 13,896 | 5/6/2015 |
1.4.1 | 35,053 | 4/14/2015 |
1.3.4 | 59,716 | 2/4/2015 |
1.3.3 | 8,848 | 1/28/2015 |
1.3.2 | 6,305 | 1/27/2015 |
1.3.1 | 11,565 | 1/13/2015 |
1.3.0 | 12,134 | 12/10/2014 |
1.2.2 | 14,085 | 11/24/2014 |
1.2.1 | 5,865 | 11/22/2014 |
1.2.0 | 8,878 | 11/17/2014 |
1.1.1 | 26,853 | 9/5/2014 |
1.1.0 | 7,125 | 9/3/2014 |
1.0.2 | 9,786 | 7/1/2014 |
1.0.1 | 6,039 | 6/30/2014 |
1.0.0 | 6,185 | 6/30/2014 |
0.9.1 | 6,167 | 6/12/2014 |
0.9.0 | 4,611 | 6/7/2014 |
0.8.3 | 4,977 | 5/23/2014 |
0.8.2 | 4,561 | 5/21/2014 |
0.8.1 | 4,723 | 5/17/2014 |
0.8.0 | 5,952 | 5/2/2014 |
0.7.5 | 5,659 | 4/10/2014 |
0.7.4 | 4,793 | 4/7/2014 |
0.7.3 | 4,480 | 4/4/2014 |
0.7.2 | 4,780 | 4/4/2014 |
0.7.1 | 5,232 | 4/1/2014 |
0.7.0 | 4,984 | 3/22/2014 |
0.6.2 | 3,259 | 1/28/2014 |
0.6.1 | 3,223 | 1/27/2014 |
0.6.0 | 3,273 | 1/27/2014 |
0.5.2 | 3,228 | 11/19/2013 |
0.5.1 | 3,253 | 11/12/2013 |
0.5.0 | 4,693 | 11/10/2013 |
https://www.hangfire.io/blog/
1.7.0-beta3
Hangfire.Core
• Added – Multi-stage shutdown to wait for graceful completion before starting to abort jobs.
• Added – Asynchronous checks for job cancellation, `IJobCancellationToken` can be replaced with `CancellationToken` (by @pieceofsummer).
• Added – Possibility to create millions of recurring jobs without stressing the scheduler.
• Added – Second-based recurring jobs are fully supported now with 6-part cron expressions.
• Added – Support for custom `TimeZoneInfo` resolvers in recurring jobs for interoperability purposes.
• Added – Package now explicitly targets .NET Standard 2.0, and .NET Framework 4.6 target added as well.
• Added – Type roundtrip support between .NET Core and .NET Framework for most common types.
• Added – Allow to specify queue names based on job arguments with `QueueAttribute` via patterns.
• Added – `PerformContext.Storage` property to allow server filters to spawn connections.
• Added – `GetFirstByLowestScoreFromSet` connection method overload that returns multiple items (by @cdschneider).
• Changed – New type serialization is disabled by default for compatibility reasons.
• Changed – Cronos package upgraded to 0.7.0 and internalized even on .NET Standard platforms.
• Changed – Replace Rickshaw with Chart.js to have beautiful charts with less headache.
• Changed – `DelayedJobScheduler` is able to use the new storage method to query multiple jobs at once.
• Changed – `RecurringJobScheduler` now uses index-based checks to fetch only those jobs that should be scheduled.
• Fixed – `ArgumentNullException` when job class contains method with non-resolvable generic arguments.
• Fixed – Re-add missing fonts as embedded resources due to a regression appeared in 1.7.0-beta2.
• Fixed – "Failed to initialize CoreCLR" error, by removing reference to `Microsoft.NETCore.Portable.Compatibility`.
• Fixed – Possible race conditions in `RecurringJobScheduler` that may lead to job duplicates.
• Fixed – Configuration inconsistency introduced in 1.6.18 leading to issues with custom `JobActivator`.
• Fixed – Backward compatibility issue with type serialization when `TypeNameHandling.All` is used.
• Fixed – Triggering the recurring task doesn't update its last execution time.
• Fixed – Recurring job which don't have next execution (intentionally or not) don't cause exception.
• Fixed – Dashboard recurring jobs sorting is random (now it's based on next execution time).
• Fixed – Performance problems with huge amount of recurring jobs.
• Fixed – NextExecution field of a recurring job has delay in value getting set.
• Fixed – Dashboard graphs have improper sizing.
• Ported – Merged updates from version 1.6.21 and 1.6.22.
Hangfire.AspNetCore
• Added – Full .NET Core 2.0 support by explicitly targeting .NET Standard 2.0.
• Added – `BackgroundJobServerHostedService` class based on `IHostedService` interface.
• Added – IServiceCollection.AddHangfire extension method to register the server during configuration.
Hangfire.SqlServer
• Changed – Short paths for the CreateExpiredJob method to avoid some round-trips.
• Changed – Allow to use zero-based poll interval when sliding invisibility timeout.
• Changed – Set `SqlParameter` types explicitly to not to duplicate query plans.
• Changed – Batch support for `AddToQueue` method when default provider is used.
• Changed – Check `FetchedAt` has expected value to prevent prolonging others' work.
• Changed – Use more recent Dapper 1.50.7 on all platforms except .NET Framework 4.5.
• Changed – Dapper package is internalized now even on .NET Core to avoid possible conflicts.
• Ported – Merged updates from version 1.6.21 and 1.6.22.
1.7.0-beta2
Hangfire.Core
• Fixed – `MissingMethodException` when using Newtonsoft.Json 11 in .NET Core 2.X with continuations (by @pieceofsummer).
• Ported – Merged updates from versions 1.6.18 – 1.6.20.
Hangfire.SqlServer
• Added – Blocking fetch support for sliding expiration-based fetch to avoid excessive polling.
• Changed – Optimize sliding-expiration-based fetching to use even less CPU time.
• Changed – Use write reordering and fine-grained locking scheme to improve parallelism.
• Ported – Merged updates from versions 1.6.18 – 1.6.20.
1.7.0-beta1
Hangfire.Core
• Added – Entry point for custom job naming strategies available for dashboard (by @pieceofsummer).
• Added – JobDisplayNameAttribute class for displaying jobs in dashboard, available on .NET Core (by @pieceofsummer).
• Added – Support async jobs returning ValueTask<T> and other await-compatible types (by @pieceofsummer).
• Added – Support for asynchronous background processes, opens the road toward async storage.
• Added – Circuit breaker pattern for background processes to reduce the logging pressure.
• Added – Processing server is now able to detect it was expired, and restart itself with the new id.
• Added – Ability to use custom delays for automatic retries of a background job.
• Added – ThreadAbortException and ThreadInterruptedException handling to keep the background process running.
• Added – Support for complex Cron expressions, including the `L`, `W`, `#` characters.
• Added – JobActivator.BeginScope method overload with the full PerformContext (by @jeroenvervaeke).
• Added – Support for read-only view for dashboard (by @mikechamberlain).
• Added – Storage property to control the job expiration time (by @rsilvanet).
• Changed – Decrease the size of serialized payloads and remove version information.
• Fixed – Server disappears from the list, but still performing the background processing.
• Fixed – Logging is too aggressive on transient errors.
• Fixed – Daylight saving time transitions now handled perfectly in recurring jobs thanks to Cronos.
• Fixed – Confusing Cron scheduling, when both day-of-week and day-of-month fields set.
Hangfire.SqlServer
• Added – Callback method to allow to open the database with impersonation (by @BjoernHund).
• Changed – Identity columns either converted to the `bigint` type, or entirely removed.
• Changed – Clustered indexes were organized according to the access patterns of their tables.
• Changed – Most of secondary indexes were either removed or made filtered.
• Fixed – Background processing stops when identity columns exceed the `Int32.MaxValue`.
• Fixed – Slowdown of scheduled jobs due to the missing index on the [Set] table.