上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页
摘要: 最简单的调用当然是服务引用,但是我更想原生调用,所以希望能通过报文有如下研究 1.报文分析 可以看到 1.wcf服务地址 http://dev.xxx.io/Demo/DemoService.svc?xsd=xsd0 http://dev.xxx.io/Demo/DemoService.svc?xs 阅读全文
posted @ 2016-10-25 11:51 zslm___ 阅读(513) 评论(0) 推荐(0) 编辑
摘要: public void AddLetters(IList customerIds, string title, string content, LetterEnum.LetterType type) { // 插入内容,获取内容ID var msgContentId = this.AddLetterContent(title, co... 阅读全文
posted @ 2016-10-24 10:38 zslm___ 阅读(260) 评论(0) 推荐(0) 编辑
摘要: @{ ViewBag.Title = "Home Page";}<script> function htmldecode(s) { console.log(s); var div = document.createElement('div'); div.innerHTML = s; return d 阅读全文
posted @ 2016-10-21 18:41 zslm___ 阅读(155) 评论(0) 推荐(0) 编辑
摘要: log4net.conifg 阅读全文
posted @ 2016-10-19 17:37 zslm___ 阅读(4095) 评论(0) 推荐(0) 编辑
摘要: 一个很简单的WCF报这个异常,才发现是 Response的类无法被序列化 因为在Response类里有一个枚举 StatusType,而系统的枚举值是 从0-5,但是数据库里多了一个值为6的记录 这样序列化就失败了 解决办法 1.删除数据库的非法值 2.Response里不用枚举,修改成int型 阅读全文
posted @ 2016-10-18 17:31 zslm___ 阅读(2156) 评论(0) 推荐(1) 编辑
摘要: <parameterMaps> <parameterMap id="delVersionBagInfoParam" class="DelVersionBagInfo"> <parameter property="UserId" column="userId"/> <parameter propert 阅读全文
posted @ 2016-10-17 09:17 zslm___ 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 其他所有路径都会返回404 阅读全文
posted @ 2016-09-27 10:42 zslm___ 阅读(106) 评论(0) 推荐(0) 编辑
摘要: IRestClient client = new RestClient("https://xxx.com/aa/bb"); var prjIds = "12067"; var request15 = new RestRequest().AddParameter("prjIds", prjIds).A 阅读全文
posted @ 2016-09-26 15:21 zslm___ 阅读(1506) 评论(0) 推荐(0) 编辑
摘要: /// /// 刮刮卡参数 /// [DataContract] public sealed class GetGuaGuaCardReq { /// /// 客户ID /// [DataMember] public int CustomerId { get; set;... 阅读全文
posted @ 2016-09-19 12:18 zslm___ 阅读(194) 评论(0) 推荐(0) 编辑
摘要: declare @spid int ; declare @ddlstring nvarchar(max); declare @dbname varchar(200); set @dbname='dbName'; declare tmpcur cursor for select distinct spid as spid from sys.sysprocesses where dbid=db_i... 阅读全文
posted @ 2016-09-08 14:48 zslm___ 阅读(195) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 35 下一页