Skip to content

Instantly share code, notes, and snippets.

@ianbattersby
Created May 15, 2013 21:17
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 ianbattersby/5587478 to your computer and use it in GitHub Desktop.
Save ianbattersby/5587478 to your computer and use it in GitHub Desktop.
namespace Some.Demo {
using System;
using Fix.Katana;
using Microsoft.Owin.Hosting;
class Program
{
static void Main(string[] args)
{
var hostname = "localhost";
var port = 3334;
using (WebApplication.Start<Startup>(string.Format("http://{0}:{1}/", hostname, port)))
{
Console.WriteLine(
"Katana: listening at http://{0}:{1}/. Press CTRL-C to stop.", hostname, port);
while (!_stop)
{
Console.ReadKey();
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment