Exemplo n.º 1
0
 public void Stop()
 {
     if (HostableWebCore.IsActivated)
     {
         HostableWebCore.Shutdown(false);
     }
 }
Exemplo n.º 2
0
 public void Start()
 {
     if (!HostableWebCore.IsActivated)
     {
         HostableWebCore.Activate(configSettings.AppConfigPath, configSettings.RootWebConfigPath, Guid.NewGuid().ToString());
     }
 }
Exemplo n.º 3
0
 void Dispose(bool disposing)
 {
     if (!_disposed)
     {
         _disposed = true;
         HostableWebCore.Shutdown(false);
     }
 }
Exemplo n.º 4
0
 public void Start()
 {
     // Start Web Server
     if (!HostableWebCore.IsActivated)
     {
         HostableWebCore.Activate(_applicationHostConfigPath, null, Guid.NewGuid().ToString());
     }
 }
Exemplo n.º 5
0
 public void Start()
 {
     CheckDisposed();
     HostableWebCore.Activate(_appHostConfigPath, _rootWebConfigPath, Guid.NewGuid().ToString());
 }