摘要:
1. 特别注意 binding name="BindingBehaviorConfiguration" (名字可以随意取,但是必须要服务端和客户端保持一致) bindingConfiguration="BindingBehaviorConfiguration" 如何没有配置保持一致:出现:服务器已... 阅读全文
摘要:
直接上实例:js部分:1.对象实体var userInfo={ UserID: "@User.UserID", UserName: "@User.UserName", UserRole:"@((int)User.Role)",ClassID: @classid, ClassName:"@ViewBag.ClassModel.ClassName", title: fileObj.name, url: json.info.image, w... 阅读全文
摘要:
Data Source=192.168.1.1;Initial Catalog=room;Persist Security Info=True;User ID=root;Password=***;Pooling=False;charset=utf8;MAX Pool Size=2000;Min Pool Size=1;Connection Lifetime=30; 阅读全文
摘要:
$.request = (function () { var apiMap = {}; function request(queryStr) { var api = {}; if (apiMap[queryStr]) { return apiMap[queryStr]; } api.queryString = (function () { var urlParams = {}; var e, d = function (s) { return decodeURIComponent(s.replace(/\+/g, " ")); }, q = queryStr.substri 阅读全文