static void Main(string[] args) { var server = new SimpleWebServer("http://localhost:8080/", "files/"); server.Start(); Console.WriteLine("Press key to exit ..."); Console.Read(); }
static void Main(string[] args) { Trace.Listeners.Add(new ConsoleTraceListener()); var server = new SimpleWebServer("http://localhost:10000/", "files/"); server.Start(); Console.WriteLine("Press key to exit ..."); Console.ReadKey(); }