首页 > 解决方案 > 在.net 5 web api上运行hangfire仪表板的问题

问题描述

我在我的 .net 5 解决方案上安装并配置了 hangfire

在 ConfigureServices 我有:

services.AddHangfire(x => x.UseSqlServerStorage(configRoot["ConnectionString:Prod"]));

在配置上:

         app.UseHangfireDashboard("/hangfire", new DashboardOptions
        {
            AppPath = null,
            DashboardTitle = "Hangfire Dashboard"
        });
        app.UseHangfireServer();

一旦解决方案运行它给我

附图

有什么解决办法吗?

标签: c#.net.net-5hangfire

解决方案


推荐阅读