Skip to content

Instantly share code, notes, and snippets.

@chris-brown
Created February 3, 2015 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-brown/598a0010b43dcc605544 to your computer and use it in GitHub Desktop.
Save chris-brown/598a0010b43dcc605544 to your computer and use it in GitHub Desktop.
katana self hosting startup block
using (WebApp.Start<Startup>("http://localhost:1234"))
{
Console.WriteLine("Listening on port: 1234");
Console.ReadLine();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment