HangFire Database Location

Tags: #<Tag:0x00007efd195d6110>

I have ASP.net Core web application. We’ve implemented HangFire into the web application. The web application has a database for the application’s data. And by default, the HangFire database tables were created in the same database where the application’s data resides.

We were wondering about using a separate database for HangFire. Are there any implications in doing that? Can that be done?

If you do not intend to interact with Hangfire tables directly, and you shouldn’t, all you need to do is supply a different connection string.