上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 转自https://www.nhooo.com/note/qa02fb.html Task.WaitAll阻止当前线程,直到所有其他任务完成执行为止。Task.WhenAll方法用于创建仅当所有其他任务均已完成时才完成的任务。 如果我们使用Task.WhenAll,我们将得到一个未完成的任务对象。但 阅读全文
posted @ 2021-06-21 08:39 拼博之路 阅读(2894) 评论(0) 推荐(1) 编辑
摘要: 引用了Quartz组件后,打印日志时,整天都有相应的调试信息打印出来,严重影响了查找日志效率,谷歌一番后,修改nlog配置文件即可 <?xml version="1.0" encoding="utf-8" ?> <nlog xmlns="http://www.nlog-project.org/sch 阅读全文
posted @ 2021-06-18 16:23 拼博之路 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 上图 AppSettingsHelper代码, 标红的部分,要按照这个来,否则会提示找不到appsettings.json文件 The configuration file 'appsettings.json' was not found and is not optional. The physi 阅读全文
posted @ 2021-05-29 18:31 拼博之路 阅读(586) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; usi 阅读全文
posted @ 2021-05-29 10:42 拼博之路 阅读(1879) 评论(0) 推荐(0) 编辑
摘要: using System.Web.Mvc.Html; EnumHelper.GetSelectList(typeof(OperationType)); OperationType 如下 public enum OperationType:int { /// <summary> /// 系统 /// 阅读全文
posted @ 2021-05-26 09:49 拼博之路 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 类似下面的文件名info/nul.htmlinfo/aux.html 服务器直接返回404错误提示查了资料,解决方案如下 web.config中增加如下加粗部分 <configuration> <system.web> <httpRuntime relaxedUrlToFileSystemMappi 阅读全文
posted @ 2021-05-23 16:36 拼博之路 阅读(81) 评论(0) 推荐(0) 编辑
摘要: System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase("要转换的字母") you just have to believe in yourself, and fly with your heart. TO 阅读全文
posted @ 2021-05-07 11:07 拼博之路 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 用以下代码可将Fody/Costura嵌入式的资源文件还原 public static void ExtractResFile(string resFileName, string outputFile) { try { using (FileStream inStream = new FileSt 阅读全文
posted @ 2021-05-07 11:03 拼博之路 阅读(876) 评论(0) 推荐(0) 编辑
摘要: Redis Windows版本下载地址 https://github.com/tporadowski/redis/releases 安装可参照https://blog.csdn.net/yangwenxue1989/article/details/88884668 所有配置均在 redis.wind 阅读全文
posted @ 2021-04-27 16:53 拼博之路 阅读(69) 评论(0) 推荐(0) 编辑
摘要: docker run -it -v /www/wwwlogs/kkw:/logs -d -p 8055:8055 --restart=always --name kkw kkw 还是搞不太明白啊 参数尽量放在 --name kkw kkw 的前面,放后面,似乎不能生效,还需要测试 docker ru 阅读全文
posted @ 2021-04-03 12:14 拼博之路 阅读(702) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页