using Hangfire;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(Test.WorkerHost))]
namespace Test.worker
{
public class WorkerHost
{
public void Configuration(IAppBuilder app)
{
app.UseHangfireDashboard(); // This is not available
}
}
}
所有示例都提到像上面那样配置hangfire,但我没有得到那些扩展方法。已经通过了
http://docs.hangfire.io/en/latest/configuration/using-dashboard.html
如何在 .NET Core 控制台应用程序中配置“Hangfire.Net”?
任何想法?