摘要: 右键添加应用程序 别名就是虚拟路径 比如本来路径是http://localhost:44336/main.html 别名为 qwer 那么就可以访问http://localhost:44336/qwer/main.html 阅读全文
posted @ 2020-07-09 15:42 netlock 阅读(955) 评论(0) 推荐(0) 编辑
摘要: 还有很多文件在C:\Users\lock\AppData 比如C:\Users\lock\AppData\Local\Temp 临时文件 C:\Users\lock\AppData\Roaming\等等 方法1:借助360安全卫士、腾讯电脑管家、鲁大师等第三方软件来清理C盘空间垃圾 方法2:使用电脑 阅读全文
posted @ 2020-07-09 14:11 netlock 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 解决 打开项目文文件夹以.csproj结尾的文件),找到WebProjectProperties节点然后,将图中框选的三项节点内容全部清空 删除.vs 重新启动即可 阅读全文
posted @ 2020-07-08 11:13 netlock 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 将s去掉就行 阅读全文
posted @ 2020-07-08 11:05 netlock 阅读(2854) 评论(0) 推荐(1) 编辑
摘要: 传递参数: window.location='editCourse.html?dataId='+dataId+''; 获取url中的参数(封装的方法): function getUrlParam(name) { var reg = new RegExp("(^|&)" + name + "=([^& 阅读全文
posted @ 2020-07-06 17:27 netlock 阅读(6187) 评论(0) 推荐(3) 编辑
摘要: <script type="text/javascript" language=JavaScript charset="UTF-8"> document.onkeydown=function(event){ var e = event || window.event || arguments.cal 阅读全文
posted @ 2020-07-06 14:38 netlock 阅读(1779) 评论(0) 推荐(1) 编辑
摘要: 原文 https://www.cnblogs.com/essenroc/p/8630730.html // 随着版本更迭,新版本可能无法完全适用,请参考仓库内的示例。 这篇文章将介绍ASP.NET Core中使用 开源项目 Payment(https://github.com/Essensoft/P 阅读全文
posted @ 2020-07-05 11:30 netlock 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 1 Entities data=new Entities(); var list = from p in data.Record where p.CreateTime >= d && p.CreateTime < DateTime.Today select new { ID = p.ID, Name 阅读全文
posted @ 2020-07-05 11:23 netlock 阅读(518) 评论(0) 推荐(0) 编辑
摘要: tatic void Main(string[] args) { //先反序列化看看 string json = "{\"name\": true,\"age\": \"success\",\"hobby\": [{\"obj1\": \"6\",\"obj2\": \"7\",\"obj3\": 阅读全文
posted @ 2020-07-05 10:52 netlock 阅读(1489) 评论(0) 推荐(0) 编辑
摘要: public static string StortJson(string json) { var dic = JsonConvert.DeserializeObject<SortedDictionary<string, object>>(json); SortedDictionary<string 阅读全文
posted @ 2020-07-05 10:50 netlock 阅读(692) 评论(0) 推荐(0) 编辑