Making Hangfire server always ON in .net core application

@odinserj,
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 Like

+1 @odinserj
Below documentation needs updated for asp.net core

+1 @odinserj

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