摘要: 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>(); ... 阅读全文
posted @ 2012-08-16 11:01 xiaoshiyilang 阅读(583) 评论(0) 推荐(0) 编辑