摘要:
$.ajax({url:"xxx",async:true,dataType:"json",contentType:"application/json",data:{},beforeSend: function (XMLHttpRequest) {XMLHttpRequest.setRequestHe
阅读全文
posted @ 2018-10-10 17:56
邢帅杰
阅读(2268)
推荐(1)
摘要:
原因:原先项目中没有webapi,后来添加的。 然后就没法正常访问,百度了下发现是 App_Start/WebApiConfig.cs中路由配置多了个api 而且没有加{action}, 然后修改成:routeTemplate: "{controller}/{action}/{id}",仍然没法访问
阅读全文
posted @ 2018-09-22 20:32
邢帅杰
阅读(1543)
推荐(0)
摘要:
修改my.ini,在[mysqld]下加上default-storage-engine=INNODB 其中红色字体部分是要指定的引擎名称。用sql语句修改已经建成表的引擎:alter table tableName type=InnoDB https://blog.csdn.net/shendegu
阅读全文
posted @ 2018-09-15 22:06
邢帅杰
阅读(2718)
推荐(0)
摘要:
NuGet学习笔记(1)——初识NuGet及快速安装使用 https://kb.cnblogs.com/page/143190/ NuGet学习笔记(2)——使用图形化界面打包自己的类库 https://kb.cnblogs.com/page/143191/ NuGet学习笔记(3)——搭建属于自己
阅读全文
posted @ 2018-09-06 10:41
邢帅杰
阅读(531)
推荐(1)
摘要:
SourceTree克隆项目到本地的时候报错:warning: templates not found C:\Program Files\Git\share\git-core\templates 原因是SourceTree读取git配置的时候没有找到正确的templates目录 解决办法:找到git
阅读全文
posted @ 2018-09-05 10:44
邢帅杰
阅读(525)
推荐(0)
摘要:
https://www.cnblogs.com/eye-like/p/8494355.html https://blog.csdn.net/u012658972/article/details/79154049/ https://www.cnblogs.com/yaoh/p/5279109.html
阅读全文
posted @ 2018-09-03 14:13
邢帅杰
阅读(272)
推荐(0)
摘要:
单条件: var query = from person in people join pet in pets on person equals pet.Owner select new { OwnerName = person.FirstName, PetName = pet.Name }; 多条
阅读全文
posted @ 2018-08-31 15:29
邢帅杰
阅读(242)
推荐(0)
摘要:
检测是否具有TLS1.2:www.ssllabs.com 实验过的办法: https://www.cnblogs.com/wqcheng/p/6618070.html http://www.ocbc.com.cn/business-banking/cn/e-banking/faq-system-re
阅读全文
posted @ 2018-08-21 18:11
邢帅杰
阅读(2837)
推荐(1)
摘要:
获取OpenId和SessionKey code
阅读全文
posted @ 2018-08-15 15:28
邢帅杰
阅读(187)
推荐(0)
摘要:
function urlencode (str) { str = (str + '').toString(); return encodeURIComponent(str).replace(/!/g, '%21').replace(/'/g, '%27').replace(/\(/g, '%28')
阅读全文
posted @ 2018-08-14 16:55
邢帅杰
阅读(2558)
推荐(0)