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.
 
 
 
 
 
 

23 regels
546 B

  1. using System;
  2. using System.Threading.Tasks;
  3. using Hangfire;
  4. using Microsoft.Owin;
  5. using Owin;
  6. [assembly: OwinStartup(typeof(Learun.Application.Web.App_Start.Startup))]
  7. namespace Learun.Application.Web.App_Start
  8. {
  9. public class Startup
  10. {
  11. public void Configuration(IAppBuilder app)
  12. {
  13. app.UseHangfireDashboard("/hangfire", new DashboardOptions
  14. {
  15. AppPath = "/Home/Index",
  16. Authorization = new[] { new HangfireAuthorizationFilter() }
  17. });
  18. }
  19. }
  20. }