Exemplo n.º 1
0
 public void SetupLocalWeb()
 {
     if (lastServiceType != this.ServiceType)
     {
         ShutdownLocalWeb();
         SetupServiceFiles();
         LocalWebServerHelper.StartWebServer();
         this.lastServiceType = this.ServiceType;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Sets up the required files locally to test the web data service
 /// through the local web server.
 /// </summary>
 private void SetupServiceFiles()
 {
     serviceEntryPointLocation = LocalWebServerHelper.SetupServiceFiles(
         ServiceFileName,
         this.ServiceType);
 }
Exemplo n.º 3
0
 public void ShutdownLocalWeb()
 {
     LocalWebServerHelper.Cleanup();
     lastServiceType = null;
 }