You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/docs/en/Background-Jobs-Hangfire.md

1.4 KiB

Hangfire Background Job Manager

Hangfire is an advanced background job manager. You can integrate Hangfire with the ABP Framework to use it instead of the default background job manager. In this way, you can use the same background job API for Hangfire and your code will be independent of Hangfire. If you like, you can directly use Hangfire's API, too.

See the background jobs document to learn how to use the background job system. This document only shows how to install and configure the Hangfire integration.

Installation

It is suggested to use the ABP CLI to install this package.

Using the ABP CLI

Open a command line window in the folder of the project (.csproj file) and type the following command:

abp add-package Volo.Abp.BackgroundJobs.HangFire

Manual Installation

If you want to manually install;

  1. Add the Volo.Abp.BackgroundJobs.HangFire NuGet package to your project:

    Install-Package Volo.Abp.BackgroundJobs.HangFire
    
  2. Add the AbpBackgroundJobsHangfireModule to the dependency list of your module:

[DependsOn(
    //...other dependencies
    typeof(AbpBackgroundJobsHangfireModule) //Add the new module dependency
    )]
public class YourModule : AbpModule
{
}

Configuration

TODO...