Skip to content

Instantly share code, notes, and snippets.

@mikebranstein
Created February 13, 2016 20:01
Show Gist options
  • Select an option

  • Save mikebranstein/7d068b2928db8cba5ab9 to your computer and use it in GitHub Desktop.

Select an option

Save mikebranstein/7d068b2928db8cba5ab9 to your computer and use it in GitHub Desktop.
windows service startup for hangfire dashboard
using Microsoft.Owin;
using Owin;
using Hangfire;
[assembly: OwinStartup(typeof(WindowsService.Startup))]
namespace WindowsService
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.UseHangfireDashboard();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment