static void Main(string[] args) { TestServiceClient aProxyClient = new TestServiceClient("NetNamedPipeBinding_ITestService"); var message = aProxyClient.EchoOperation("Hello wcf"); Console.WriteLine(message); Console.Read(); }