Making Hangfire server always ON in .net core application

Tags: #<Tag:0x00007f49a0d8f4f0> #<Tag:0x00007f49a0d8f0b8>


I am using hangfire with .net core application. Recently I found one observation that Hangfire server goes to InActive state when no job is running. I went through hangfire documentation, making-aspnet-app-always-running and forums. I made the server configuration changes like ‘Start mode’ and ‘Idle Timeout’. But not sure how to configure and create ServiceAutoStartProvider class for asp .net core application. i.e. System.Web.Hosting.IProcessHostPreloadClient not supported for .net core applications. I want to keep my hangfire server running always.


+1 @odinserj
Below documentation needs updated for core


+1 @odinserj

I have the same problem with keeping Hangfire always on. Is there a fix for this?