Esempio n. 1
0
        private void StartTestingService()
        {
            testingService = new TestingService();

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

            serviceHost = new ServiceHost(testingService);
            serviceHost.AddServiceEndpoint(typeof(ITestingService), new NetTcpBinding(), Testing.ServiceURI);
            serviceHost.Open();
        }