摘要:
在两进程间设置一个为服务端,一个为客户端服务端:使用代码 string baseAddress = @"http://localhost:8000/ServiceModelSamples11/service"; WSHttpBinding binding1 = new WSHttpBinding(); binding1.CloseTimeout = new TimeSpan(0, 2, 0); serviceHost = new ServiceHost(typeof(CalculatorService)); serviceHost.AddServiceEndpoint(ty 阅读全文
posted @ 2013-05-06 08:57 _银子 阅读(583) 评论(0) 推荐(0) 编辑