Can you please let me know how to navigate from the angular UI to hangfire dashboard?
7 Answer(s)
-
0
@firnas you need to enable the dashboard on C# and go to http://host:port/!#/hangfire
//Enable it to use HangFire dashboard (uncomment only if it's enabled in clayWebModule) app.UseHangfireDashboard("/hangfire", new DashboardOptions { Authorization = new[] { new AbpHangfireAuthorizationFilter(AppPermissions.Pages_Administration_HangfireDashboard) } });
on web module file Startup.cs
-
0
I have enabled this. But i cannot navigate to the dashboard.
http://localhost:22742/hangfire
It says that site cannot be reached. However if i use the below line,
app.UseHangfireDashboard();
the dashboard loads. How can i authorize a user into the dashboard?
-
0
Yes you need to update the user permission to allow to access to the dashboard.
Any error in console?
-
0
no erros in console. the Admin user alreday has the permission Pages_Administration_HangfireDashboard.
So when i directly go to the below link,
http://localhost:22742/hangfire
how does the user be authenticated to the dashboard since there is no prompt for any username and password?
-
0
You must to be loged in the main portal to access to Dashboard
-
0
Is there a link to the hangfire url from the angular application?
-
0
I found the below link which solved my problem,
https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1971
Hope it will help anyone who is facing my issue.