Hi I know but I don't found any other solution
If you want to see the hangfire dashboard which corresponds to a web page, you should do it as you mentioned above (i mean you should go with a web application instead of a console application).
I close the question since this is not a question that is fully related to ABP Framework. Best Regards.
Hi
I found this possibile solution
.ConfigureWebHostDefaults(builder => { builder.Configure(app => { app.UseRouting(); app.UseHangfireDashboard(); app.UseEndpoints(endpoints => { endpoints.MapHangfireDashboard(); }); }); })
When you do that your application becomes a web application, you are configuring a web host you can do this if it's not causing any problems for you.
Hi, you can not add Hangfire Dashboard into a console application. Please see the documentation for related configurations on the asp.net core application.
Best Regards.
I've reproduced the problem that you're facing and will create an issue for it. Thanks for letting us know. I'm refunding your credit. Best Regards.
Hi @Sturla, thanks for the information. I'll check and write you back during the day.
Hi Jeff, thanks for the confirmation. I've updated the doc.
I close the question since your problem is resolved. Best regards.
Hi, please add the app.UseHangfireDashboard("/hangfire");
middleware before the app.UseConfiguredEndpoints();
middleware:
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
//...
app.UseHangfireDashboard("/hangfire"); //should defined before UseConfiguredEndpoints()
app.UseConfiguredEndpoints();
}
Then, you should be able to see the /hangfire page:
Hi, thanks for the detailed information. I'll check and write you back asap.
Can you confirm what is right version to be used for v6.0.0 ?
@rajamannar For the stable version (v6.0.0) of ABP Framework, you can use version 1.0.0
of LeptonX Theme.
Great to hear that! I've refunded your credit. Best regards.