10 2016 档案
摘要:https://harvesthq.github.io/chosen/#optgroup-support
阅读全文
摘要:Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes Into This ...
阅读全文
摘要:declare @t table (logId int,customerId int,amount int) insert into log( customerId,amount) output inserted.Id,inserted.CustomerId,inserted.Amount into
阅读全文
摘要:相比webService等可跨平台,跨语言的服务相比,gRPC更增加了以下优势 1.可以采用二进制传输,速度更快 (使用TCP传输层,而不是Http2应用层) 2.集群服务,统一注册,可靠性高( 好的服务自动注册,坏的服务自动删除) 3.服务版本管理,平稳升级不影响其他低级版本调用 4.proto文
阅读全文
摘要:最简单的调用当然是服务引用,但是我更想原生调用,所以希望能通过报文有如下研究 1.报文分析 可以看到 1.wcf服务地址 http://dev.xxx.io/Demo/DemoService.svc?xsd=xsd0 http://dev.xxx.io/Demo/DemoService.svc?xs
阅读全文
摘要:public void AddLetters(IList customerIds, string title, string content, LetterEnum.LetterType type) { // 插入内容,获取内容ID var msgContentId = this.AddLetterContent(title, co...
阅读全文
摘要:@{ ViewBag.Title = "Home Page";}<script> function htmldecode(s) { console.log(s); var div = document.createElement('div'); div.innerHTML = s; return d
阅读全文
摘要:一个很简单的WCF报这个异常,才发现是 Response的类无法被序列化 因为在Response类里有一个枚举 StatusType,而系统的枚举值是 从0-5,但是数据库里多了一个值为6的记录 这样序列化就失败了 解决办法 1.删除数据库的非法值 2.Response里不用枚举,修改成int型
阅读全文
摘要:<parameterMaps> <parameterMap id="delVersionBagInfoParam" class="DelVersionBagInfo"> <parameter property="UserId" column="userId"/> <parameter propert
阅读全文