HangFire.SqlServer 1.7.16

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package HangFire.SqlServer --version 1.7.16                
NuGet\Install-Package HangFire.SqlServer -Version 1.7.16                
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.SqlServer" Version="1.7.16" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HangFire.SqlServer --version 1.7.16                
#r "nuget: HangFire.SqlServer, 1.7.16"                
#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.
// Install HangFire.SqlServer as a Cake Addin
#addin nuget:?package=HangFire.SqlServer&version=1.7.16

// Install HangFire.SqlServer as a Cake Tool
#tool nuget:?package=HangFire.SqlServer&version=1.7.16                

SQL Server 2008+ (including Express), SQL Server LocalDB and SQL Azure storage support for Hangfire (background job system for ASP.NET applications).

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (139)

Showing the top 5 NuGet packages that depend on HangFire.SqlServer:

Package Downloads
Hangfire

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/

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

Hangfire.SqlServer.MSMQ

MSMQ queues support for SQL Server job storage implementation for Hangfire, a background job framework for .NET applications.

Naos.MessageBus.Hangfire.Sender

Created on 2022-06-27 21:28

GitHub repositories (23)

Showing the top 5 popular GitHub repositories that depend on HangFire.SqlServer:

Repository Stars
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnetcore/Util
Util是一个.Net平台下的应用框架,旨在提升中小团队的开发能力,由工具类、分层架构基类、Ui组件,配套代码生成模板,权限等组成。
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
VirtoCommerce/vc-platform
Virto Commerce B2B Innovation Platform
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.
Version Downloads Last updated
1.8.15 221,824 10/23/2024
1.8.14 2,710,346 6/11/2024
1.8.12 2,104,535 4/3/2024
1.8.11 1,235,353 2/23/2024
1.8.10 402,513 2/12/2024
1.8.9 694,782 1/24/2024
1.8.7 804,541 12/29/2023
1.8.6 2,143,151 10/18/2023
1.8.5 1,876,115 8/11/2023
1.8.4 450,621 7/27/2023
1.8.3 934,643 6/27/2023
1.8.2 956,637 5/26/2023
1.8.1 259,639 5/18/2023
1.8.0 649,196 4/28/2023
1.7.37 100,990 4/8/2024
1.7.36 361,186 6/29/2023
1.7.35 64,869 5/18/2023
1.7.34 967,992 3/30/2023
1.7.33 2,082,817 1/31/2023
1.7.32 2,366,656 11/21/2022
1.7.31 3,835,743 8/19/2022
1.7.30 2,462,175 6/10/2022
1.7.29 850,563 5/23/2022
1.7.28 6,734,105 12/18/2021
1.7.27 1,747,015 11/3/2021
1.7.26 263,636 10/27/2021
1.7.25 1,923,657 8/30/2021
1.7.24 2,066,876 6/28/2021
1.7.23 1,130,796 5/28/2021
1.7.22 1,569,210 4/13/2021
1.7.21 26,250 4/12/2021
1.7.20 713,430 3/19/2021
1.7.19 2,265,274 1/15/2021
1.7.18 1,550,895 11/20/2020
1.7.17 1,114,240 10/20/2020
1.7.16 210,246 10/14/2020
1.7.15 194,929 10/8/2020
1.7.14 729,926 9/24/2020
1.7.13 276,498 9/15/2020
1.7.12 1,395,312 7/24/2020
1.7.11 4,016,327 4/15/2020
1.7.10 452,663 4/2/2020
1.7.9 3,332,661 1/20/2020
1.7.8 1,183,090 12/5/2019
1.7.7 1,237,386 10/22/2019
1.7.6 2,073,296 8/5/2019
1.7.5 457,913 7/18/2019
1.7.4 521,376 6/28/2019
1.7.3 913,589 5/23/2019
1.7.2 530,674 4/29/2019
1.7.1 497,045 4/16/2019
1.7.0 473,570 3/29/2019
1.6.30 48,857 4/29/2021
1.6.29 93,522 4/15/2020
1.6.28 84,981 1/14/2020
1.6.27 68,500 6/27/2019
1.6.26 91,304 5/23/2019
1.6.25 24,033 4/9/2019
1.6.24 131,633 3/27/2019
1.6.23 277,717 3/13/2019
1.6.22 961,844 1/25/2019
1.6.21 1,337,106 11/1/2018
1.6.20 1,854,835 7/31/2018
1.6.19 1,654,134 4/6/2018
1.6.18 34,039 4/5/2018
1.6.17 2,021,870 9/19/2017
1.6.16 221,709 9/2/2017
1.6.15 314,858 8/8/2017
1.6.14 386,046 6/16/2017
1.6.13 87,208 6/7/2017
1.6.12 744,052 3/22/2017
1.6.11 49,953 3/14/2017
1.6.10 19,320 3/13/2017
1.6.9 73,786 3/2/2017
1.6.8 450,106 12/21/2016
1.6.7 226,695 11/25/2016
1.6.6 246,312 10/13/2016
1.6.5 132,749 9/24/2016
1.6.4 115,247 8/30/2016
1.6.3 49,621 8/19/2016
1.6.2 76,647 8/5/2016
1.6.1 117,296 7/27/2016
1.6.0 65,241 7/15/2016
1.5.9 339,282 7/11/2016
1.5.8 66,016 6/17/2016
1.5.7 37,459 5/30/2016
1.5.6 92,972 4/22/2016
1.5.5 28,631 4/14/2016
1.5.4 69,054 3/22/2016
1.5.3 361,392 11/6/2015
1.5.2 40,558 10/15/2015
1.5.1 7,159 10/14/2015
1.5.0 66,384 10/1/2015
1.4.7 6,996 10/1/2015
1.4.6 58,493 8/29/2015
1.4.5 54,088 7/24/2015
1.4.4 6,422 7/23/2015
1.4.3 92,529 5/27/2015
1.4.2 15,651 5/6/2015
1.4.1 37,841 4/14/2015
1.3.4 68,892 2/4/2015
1.3.3 9,246 1/28/2015
1.3.2 6,377 1/27/2015
1.3.1 11,800 1/13/2015
1.3.0 12,765 12/10/2014
1.2.2 35,229 11/24/2014
1.2.1 6,513 11/22/2014
1.2.0 9,823 11/17/2014
1.1.1 23,746 9/5/2014
1.1.0 7,739 9/3/2014
1.0.2 10,742 7/1/2014
1.0.1 6,579 6/30/2014
1.0.0 6,773 6/30/2014
0.9.1 8,091 6/12/2014
0.9.0 6,202 6/7/2014
0.8.3 6,390 5/23/2014
0.8.2 6,199 5/21/2014
0.8.1 8,019 5/17/2014
0.8.0 7,276 5/2/2014
0.7.5 6,302 4/10/2014
0.7.4 5,669 4/7/2014
0.7.3 5,395 4/4/2014
0.7.1 6,038 4/1/2014
0.7.0 17,202 3/22/2014

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

Please see https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.7.html to learn how to upgrade from 1.6.X.

1.7.16
• Fixed – Blocking problems when using multiple storages with the same queue names in the same process (appeared in 1.7.9).

1.7.15
• Fixed – Avoid deadlocks when using the `SetJobParameter` method without introducing issues for older schemas.
• Fixed – Remove duplicate sorting in the `SqlServerMonitoringApi.GetJobs` method which is used by a lot of queries.

1.7.14
• Fixed – Duplicate entries in the `JobParameters` table after upgrading to version 1.7.13.
• Fixed – Extensive retries on a method that has a retry attribute after upgrading to 1.7.13.
• Fixed – "ArgumentException: An item with the same key has already been added. Key: RetryCount" in `SqlServerMonitoringApi`.

1.7.13
• Added – `UseIgnoreDupKeyOption` for SQL Server storage configuration (changes to [Set] and [Hash] tables required).
• Fixed – Don't truncate too long keys silently, throw exceptions instead.
• Fixed – Add missing null checks for methods in the `SqlServerWriteOnlyTransaction` class.
• Fixed – Change `holdlock` hint to `xlock` in `merge` statements in transaction to prevent deadlocks.
• Fixed – Don't rethrow "Lock request time out period exceeded" exceptions from expiration manager.
• Fixed – Increase [Server].[Id] column's length to 200 for new installations.

1.7.10
• Changed – Use `XACT_ABORT` option for `ExpirationManager` queries.
• Changed – Don't rely on implicit rollback when disposing transactions.
• Fixed – `NullReferenceException` in logs thrown from `SqlInternalTransaction.Rollback` method.

1.7.9
• Changed – Implement long polling fetch for sub-second polling delays without `sp_getapplock`.
• Fixed – Don't leak `DbConnection` instance when an exception occurs during its opening.
• Fixed – Can not obtain connection from the pool exception after database was offline.
• Fixed – High number of waits in SQL Server when Hangfire Servers are idle.

1.7.8
• Added – Support for Microsoft.Data.SqlClient package when using a custom connection factory (Part II).
• Fixed – Remove `System.Data.SqlClient` dependency from `SqlCommandBatch` and `ExpirationManager`.

1.7.7
• Added – Add support for Microsoft.Data.SqlClient package when using custom connection factory (Part I).
• Added – Add `UseFineGrainedLocks` option to avoid deadlocks in some theoretical cases.
• Added – Add missing overload for `UseSqlServerStorage` with connection factory parameter only.
• Added – Expose the SqlServerObjectsInstaller.GetInstallScript method (by @altso).
• Fixed – Make command batching working on .NET Core when using System.Data.SqlClient 4.7.0 and higher.
• Fixed – Permit dash characters (`-`) in schema names (by @kendaleiv).
• Fixed – Escape square bracket characters in schema names.
• Project – Add support for `netcoreapp3.0` target in Hangfire.SqlServer.Tests.
• Project – Take schema name from constant in Hangfire.SqlServer.Tests (by @kendaleiv).
• Project – Make Hangfire.SqlServer.Tests work on Linux in Travis CI environment.

1.7.4
• Fixed – Potential deadlocks cause by suboptimal queries when using `SlidingInvisibilityTimeout` fetching.
• Fixed – Prevent zero delays between fetch retry attempts when lock acquisition failed without blocking.
• Fixed – Specify float precision explicitly for the `Score` column in the `AddToSet` method.

1.7.3
• Fixed – Wrong error message in migration script, when @CurrentSchemaVersion has a NULL value (by @penenkel).

1.7.2
• Fixed – Occasional "DataException: Error parsing column" error when using blocking fetch.

1.7.1
• Changed – Use blocking fetch implementation only for sub-second polling intervals.
• Fixed – Don't fail with an exception when can't connect to MSSQL instance during start-up.
• Fixed – Don't access the `JobQueue` table when using blocking query and don't have results.

1.7.0
• Added – Full .NET Core 2.0 support by explicitly targeting .NET Standard 2.0.
• Added – `Schema 7` migration to fix the `IX_HangFire_Set_Score` index to include the `Key` column.
• Added – `Schema 6` migration with less indexes, better physical layout and `bigint` support (disabled by default).
• Added – Blocking fetch support for sliding expiration-based fetch to avoid excessive polling.
• Added – `SqlServerStorageOptions.EnableHeavyMigrations` switch to automatically install even heavy migrations.
• Added – `SqlServerStorageOptions.DisableGlobalLocks` property to avoid custom locking scheme.
• Added – `SqlServerStorageOptions.UsePageLocksOnDequeue` property to use less CPU consuming fetch.
• Added – Callback method to allow to open the database with impersonation (by @BjoernHund).
• Added – `SqlServerStorageOptions.UseRecommendedIsolationLevel` option to set the minimum possible level.
• 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.
• Changed – Optimize sliding-expiration-based fetching to use even less CPU time.
• Changed – Use write reordering and fine-grained locking scheme to improve parallelism.
• Changed – Monitoring API doesn't check state data to see state transition time.
• Changed – Allow to use zero-based poll interval when sliding invisibility timeout.
• Changed – Short paths for the `CreateExpiredJob` method to avoid some round-trips.
• 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.
• Fixed – Avoid unnecessary waits in state changer when job was already expired.
• Fixed – Cannot resolve the collation conflict in `CountersAggregator`.
• 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.