摘要: 1 创建两个项目 Wcf_WsDual_Service Wcf_WsDual_Client 2 Wcf_WsDual_Service 项目中创建 LoginService.cs 的wcf文件 using System.ServiceModel; namespace Wcf_WsDual_Servic 阅读全文
posted @ 2018-12-23 22:11 当年在远方 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 1 创建两个控制台项目 WcfService和WcfClient 在wcfService项目中新建一个wcf服务的文件项(HomeService)会自动附带生成一个IHomeService.cs的文件 using System.ServiceModel; namespace WcfService { 阅读全文
posted @ 2018-12-23 19:47 当年在远方 阅读(1400) 评论(0) 推荐(0) 编辑
摘要: 1首先上一张wcf通讯图 a.Proxy代理部分底层调用的是 xxxxClient=> ChannelFactory=>IInpuChannel/IOutChannel... b.Transaction、Encoding、Security、transport这些则被封装在了协议栈里面 如BasicH 阅读全文
posted @ 2018-12-23 19:25 当年在远方 阅读(221) 评论(0) 推荐(0) 编辑