public static void CloseIISExpress()
        {
            using (var wc = new WebClient())
            {
                wc.DownloadString(new Uri($"{_webServer.BaseUrl}/database/restorefordevelopment"));
            }

            _webServer.Stop();
        }
Esempio n. 2
0
 public void StopHost()
 {
     try
     {
         _host.Stop();
     }
     catch (Exception e)
     {
         Console.WriteLine("Failed to stop the host: {0} {1}", e.GetType(), e.Message);
     }
 }
Esempio n. 3
0
 public static void AfterTestSuiteRun()
 {
     _host.Stop();
 }
 public static void CloseIISExpress()
 {
     _webServer.Stop();
 }
Esempio n. 5
0
 public static void StopHost()
 {
     host.Stop();
 }
Esempio n. 6
0
 public void StopHost()
 {
     _host.Stop();
 }