Hangfire.Oracle.Core 1.2.12

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
NuGet\Install-Package Hangfire.Oracle.Core -Version 1.2.12
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.
dotnet add package Hangfire.Oracle.Core --version 1.2.12
<PackageReference Include="Hangfire.Oracle.Core" Version="1.2.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hangfire.Oracle.Core --version 1.2.12
#r "nuget: Hangfire.Oracle.Core, 1.2.12"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Hangfire.Oracle.Core as a Cake Addin
#addin nuget:?package=Hangfire.Oracle.Core&version=1.2.12

// Install Hangfire.Oracle.Core as a Cake Tool
#tool nuget:?package=Hangfire.Oracle.Core&version=1.2.12

Hangfire.Oracle.Core Implementation

Hangfire.Oracle.Core is based on Hangfire.MySql.Core (https://github.com/stulzq/Hangfire.MySql.Core)

I fixed some bugs and support .net standard 2.0.

Build status Latest version

Oracle storage implementation of Hangfire - fire-and-forget, delayed and recurring tasks runner for .NET. Scalable and reliable background job runner. Supports multiple servers, CPU and I/O intensive, long-running and short-running jobs.

Some features of Oracle storage implementation is under development!


Install Oracle

Run the following command in the NuGet Package Manager console to install Hangfire.Oracle.Core:

Install-Package Hangfire.Oracle.Core


Use one the following ways to initialize OracleStorage:

  • Create new instance of OracleStorage with connection string constructor parameter and pass it to Configuration with UseStorage method:
    new OracleStorage(connectionString));
  • Alternatively one or more options can be passed as a parameter to OracleStorage:
    new OracleStorage(
        new OracleStorageOptions
            TransactionIsolationLevel = IsolationLevel.ReadCommitted,
            QueuePollInterval = TimeSpan.FromSeconds(15),
            JobExpirationCheckInterval = TimeSpan.FromHours(1),
            CountersAggregateInterval = TimeSpan.FromMinutes(5),
            PrepareSchemaIfNecessary = true,
            DashboardJobListLimit = 50000,
            TransactionTimeout = TimeSpan.FromMinutes(1),
            SchemaName = "HANGFIRE"
  • With version 1.1 you can provide your own connection factory.
    new OracleStorage(
        () => new OracleConnection(connectionString), 
        new OracleStorageOptions
            SchemaName = "HANGFIRE"

Description of optional parameters:

  • TransactionIsolationLevel - transaction isolation level. Default is read committed. Didn't test with other options!
  • QueuePollInterval - job queue polling interval. Default is 15 seconds.
  • JobExpirationCheckInterval - job expiration check interval (manages expired records). Default is 1 hour.
  • CountersAggregateInterval - interval to aggregate counter. Default is 5 minutes.
  • PrepareSchemaIfNecessary - if set to true, it creates database tables. Default is true.
  • DashboardJobListLimit - dashboard job list limit. Default is 50000.
  • TransactionTimeout - transaction timeout. Default is 1 minute.
  • SchemaName - schema name. Default is empty

How to limit number of open connections

Number of opened connections depends on Hangfire worker count. You can limit worker count by setting WorkerCount property value in BackgroundJobServerOptions:

   new BackgroundJobServerOptions
      WorkerCount = 1

More info: http://hangfire.io/features.html#concurrency-level-control


Hangfire provides a dashboard Dashboard More info: Hangfire Overview


Please use Visual Studio or any other tool of your choice to build the solution.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on Hangfire.Oracle.Core:

Package Downloads

EaCloud Hangfire 后台任务组件,封装基于 Hangfire 后台任务的服务端实现。

Eaf.HangFire.AspNetCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Enterprise Application Foundation - AspNetCore -HangFire


Oracle storage for BizDoc


Update Oracle,Sqlserver,Mongo Storage


Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Hangfire.Oracle.Core:

Repository Stars
Version Downloads Last updated
1.2.17 50,285 5/21/2021
1.2.15 40,311 6/4/2020
1.2.14 9,072 2/19/2020
1.2.12 2,252 12/18/2019
1.2.7 10,565 4/25/2019
1.2.1 1,253 4/8/2019
1.2.0 10,735 12/30/2018
1.1.2 601 12/17/2018
1.1.1 576 12/15/2018
1.1.0 569 12/15/2018
1.0.1 606 12/13/2018

PackageReferences are updated