static void Main(string[] args) { Trace.Listeners.Add(new TextWriterTraceListener(System.Console.Out)); BasicWebServer server = new BasicWebServer(); Task.Run(() => { server.start(); }); while (true) { System.Threading.Thread.Sleep(1000); } }
static void Main(string[] args) { Trace.Listeners.Add(new TextWriterTraceListener(System.Console.Out)); BasicWebServer server = new BasicWebServer(); Task.Run(() => { server.start(); }); while (true) { System.Threading.Thread.Sleep(1000); } }