Hangfire.WorkflowCore

A powerful integration library that combines Hangfire’s robust job scheduling capabilities with WorkflowCore’s advanced workflow orchestration engine.

💖 Support this project: If this library helps you, consider buying me a coffee to support continued development and maintenance!

Features Overview

Installation

# Install the core package
dotnet add package Hangfire.WorkflowCore

# Install ASP.NET Core integration (for HttpContext workflows + automatic dashboard)
dotnet add package Hangfire.WorkflowCore.AspNetCore

# Install dashboard (for standalone dashboard integration)
dotnet add package Hangfire.WorkflowCore.Dashboard

# Install abstractions (if building custom integrations)
dotnet add package Hangfire.WorkflowCore.Abstractions

Quick Example

// ASP.NET Core setup with automatic dashboard integration
services.AddHangfireWorkflowCoreAspNetCore(
    hangfire => hangfire.UseMemoryStorage());

// Execute a workflow immediately
var jobId = BackgroundJobWorkflow.Instance
    .Enqueue<VideoProcessingWorkflow, VideoData>(videoData);

// Schedule a workflow with delay
var jobId = BackgroundJobWorkflow.Instance
    .ScheduleWorkflow<VideoProcessingWorkflow, VideoData>(
        videoData, TimeSpan.FromMinutes(5));

License

This project is licensed under LGPL v3 to ensure compatibility with Hangfire’s licensing requirements.

External Dependencies


📖 Get started with the Getting Started Guide or explore the Complete Documentation**!

Need Help?