2012年2月23日
摘要: 在客户端不使用配置文件,通过写代码的方式调用寄宿在IIS上Wcf服务的时候,出现一个比较奇怪的问题。客户端的代码如下:Binding httpBinding = new BasicHttpBinding();EndpointAddress httpAddressIISHost = new EndpointAddress("http://localhost/wcfservices/CalculatorService.svc");using (Client iisClient = new Client(httpBinding, httpAddressIISHost)) { .. 阅读全文
posted @ 2012-02-23 23:09 细小猛 阅读(670) 评论(0) 推荐(0) 编辑