Skip to content

gary-walker-82/HangfireTaskDispatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hangfire Task Dispatcher

Is a Hangfire extension to manage and deploy tasks from the web UI, this is a command pattern adaption of tracstarr's Hangfire.Core.Dashboard.Management

Installation

This library is available as a NuGet Package: NuGet

Install-Package Hangfire.Extension.TaskDispatcher

Setup

GlobalConfiguration.Configuration
    .UseSqlServerStorage("connectionSting")
    .UseTaskDispatcherPages(args);

Option 1: all taskparameters are concrete objects

in this situation you can pass the assembly where your tasks are located

Option 2: some taskparamters have a generic parameter

in this situation pass the configured list of taskhandlers from DI, this will provide one task in the ui with a drop down of all the configured T's.

Usage

The task parameters from any TaskHandler found will be added to the display. TaskParameter classes can be decorated with a DisplayNameAttribute to override the default displayname generated by the extension. In addition you can add a DiscriptionAttribute to give some extra information about the takss usage.

TaskParameter Parameters can be decorated with a DisplayNameAttribute to override the default displayname generated by the extension.

About

Hangfire extention to manage and deploy tasks from the web UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages