Programmatically get Hangfire dashboard URL?


#1

Hi,

Is there a way to programmatically get the configured Hangfire dashboard URL? I have it set to a custom endpoint and I have to have a link in my application which points to the Hangfire dashboard. Of course I could define a constant somewhere which holds the URL and then use that constant when I call .UseHangfireDashboard() and in the URL of the link, but I if I can programmatically retrieve the dashboard URL that was specified during the initialization, I would prefer that instead.