static void StartWebserver() { try { System.Diagnostics.Debug.WriteLine(string.Format("Starting webserver on port {0} ..."), Properties.Settings.Default.WebserverPort); Webserver proxyHost = new Webserver(Properties.Settings.Default.WebserverPort); proxyHost.Start(); System.Diagnostics.Debug.WriteLine(string.Format("Webserver running.")); } catch (Exception ex) { LogEx(ex); throw; } }
static void StartWebserver() { try { System.Diagnostics.Debug.WriteLine (string.Format ("Starting webserver on port {0} ..."), Properties.Settings.Default.WebserverPort); Webserver proxyHost = new Webserver (Properties.Settings.Default.WebserverPort); proxyHost.Start (); System.Diagnostics.Debug.WriteLine (string.Format ("Webserver running.")); } catch (Exception ex) { LogEx (ex); throw; } }