Using the same hangfire db for all applications

Tags: #<Tag:0x00007efd23c45410> #<Tag:0x00007efd23c452a8> #<Tag:0x00007efd23c450a0> #<Tag:0x00007efd23c44fd8>

I recently started using hangfire and it has been amazing for me. Currently, I have a hangfire db created on sql server and one hangfire application points to that db. However, I have another appliaction and I’m wondering if it is okay for another hangfire application to point to that same database. If it is okay, would the individual appliactions trigger their own jobs and is there a way to show only jobs for individual applications on the dashboard.

You can use separate connections string with other SQL users, and also other schema names:
var sqlServerStorageOptions = new SqlServerStorageOptions
SchemaName = “HangfireNewInstance”,