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.
Hi, in web project we've specified the LeptonX package versions as 1.0.0-rc.*
to, let you get the latest LeptonX package version:
However, this caused a problem while updating a project or running the ABP Suite.
We've fixed this problem on the latest stable release (6.0.0).
To be able to run the ABP Suite, please open your *.Web.csproj
and change the LeptonX package version to 1.0.0-rc.7
or any certain version, then you should be able to update your project and run the ABP Suite.
Best regards.