private void StartTestingService() { testingService = new TestingService(); serviceHost = new ServiceHost(testingService); serviceHost.AddServiceEndpoint(typeof(ITestingService), new NetTcpBinding(), Testing.ServiceURI); serviceHost.Open(); }