Hangfire.SqlServer
1.8.16
Prefix Reserved
InvalidCastException is thrown when fetching jobs on older schemas.
See the version list below for details.
dotnet add package Hangfire.SqlServer --version 1.8.16
NuGet\Install-Package Hangfire.SqlServer -Version 1.8.16
<PackageReference Include="Hangfire.SqlServer" Version="1.8.16" />
paket add Hangfire.SqlServer --version 1.8.16
#r "nuget: Hangfire.SqlServer, 1.8.16"
// Install Hangfire.SqlServer as a Cake Addin #addin nuget:?package=Hangfire.SqlServer&version=1.8.16 // Install Hangfire.SqlServer as a Cake Tool #tool nuget:?package=Hangfire.SqlServer&version=1.8.16
SQL Server 2008+ (including Express), SQL Server LocalDB and SQL Azure storage support for Hangfire, a background job framework for .NET applications.
Product | Versions 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 | net451 is compatible. 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. |
-
.NETFramework 4.5.1
- Hangfire.Core (= 1.8.16)
-
.NETStandard 1.3
- Hangfire.Core (= 1.8.16)
- NETStandard.Library (>= 1.6.0)
- System.Data.Common (>= 4.1.0)
-
.NETStandard 2.0
- Hangfire.Core (= 1.8.16)
NuGet packages (140)
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 (24)
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.17 | 140,428 | 12/3/2024 | |
1.8.16 | 65,989 | 11/27/2024 | |
1.8.15 | 542,782 | 10/23/2024 | |
1.8.14 | 3,270,566 | 6/11/2024 | |
1.8.12 | 2,302,311 | 4/3/2024 | |
1.8.11 | 1,332,006 | 2/23/2024 | |
1.8.10 | 425,891 | 2/12/2024 | |
1.8.9 | 734,220 | 1/24/2024 | |
1.8.7 | 846,119 | 12/29/2023 | |
1.8.6 | 2,258,123 | 10/18/2023 | |
1.8.5 | 1,951,612 | 8/11/2023 | |
1.8.4 | 469,045 | 7/27/2023 | |
1.8.3 | 968,946 | 6/27/2023 | |
1.8.2 | 991,143 | 5/26/2023 | |
1.8.1 | 266,494 | 5/18/2023 | |
1.8.0 | 674,281 | 4/28/2023 | |
1.7.37 | 121,035 | 4/8/2024 | |
1.7.36 | 380,258 | 6/29/2023 | |
1.7.35 | 66,888 | 5/18/2023 | |
1.7.34 | 991,382 | 3/30/2023 | |
1.7.33 | 2,123,611 | 1/31/2023 | |
1.7.32 | 2,417,515 | 11/21/2022 | |
1.7.31 | 3,918,142 | 8/19/2022 | |
1.7.30 | 2,506,411 | 6/10/2022 | |
1.7.29 | 868,313 | 5/23/2022 | |
1.7.28 | 6,863,676 | 12/18/2021 | |
1.7.27 | 1,766,992 | 11/3/2021 | |
1.7.26 | 268,439 | 10/27/2021 | |
1.7.25 | 1,952,037 | 8/30/2021 | |
1.7.24 | 2,091,382 | 6/28/2021 | |
1.7.23 | 1,143,543 | 5/28/2021 | |
1.7.22 | 1,584,831 | 4/13/2021 | |
1.7.21 | 26,294 | 4/12/2021 | |
1.7.20 | 722,185 | 3/19/2021 | |
1.7.19 | 2,287,237 | 1/15/2021 | |
1.7.18 | 1,561,793 | 11/20/2020 | |
1.7.17 | 1,123,312 | 10/20/2020 | |
1.7.16 | 212,626 | 10/14/2020 | |
1.7.15 | 196,929 | 10/8/2020 | |
1.7.14 | 733,969 | 9/24/2020 | |
1.7.13 | 278,020 | 9/15/2020 | |
1.7.12 | 1,406,738 | 7/24/2020 | |
1.7.11 | 4,060,392 | 4/15/2020 | |
1.7.10 | 454,811 | 4/2/2020 | |
1.7.9 | 3,356,630 | 1/20/2020 | |
1.7.8 | 1,195,041 | 12/5/2019 | |
1.7.7 | 1,246,476 | 10/22/2019 | |
1.7.6 | 2,085,956 | 8/5/2019 | |
1.7.5 | 461,258 | 7/18/2019 | |
1.7.4 | 524,264 | 6/28/2019 | |
1.7.3 | 921,661 | 5/23/2019 | |
1.7.2 | 534,674 | 4/29/2019 | |
1.7.1 | 499,627 | 4/16/2019 | |
1.7.0 | 478,016 | 3/29/2019 | |
1.6.30 | 50,748 | 4/29/2021 | |
1.6.29 | 94,962 | 4/15/2020 | |
1.6.28 | 85,319 | 1/14/2020 | |
1.6.27 | 68,620 | 6/27/2019 | |
1.6.26 | 91,417 | 5/23/2019 | |
1.6.25 | 24,077 | 4/9/2019 | |
1.6.24 | 132,242 | 3/27/2019 | |
1.6.23 | 279,186 | 3/13/2019 | |
1.6.22 | 966,035 | 1/25/2019 | |
1.6.21 | 1,344,324 | 11/1/2018 | |
1.6.20 | 1,898,976 | 7/31/2018 | |
1.6.19 | 1,664,341 | 4/6/2018 | |
1.6.18 | 34,290 | 4/5/2018 | |
1.6.17 | 2,032,371 | 9/19/2017 | |
1.6.16 | 223,275 | 9/2/2017 | |
1.6.15 | 316,478 | 8/8/2017 | |
1.6.14 | 389,454 | 6/16/2017 | |
1.6.13 | 87,931 | 6/7/2017 | |
1.6.12 | 751,124 | 3/22/2017 | |
1.6.11 | 50,315 | 3/14/2017 | |
1.6.10 | 19,398 | 3/13/2017 | |
1.6.9 | 74,402 | 3/2/2017 | |
1.6.8 | 453,902 | 12/21/2016 | |
1.6.7 | 228,183 | 11/25/2016 | |
1.6.6 | 248,594 | 10/13/2016 | |
1.6.5 | 133,233 | 9/24/2016 | |
1.6.4 | 115,723 | 8/30/2016 | |
1.6.3 | 49,796 | 8/19/2016 | |
1.6.2 | 77,050 | 8/5/2016 | |
1.6.1 | 118,821 | 7/27/2016 | |
1.6.0 | 67,211 | 7/15/2016 | |
1.5.9 | 342,155 | 7/11/2016 | |
1.5.8 | 66,819 | 6/17/2016 | |
1.5.7 | 37,605 | 5/30/2016 | |
1.5.6 | 93,369 | 4/22/2016 | |
1.5.5 | 28,882 | 4/14/2016 | |
1.5.4 | 69,545 | 3/22/2016 | |
1.5.3 | 362,502 | 11/6/2015 | |
1.5.2 | 40,814 | 10/15/2015 | |
1.5.1 | 7,186 | 10/14/2015 | |
1.5.0 | 66,601 | 10/1/2015 | |
1.4.7 | 7,041 | 10/1/2015 | |
1.4.6 | 58,614 | 8/29/2015 | |
1.4.5 | 54,375 | 7/24/2015 | |
1.4.4 | 6,463 | 7/23/2015 | |
1.4.3 | 93,010 | 5/27/2015 | |
1.4.2 | 15,675 | 5/6/2015 | |
1.4.1 | 38,116 | 4/14/2015 | |
1.3.4 | 69,212 | 2/4/2015 | |
1.3.3 | 9,286 | 1/28/2015 | |
1.3.2 | 6,398 | 1/27/2015 | |
1.3.1 | 11,833 | 1/13/2015 | |
1.3.0 | 12,809 | 12/10/2014 | |
1.2.2 | 35,253 | 11/24/2014 | |
1.2.1 | 6,552 | 11/22/2014 | |
1.2.0 | 9,847 | 11/17/2014 | |
1.1.1 | 23,800 | 9/5/2014 | |
1.1.0 | 7,762 | 9/3/2014 | |
1.0.2 | 10,764 | 7/1/2014 | |
1.0.1 | 6,600 | 6/30/2014 | |
1.0.0 | 6,798 | 6/30/2014 | |
0.9.1 | 8,116 | 6/12/2014 | |
0.9.0 | 6,225 | 6/7/2014 | |
0.8.3 | 6,413 | 5/23/2014 | |
0.8.2 | 6,221 | 5/21/2014 | |
0.8.1 | 8,101 | 5/17/2014 | |
0.8.0 | 7,432 | 5/2/2014 | |
0.7.5 | 6,322 | 4/10/2014 | |
0.7.4 | 5,690 | 4/7/2014 | |
0.7.3 | 5,416 | 4/4/2014 | |
0.7.1 | 6,060 | 4/1/2014 | |
0.7.0 | 18,061 | 3/22/2014 |
Release notes are available in our blog https://www.hangfire.io/blog/
Please see https://docs.hangfire.io/en/latest/upgrade-guides/upgrading-to-hangfire-1.8.html to learn how to upgrade.
1.8.16
• Changed – Use vanilla ADO.NET when fetching a job in the `SqlServerJobQueue` implementation.
• Fixed – SqlException: Must declare the scalar variable "@key" in delayed and recurring job schedulers.
• Fixed – Decrease the `LockTimeout` time when calling the `sp_getapplock` procedure to 1 second for less blocking.
• Project – Disable parallel tests execution when building under .NET 9.0.
• Project – Run tests over the latest Microsoft.Data.SqlClient package and the `net6.0` platform.
• Project – Reduce execution time of integration tests.
• Project – Disable `PoolBlockingPeriod` setting on AppVeyor to handle transient test failures.
1.8.15
• Changed – Use query template caching based on schema name to avoid excessive `string` allocations.
• Changed – Use static callbacks almost anywhere to avoid unnecessary delegate allocations.
• Changed – Use `QuerySingle`* or `ReadSingle`* where possible to avoid allocating lists.
• Changed – Unify `DbCommand` and `DbParameter` creation logic to improve code consistency.
1.8.13 and 1.8.14
• Changed – Limit polling queries when queues are empty with a semaphore for all configurations.
• Changed – Use per-queue signaling for same-process workers, instead of having a global signal.
• Fixed – Don't silently truncate queue names, throw an exception instead.
• Project – Decrease delays in SQL Server-related tests to complete them faster.
1.8.12
• Fixed – Populate `InvocationData` and `LoadException` properties in `JobDetails` method results.
1.8.10
• Changed – Bump Dapper for the `netstandard2.0` platform to version 2.1.28.
• Changed – Bump Dapper for `net451` and `netstandard1.3` platforms to version 1.60.6.
• Project – Enable NuGet package and DLL signing with a company certificate.
• Project – Require NuGet package signature validation on restore for dependencies.
• Project – Add `HangfireIO` as a package owner.
1.8.9
• Project – Enable full source link support with embedded symbols and repository-based sources.
• Project – Enable repeatable package restore using a lock file.
• Project – Run unit tests against the `net6.0` platform.
1.8.7
• Changed – Avoid throwing an exception when a connection string has duplicate property names.
• Project – Disable tests for `netcoreapp1.0` and `netcoreapp2.1` targets since they aren't supported in AppVeyor.
• Project – Add a `net6.0` target for unit tests instead of the removed ones.
• Project – Modernise projects and build environments to use the newest features.
1.8.6
• Fixed – Exception in Dashboard UI when schema version is not present in a database.
• Fixed – `DbCommand` resource leak when releasing a lock detected by static analysis.
• Fixed – Don't add SQL Server-related metrics multiple times in Dashboard UI.
1.8.5
• Fixed – "Query processor could not produce a query plan" when removing expired counters in `Schema 5`.
1.8.2
• Fixed – `InvalidOperationException` with new dashboard metrics when a database has multiple data/log files.
1.8.1
• Fixed – Blocked workers regression since 1.7.33 when using multiple servers inside a process.
• Fixed – Target schema version is less than the current schema version error.
• Fixed – Implement database metrics without the need for additional permissions.
• Fixed – Use the `forceseek` table hint whenever possible to avoid performance drops.
1.8.0
• Breaking – Prioritise Microsoft.Data.SqlClient package over System.Data.SqlClient one.
• Breaking – Dropped the `NET45` platform target in favor of the `NET451` target to support Visual Studio 2022.
• Added – `Schema 8` migration with fixed `JobQueue.Id` column to use the `bigint` type.
• Added – `Schema 9` migration that creates an index for the `State.CreatedAt` column.
• Added – Automatic client package detection based on available types, preferring `System.Data.SqlClient` (by @0xced).
• Added – `SqlServerStorageOptions.DbProviderFactory` option to use a custom provider factory.
• Added – Clean up of old state entries of a non-finished job when `InactiveStateExpirationTimeout` is set.
• Added – `TryAutoDetectSchemaDependentOptions` option to automatically enable options based on the schema.
• Added – Optional experimental transactional acknowledge for SQL Server (`UseTransactionalAcknowledge` option).
• Added – Implement the `Connection.GetUtcDateTime` feature to make work the new changes in schedulers.
• Added – `SqlServerStorage.SchemaVersion` metric for Dashboard UI.
• Added – `DefaultQueueProvider` option to specify a custom default queue provider.
• Changed – Remove dependency on System.Data.SqlClient for Hangfire.SqlServer (by @0xced).
• Changed – Set default value for the `QueuePollInterval` option to `TimeSpan.Zero`.
• Changed – Polling delay when `QueuePollInterval` is set to zero now defaults to 200 ms.
• Changed – Sliding invisibility timeout-based fetching method is now used by default with a 5-minute timeout.
• Changed – Use command batching by default with a 5-minute maximum timeout.
• Changed – Enable the `UseRecommendedIsolationLevel` option by default.
• Changed – `GetJobData` now populates the `JobData.ParametersSnapshot` property to avoid additional roundtrips.
• Changed – Display scheduled and processing jobs in ascending order in Dashboard UI.
• Changed – Implement the `Transaction.AcquireDistributedLock` feature.
• Changed – Implement the `GetSetCount.Limited feature`.
• Changed – Implement the `GetSetContains feature`.
• Changed – Bump the internal version of Dapper to 2.0.123.
• Changed – Enable common metrics for SQL Server storage to be shown by default.
• Changed – Enable the `Monitoring.AwaitingJobs` feature for SQL storage.
• Deprecated – `UsePageLocksOnDequeue` option is now obsolete and doesn't affect anything.