Skip to main content

Hangfire – Recurring tasks under a minute

hangfire cron job

Introduction What is Hangfire? “An easy way to perform background processing in .NET and .NET Core applications. No Windows Service or separate process required.” https://www.hangfire.io/ Basically, we needed to replace our “good” old Microsoft WorkFlow’s by something else. And the decision has been made; we will use Hangfire! What is the problem with Hangfire? It […]

Hangfire – Simple CRON Expression converte

CRON Expression Converter

Introduction Hangfire is good, but it’s missing a simple CRON Expression converter. The main goal is to get an app setting value from the config file and convert it to a CRON Expression. And at the end, that expression can be used by Hangfire. App Settings We will need three kind of settings in our […]

C# – Hangfire with SQLite and ASP.Net MVC

hangfire SQLite Logo

Here is a simple example about how to create background processing in ASP.Net MVC using SQLite and Hangfire. What is Hangfire? Hangfire is an easy way to perform background processing in .NET and .NET Core applications. No Windows Service or separate process required. Backed by persistent storage. Open and free for commercial use. Let me […]