上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 33 下一页
摘要: 运行所有MVC一直502,重启了iis服务, 之后弹出这个框: 之后的解决办法: 1. If you open the applicationhost,config file in VS while running as an administrator, can you save it?2. As 阅读全文
posted @ 2018-11-08 13:38 daviyoung 阅读(254) 评论(0) 推荐(0)
摘要: 1、Get方法时,直接用浏览器访问 2、Postman 3、用HttpClient调用 阅读全文
posted @ 2018-10-23 13:37 daviyoung 阅读(1915) 评论(0) 推荐(0)
摘要: public static String GetIP() { String ip = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (string.IsNullOrEmpty(ip)) { ip = HttpContext.Current.... 阅读全文
posted @ 2018-10-23 10:24 daviyoung 阅读(136) 评论(0) 推荐(0)
摘要: json格式没有错误,内容没有什么异常 反序列化一直显示第一行有异常符号, 在https://jsonlint.com/上面检测了一下,发现了这个 解决办法: UTF-8格式编码 改成 UTF-8无BOM格式编码 阅读全文
posted @ 2018-10-12 12:05 daviyoung 阅读(598) 评论(0) 推荐(0)
摘要: https://jsonlint.com/ 阅读全文
posted @ 2018-10-11 18:19 daviyoung 阅读(411) 评论(0) 推荐(0)
摘要: var newStr = System.Text.RegularExpressions.Regex.Unescape(str); 阅读全文
posted @ 2018-09-20 12:21 daviyoung 阅读(201) 评论(0) 推荐(0)
摘要: using Ionic.Zip; public class ZipHelper { public static void ZipSingleFile(string zipPath) { try { using (ZipFile zip = new ZipFile()) ... 阅读全文
posted @ 2018-08-30 12:28 daviyoung 阅读(351) 评论(0) 推荐(0)
摘要: 未完待续 阅读全文
posted @ 2018-07-02 12:14 daviyoung 阅读(109) 评论(0) 推荐(0)
摘要: using System.Diagnostics; public static void carveVideo() { var inputpath = @"d:\1.mp4"; var outPath = @"d:\1_carve.mp4"; var startTime = "00:00:0... 阅读全文
posted @ 2018-05-31 11:42 daviyoung 阅读(806) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { getsqliteData(); } public static void getsqliteData() { SQLiteConnection cnn = ne... 阅读全文
posted @ 2018-05-24 10:22 daviyoung 阅读(4310) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 33 下一页