11 2016 档案

摘要:这个项目是一个控制台应用程序: 服务器端:using System; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; // State object for reading client data asynchronously public class State... 阅读全文
posted @ 2016-11-14 16:34 大漠孤烟-1234 阅读(1405) 评论(0) 推荐(0)
摘要:刚开始学习wcf,根据官方网站的说明写下的代码 第一步: 建立一个类库项目GettingStartedLib,首先添加wcf引用System.ServiceModel; 添加接口ICalculator,添加类CalculatorService实现接口ICalculator 代码:ICalculato 阅读全文
posted @ 2016-11-05 18:52 大漠孤烟-1234 阅读(2288) 评论(0) 推荐(0)
摘要:初次学习实现WCF winform程序的通信,主要功能是实现图片的传输。 下面是实现步骤: 第一步: 首先建立一个类库项目TransferPicLib,导入wcf需要的引用System.ServiceModel,建立接口ITransferPicService,建立类文件TransferPicServ 阅读全文
posted @ 2016-11-05 15:44 大漠孤烟-1234 阅读(1173) 评论(2) 推荐(0)