HangfireIO / HangfireIO/Hangfire
Is there a way to take the DB Connection String as input and then execute Dashboard?
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
What I want to do is from inside a Controller I should be able to do
`var storage1 = new Hangfire.SqlServer.SqlServerStorage(/* Input DB Conn String taken from User */); `
`app.UseHangfireDashboard("/Dashboard", new DashboardOptions(), storage1); `
But app.UseHangfireDashboard() doesn't work when not inside Startup.cs
Contributor guide
Research direction
Start by reviewing the controller example, SqlServerStorage construction, and the UseHangfireDashboard call in Startup.cs. Determine whether dashboard registration can accept a connection string supplied from a controller and define the supported behavior for running the dashboard outside Startup.cs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100