Background tasks in ASP.NET Core with NCronJob and SignalR
Damien Bowden shows how to implement a background task scheduler in ASP.NET Core using the open-source NCronJob package together with SignalR to push execution status to clients in real time. Jobs implement the `IJob` interface with a `RunAsync` method that runs on a schedule and supports dependency injection — access to logging and SignalR hubs. In the example, two job types dispatch begin and end messages every five seconds, demonstrating concurrent and non-concurrent execution (the `[SupportsConcurrency(5)]` attribute), while the frontend displays these messages in real time via the SignalR JavaScript client. According to the author, the approach covers most typical scheduling scenarios while staying simple and maintainable.