Ejemplo n.º 1
0
 public void SetupLocalWeb()
 {
     if (lastServiceType != this.ServiceType)
     {
         ShutdownLocalWeb();
         SetupServiceFiles();
         LocalWebServerHelper.StartWebServer();
         this.lastServiceType = this.ServiceType;
     }
 }
Ejemplo 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);
 }
Ejemplo n.º 3
0
 public void ShutdownLocalWeb()
 {
     LocalWebServerHelper.Cleanup();
     lastServiceType = null;
 }