Ever found yourself debugging a background task that mysteriously disappeared after an application restart? Or trying to coordinate multiple dependent jobs while dealing with retries, duplicate execution, and concurrency issues?
There's a better way.
Introducing Masterly.NightShift π
Masterly.NightShift is an open-source background job processing engine for .NET 8+, built on a modernized fork of Hangfire 1.8.25.
It brings durable execution, workflow orchestration, resilience, and observability together under a familiar API.
dotnet add package Masterly.NightShift
Enter fullscreen mode
Exit fullscreen mode
The Problem
Background processing often starts with something like this:
// In your controller [ HttpPost ( "register" ) ] public IActionResult Register ( RegisterRequest request ) { var user = CreateUser ( request ) ;
// Fire and forget? _ = Task . Run ( ( ) => SendWelcomeEmail ( user . Id ) ) ;
return Ok ( ) ; }
Enter fullscreen mode
Exit fullscreen mode
Looks simple.β¦