上一页 1 ··· 3 4 5 6 7 8 9 下一页
摘要: http请求,接口又重新调整了,好用 阅读全文
posted @ 2019-09-02 16:15 天天的蓝色 阅读(12397) 评论(0) 推荐(0) 编辑
摘要: 然后,在startup.cs中增加 所有中间件需要放在UseMvc前面 测试 阅读全文
posted @ 2019-08-16 17:19 天天的蓝色 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: config配置如下 然后,在该调用的地方,直接调用 即可在console和file中显示 log4net查看地址:http://logging.apache.org/log4net/release/manual/configuration.html 阅读全文
posted @ 2019-08-15 15:48 天天的蓝色 阅读(472) 评论(0) 推荐(0) 编辑
摘要: url下载文件地址 阅读全文
posted @ 2019-08-14 11:21 天天的蓝色 阅读(3338) 评论(0) 推荐(0) 编辑
摘要: url是下载文件的地址 阅读全文
posted @ 2019-08-14 11:20 天天的蓝色 阅读(5424) 评论(0) 推荐(0) 编辑
摘要: public static string Midstr(string sourse, string s, string e) { Regex rg = new Regex("(?<=(" + s + "))[.\\s\\S]*?(?=(" + e + "))", RegexOptions.Multiline | RegexOptions.Singlelin... 阅读全文
posted @ 2019-08-14 10:52 天天的蓝色 阅读(774) 评论(0) 推荐(0) 编辑
摘要: 原来有方法可以获取到contenttype,忘了。 阅读全文
posted @ 2019-08-06 17:47 天天的蓝色 阅读(10297) 评论(0) 推荐(0) 编辑
摘要: code也可以用上一个的GetRandomString方法获取随机字符串后,做字符验证码,不过,转字符流的时候,用Image即可,destBmp有点难以识别。 阅读全文
posted @ 2019-07-29 17:12 天天的蓝色 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 获取随机字符串,来源 https://www.cnblogs.com/iack/p/3541755.html 阅读全文
posted @ 2019-07-29 17:09 天天的蓝色 阅读(1272) 评论(0) 推荐(0) 编辑
摘要: 用下面这个方法吧;; 阅读全文
posted @ 2019-07-19 14:48 天天的蓝色 阅读(1909) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 下一页