摘要:
1 使用客户端代理: CalculatorClient proxy = new CalculatorClient(); Console.WriteLine(proxy.Add(10, 20)); Console.WriteLine(proxy.Multiple(10, 20)); Console.Read();2 使用ChannelFactoryView Code ChannelFactory<ICalculator> factoryProxy = new ChannelFactory<ICalculator>(); ... 阅读全文