11

I am attempting to migrate an OnPrem solution to Azure. The application uses Hangfire fairly heavily. Hangfire is hosted in a windows service and is backed by SQL Server.

I prefer not to remove this dependency unless absolutely required. (alternatives being functions/webjobs.)

Are there any guidelines/best practices for running Hangfire on Azure?

Barring the differences in storage characteristics, is Hangfire expected to work exactly on azure as it does OnPrem?

On googling + scanning github issues & SO:

  1. People do seem to be using Hangfire on Azure.
  2. Could not find any best-practice/migration documents around this.

Thanks, Partho

Partha P. Das
  • 165
  • 3
  • 5

1 Answers1

7

If you use Hangfire, I highly recommend you use their Azure Service Bus package. Which switches the polling to Azure SB

Sajeetharan
  • 216,225
  • 63
  • 350
  • 396