码迷,mamicode.com
首页 >  
搜索关键字:contract    ( 509个结果
.net 各种序列化方式效率对比
在服务与服务之间传输的是二进制数据,而在此之前有多种方法将数据内容进行序列化来减小数据传递大小,现针对于目前主流的几种序列化方式做了简单数据统计对比。 先做下简单介绍↓↓↓ 1、protobuf-net protobuf-net is a contract based serializer for ...
分类:Web程序   时间:2017-09-21 17:58:14    阅读次数:415
使用Spring Cloud合约进行消费者驱动的合同测试
使用Spring Cloud合约进行消费者驱动的合同测试 网址:https://specto.io/blog/2016/11/16/spring-cloud-contract/ 汤米·斯德尔 2016年11月16日 随着系统拓扑的增长,测试微服务成为一项艰巨的任务。当微服务器链接在一起以实现业务功能 ...
分类:编程语言   时间:2017-09-21 10:24:04    阅读次数:519
数组使用---进阶编程篇(五)
本篇文章讲解数组的使用,先是介绍下几种不同的数组,在说明下各自的区别和使用场景,然后注意细节,废话不多说,赶紧上代码。 在.Net 3.5之中,我们常用的数组基本就是如下的几种方式(词典Dictionary<TKey,TValue>比较特殊,下面单独解释): ArrayList 方式的数组 T[] ...
分类:编程语言   时间:2017-09-16 11:48:32    阅读次数:251
1 .net将xml反序列化
public static T XmlToObject<T>(string str) where T : class { using (Stream stream = new MemoryStream()) { byte[] data = System.Text.Encoding.UTF8.GetB ...
分类:Web程序   时间:2017-09-12 13:58:59    阅读次数:245
互联网产品研发策略演化
互联网产品研发策略演化Individuals and interactions over processes and toolsWorking software over comprehensive documentationCustomer collaboration over contract ... ...
分类:其他好文   时间:2017-09-09 19:04:33    阅读次数:267
设计模式之外观模式 Facade
代码实现 public interface Bank { void lend(); } class WuHanBank implements Bank{ @Override public void lend() { System.out.println("银行借钱"); } } public int ...
分类:其他好文   时间:2017-09-04 15:04:11    阅读次数:193
用 C# 实现一个简单的 Rest Service 供外部调用
用 C# 实现一个简单的 Restful Service 供外部调用,大体总结为4点: The service contract (the methods it offers). How do you know which one to access from the URL given (URL ...
分类:Windows程序   时间:2017-08-29 14:20:22    阅读次数:237
记录一次数据库某表未创建索引造成的问题
数据库中表索引未创建或者失效引发的系统CPU使用率过高、I/O异常问题 ...
分类:数据库   时间:2017-08-05 18:50:06    阅读次数:263
WCF快速上手(二)
一、代码结构: 二、服务接口Contract和实体类Domain INoticeService: using Domain; using System; using System.Collections.Generic; using System.Linq; using System.Service ...
分类:其他好文   时间:2017-07-26 13:37:24    阅读次数:202
扩展方法对json序列化及反序列化
this+类型名+变量名,.NET 3.0 之后新增的一种特性,叫“扩展方法”。 int类型变量都能调用toString()方法,将int类型变量转换成string型变量;如果需要更改转换的形式,比如将int类型变量转换成指定格式的字符串,并且这种方法调用非常频繁,可以编写扩展方法。扩展方法能够向现 ...
分类:Web程序   时间:2017-07-23 22:38:42    阅读次数:217
509条   上一页 1 ... 14 15 16 17 18 ... 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!