上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 48 下一页

2017年8月26日

摘要: 意图:为了是客户端代理呈现出面向对象的多态的特征 a. 服务端 1.契约 实现了契约的继承这个在服务端是一点问题没有,因为oprationcontract可以继承,虽然DataContract不能实现继承,注意IAnimal和IDog都是契约,但是我们通常喜欢用最 具体的那个契约来发布服务,因为他最丰富 using System; using System.ServiceModel; name... 阅读全文
posted @ 2017-08-26 21:58 听哥哥的话 阅读(170) 评论(0) 推荐(0) 编辑
摘要: a. 服务端 1.契约 使用了继承 using System; using System.ServiceModel; namespace WCF.Chapter2.InheritanceReworked.Host { [ServiceContract] public interface IHuman { [OperationContract] ... 阅读全文
posted @ 2017-08-26 21:37 听哥哥的话 阅读(174) 评论(0) 推荐(0) 编辑
摘要: a. 服务端 1.服务端 契约用OperationContract的Name实现重载 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; n... 阅读全文
posted @ 2017-08-26 21:16 听哥哥的话 阅读(125) 评论(0) 推荐(0) 编辑

2017年8月23日

摘要: a.服务端安装 v11.1_win64_expc.zip 官网下载 b.客户端安装 Toad for DB2 Freeware 6.1 百度找找 1.建数据库 create database HRA_GF 2.建信道 catalog tcpip node gf remote 192.168.2.252 server 50000 3.1 别名 catalog database HRA_GF a... 阅读全文
posted @ 2017-08-23 18:37 听哥哥的话 阅读(174) 评论(0) 推荐(0) 编辑

2017年8月10日

摘要: http://developer.51cto.com/art/201001/175472.htm 阅读全文
posted @ 2017-08-10 09:21 听哥哥的话 阅读(93) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConsoleApplication15 { class Program { ... 阅读全文
posted @ 2017-08-10 00:32 听哥哥的话 阅读(373) 评论(0) 推荐(0) 编辑

2017年7月11日

摘要: 1.客户端代码 public static void FileMoveInVirtualMachineForCompressor() { var obj = new object(); string ip = "127.0.0.1"; int port = 11000; ... 阅读全文
posted @ 2017-07-11 14:56 听哥哥的话 阅读(1944) 评论(0) 推荐(0) 编辑

2017年7月9日

摘要: 看到了吧。这就是范围分区的简单例子。 阅读全文
posted @ 2017-07-09 21:35 听哥哥的话 阅读(295) 评论(0) 推荐(0) 编辑

2017年7月7日

摘要: //原文:http://www.tuicool.com/articles/IveiQbQ 创建并且初始化Task 使用lambda表达式创建Task Task.Factory.StartNew(() => Console.WriteLine("Hello from a task!")); var task = new Task(() => Console.Write("... 阅读全文
posted @ 2017-07-07 00:42 听哥哥的话 阅读(214) 评论(0) 推荐(0) 编辑
摘要: http://www.tuicool.com/articles/IveiQbQ 阅读全文
posted @ 2017-07-07 00:28 听哥哥的话 阅读(111) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 48 下一页

导航