Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save mikebranstein/a30388c74e59196a5dee to your computer and use it in GitHub Desktop.
using Hangfire;
using Microsoft.Owin.Hosting;
GlobalConfiguration.Configuration.UseSqlServerStorage("hangfire");
StartOptions options = new StartOptions();
options.Urls.Add("http://localhost:9095");
options.Urls.Add("http://127.0.0.1:9095");
options.Urls.Add($"http://{Environment.MachineName}:9095");
WebApp.Start<Startup>(options);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment