[ServiceContract] public interface IHyperisCommonService { Guid IsOnLine(Guid message); }
ServiceHost serviceHostStatus = new ServiceHost(typeof(Hyperis.Common.HyperisCommonService)); NetTcpBinding serviceHostBinding = new NetTcpBinding(); serviceHostStatus.AddServiceEndpoint(typeof(Hyperis.Common.IHyperisCommonService), serviceHostBinding, new Uri("net.tcp://localhost:5000/HyperisCommonService")); serviceHostStatus.Open();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)