2023年5月26日

windows下重载nginx配置失败

摘要: 正常操作命令是:cd C:\Program Files\nginx && nginx -s reload。 但是把nginx安装为windows服务运行后,再执行重载就不好使了。 会报错:nginx: [error] OpenEvent("Global\ngx_reload_4460") faile 阅读全文

posted @ 2023-05-26 12:30 鱼歌 阅读(1323) 评论(0) 推荐(1)

2023年4月3日

windows下elk安装配置-elasticsearch/kibana/filebeat

摘要: 以8.6.2为例,下载地址elasticsearch:https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.6.2-windows-x86_64.zipkibana:https://artifacts.elastic 阅读全文

posted @ 2023-04-03 19:53 鱼歌 阅读(1164) 评论(0) 推荐(0)

2023年2月20日

几种常用的C#线程安全的单例方式

摘要: 整理了几种常用的C#线程安全的单例方式 namespace SafeSingleton { /// <summary> /// 线程安全的单例方式:CAS /// </summary> class Singleton_CAS { private static Singleton_CAS single 阅读全文

posted @ 2023-02-20 12:39 鱼歌 阅读(243) 评论(0) 推荐(0)

2021年12月8日

解决报错:Unable to resolve service for type 'AspNetCoreRateLimit.IProcessingStrategy' while attempting to activate 'AspNetCoreRateLimit.IpRateLimitMiddleware

摘要: Unable to resolve service for type 'AspNetCoreRateLimit.IProcessingStrategy' while attempting to activate 'AspNetCoreRateLimit.IpRateLimitMiddleware 4 阅读全文

posted @ 2021-12-08 18:01 鱼歌 阅读(1375) 评论(0) 推荐(2)

2021年11月30日

解决Visual Studio报错 NETSDK1152: 找到了多个具有相同相对路径的发布输出文件

摘要: 报错:C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.ConflictResolution.targets(112,5): 错误 NETSDK1152: 找到了多个具有相同相对路径的发布 阅读全文

posted @ 2021-11-30 13:32 鱼歌 阅读(6377) 评论(4) 推荐(3)

导航