You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
539 B
20 lines
539 B
using Hangfire;
|
|
using Hangfire.MemoryStorage;
|
|
using Microsoft.Owin;
|
|
using Owin;
|
|
|
|
[assembly: OwinStartup(typeof(FangYar.WebUI.Startup))]
|
|
|
|
namespace FangYar.WebUI
|
|
{
|
|
public class Startup
|
|
{
|
|
public void Configuration(IAppBuilder app)
|
|
{
|
|
// 有关如何配置应用程序的详细信息,请访问 https://go.microsoft.com/fwlink/?LinkID=316888
|
|
GlobalConfiguration.Configuration.UseMemoryStorage();
|
|
app.UseHangfireDashboard();
|
|
app.UseHangfireServer();
|
|
}
|
|
}
|
|
}
|
|
|