protected override void OnStart(string[] args) { host = new IISExpressHost(); Action start = host.Start; start.BeginInvoke(delegate(IAsyncResult param) { start.EndInvoke(param); }, host); }
protected override void OnStart(string[] args) { Log.Setup("WebMediaPortalHosting.log", false); host = new IISExpressHost(); Action start = host.Start; start.BeginInvoke(delegate(IAsyncResult param) { start.EndInvoke(param); }, host); }
protected override void OnStart(string[] args) { LogRotation.Rotate(); Log.Setup("WebMediaPortalHosting.log", false); Installation.Load(MPExtendedProduct.WebMediaPortal); host = new IISExpressHost(); Action start = host.Start; start.BeginInvoke(delegate(IAsyncResult param) { start.EndInvoke(param); }, host); }
protected override void OnStart(string[] args) { LogRotation.Rotate(); Log.Filename = "WebMediaPortalHosting.log"; Log.ConsoleLogging = false; Log.TraceLogging = false; Log.Setup(); Installation.Load(MPExtendedProduct.WebMediaPortal); host = new IISExpressHost(); Action start = host.Start; start.BeginInvoke(delegate(IAsyncResult param) { start.EndInvoke(param); }, host); }