Skip to content
A plugin for Hangfire that enables you to launch jobs manually.
C# HTML JavaScript CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content Initial commit Nov 14, 2018
src/Hangfire.MissionControl Added package description Dec 4, 2018
tests/Hangfire.MissionControl.Tests.Web Date time format changed to yyyy-MM-dd Dec 4, 2018
.gitattributes Initial commit Nov 14, 2018
.gitignore Initial commit Nov 14, 2018
Hangfire.MissionControl.sln Initial commit Nov 14, 2018
LICENSE Initial commit Nov 14, 2018
README.md Updated readme Nov 14, 2018

README.md

Hangfire.MissionControl

NuGet dashboard

A plugin for Hangfire that enables you to launch jobs manually.

Read about hangfire here: https://github.com/HangfireIO/Hangfire#hangfire- and here: http://hangfire.io/

Instructions

  • Install NuGet package
  • Decorate your code with attributes (all parameters are optional)
[MissionLauncher(CategoryName = "Emails")]
public class EmailSenderMissions
{
    [Mission(Name = "Send email", 
        Description = "Send email to customer", 
        Queue = "emails")]
    public string SendEmail(int customerId, string displayName) => //...code;
}
  • Setup dashboard code
// If you use ASP .NET Core
services.AddHangfire(configuration => configuration.UseMissionControl(typeof(EmailSenderMissions).Assembly));

// If you use console application
GlobalConfiguration.Configuration.UseMissionControl(typeof(EmailSenderMissions).Assembly);

License

Authored by: Viktor Svyatokha (ahydrax)

This project is under MIT license. You can obtain the license copy here.

You can’t perform that action at this time.