- 博客(11)
- 收藏
- 关注
转载 chose.jquery 多选
<select id="language" data-placeholder="选择类别..." class="chosen-select" multiple style="width:350px;" tabindex="2"><option value="E">英语</option><option value="F">法语&l...
2016-10-28 18:16:00 56
转载 chose.jquery 联动
<!doctype html><html lang="en"><head> <meta charset="utf-8"> <title>Chosen: A jQuery Plugin by Harvest to Tame Unwieldy Select Boxes</title> &...
2016-10-27 23:49:00 84
转载 insert into output使用
declare @t table (logId int,customerId int,amount int)insert into log( customerId,amount)outputinserted.Id,inserted.CustomerId,inserted.Amountinto @tvalues(@coustomerId,@amount)sel...
2016-10-27 10:24:00 661
转载 gRPC+etcd的优势分析
相比webService等可跨平台,跨语言的服务相比,gRPC更增加了以下优势1.可以采用二进制传输,速度更快 (使用TCP传输层,而不是Http2应用层)2.集群服务,统一注册,可靠性高( 好的服务自动注册,坏的服务自动删除)3.服务版本管理,平稳升级不影响其他低级版本调用4.proto文件比wsdl更友好,精简,通用转载于:https://www.cnblogs...
2016-10-26 09:59:00 389
转载 wcf第4步之原生调用简单封装
public interface IDemoServiceChannel : IDemoService, System.ServiceModel.IClientChannel { } public partial class DemoServiceClient : System.ServiceModel.ClientBase<...
2016-10-25 12:09:00 108
转载 wcf第3步之报文分析及原生调用
最简单的调用当然是服务引用,但是我更想原生调用,所以希望能通过报文有如下研究1.报文分析<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsu="http://docs.o...
2016-10-25 11:51:00 98
转载 IBatis 批量插入数据之SqlBulkCopy
public void AddLetters(IList<int> customerIds, string title, string content, LetterEnum.LetterType type) { // 插入内容,获取内容ID var msgContentId = this.AddLet...
2016-10-24 10:38:00 92
转载 MVC前后端数据被编码
@{ ViewBag.Title = "Home Page";}<script> function htmldecode(s) { console.log(s); var div = document.createElement('div'); div.innerHTML = s; return di...
2016-10-21 18:41:00 81
转载 log4Net控制台输出
using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Text;using System.Threading.Tasks;using log4net;using log4net.Config;namespace Con...
2016-10-19 17:37:00 237
转载 这可能是由于服务终结点绑定未使用 HTTP 协议造成的 .这还可能是由于服务器中止了 HTTP 请求上下文...
一个很简单的WCF报这个异常,才发现是 Response的类无法被序列化因为在Response类里有一个枚举 StatusType,而系统的枚举值是 从0-5,但是数据库里多了一个值为6的记录这样序列化就失败了解决办法1.删除数据库的非法值2.Response里不用枚举,修改成int型转载于:https://www.cnblogs.com/zh...
2016-10-18 17:31:00 833
转载 IBatis存储过程返回值
<parameterMaps> <parameterMap id="delVersionBagInfoParam" class="DelVersionBagInfo"> <parameter property="UserId" column="userId"/> <parameter property="VerBagI...
2016-10-17 09:17:00 101
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人