上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 85 下一页
  2016年3月6日
摘要: public async Task<Customers> GetCustomers() { return await Service.GetCustomersAsync(); } public async void GetCustomers() { customerList = await GetC 阅读全文
posted @ 2016-03-06 09:37 武胜-阿伟 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 在.Net 4中,Task.Factory.StartNew是启动一个新Task的首选方法。它有很多重载方法,使它在具体使用当中可以非常灵活,通过设置可选参数,可以传递任意状态,取消任务继续执行,甚至控制任务的调度行为。所有这些能力也带来了复杂性的提升,你必须知道何时应该使用何种重载方法,提供哪种调 阅读全文
posted @ 2016-03-06 09:00 武胜-阿伟 阅读(3439) 评论(1) 推荐(1) 编辑
  2016年2月25日
摘要: private async void btnGetEmployees_Click(object sender, RoutedEventArgs e) { txtInfo.Text = "Data is Not Received Yet...."; MyRef.ServiceClient Proxy 阅读全文
posted @ 2016-02-25 21:36 武胜-阿伟 阅读(1214) 评论(0) 推荐(0) 编辑
  2016年2月24日
摘要: These days there’s a wealth of information about the new async and await support in the Microsoft .NET Framework 4.5. This article is intended as a “s 阅读全文
posted @ 2016-02-24 09:30 武胜-阿伟 阅读(423) 评论(0) 推荐(0) 编辑
  2016年2月13日
摘要: Please note: this article has been superceded by the documentation for the ChannelAdam WCF Library. Background In my previous article, How To Call WCF 阅读全文
posted @ 2016-02-13 22:17 武胜-阿伟 阅读(340) 评论(0) 推荐(0) 编辑
  2016年2月12日
摘要: http://stackoverflow.com/questions/730693/translate-this-app-config-xml-to-code-wcf <system.serviceModel> <bindings> <basicHttpBinding> <binding name= 阅读全文
posted @ 2016-02-12 16:57 武胜-阿伟 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 需要对一个List<Model>集合去重,情况是该集合中会出现多个Name属性值相同的,但是其他属性值不同的数据。 在这种情况下,需求要只保留其中一个就好。 我觉得遍历和HashSet都不是我想要的,便采用了一下方式 定义Compare类,继承IEqualityComparer接口 public c 阅读全文
posted @ 2016-02-12 15:01 武胜-阿伟 阅读(835) 评论(0) 推荐(0) 编辑
  2016年1月27日
摘要: 【IceGrid负载均衡部署步骤】1、环境主机1:IP=192.168.0.239,上面部署注册表服务器registry和节点node1,registry和node1运行在同一进程中;主机2:IP=192.168.0.25,上面部署节点node2;其中每个节点中包含一个服务程序,服务程序均在节点启动 阅读全文
posted @ 2016-01-27 21:45 武胜-阿伟 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 什么是ICE(Internet Communications Engine)呢,它是由Zeroc公司开 发的一套开源中间件系统,与DCOM,CORBA,WEB SERVICEDcom类似,支持RPC(Remote Procedure Call 远程过程调用)协议,但是在效率上却高于前面所述几种技术方 阅读全文
posted @ 2016-01-27 21:44 武胜-阿伟 阅读(428) 评论(0) 推荐(0) 编辑
摘要: ICE中间件说明文档 1 ICE中间件简介 2 平台核心功能 2.1 接口描述语言(Slice) 2.2 ICE运行时 2.2.1 通信器 2.2.2 对象适配器 2.2.3 位置透明性 2.3 异步编程模型 2.3.1 异步方法调用 2.3.2 异步方法分派 2.4 订阅/发布编程模型 2.5 动 阅读全文
posted @ 2016-01-27 21:37 武胜-阿伟 阅读(1718) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 85 下一页