2021年9月27日
摘要: 参考的资料:https://docs.microsoft.com/zh-cn/dotnet/core/install/linux-centos ✔️ 8 ✔️ 2.1 ✔️ 3.1 ✔️ 5.0 sudo dnf install dotnet-sdk-5.0 sudo dnf install asp 阅读全文
posted @ 2021-09-27 19:58 1老王 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 参考的资料:https://docs.docker.com/engine/install/centos/ sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ https://download.docker.com/ 阅读全文
posted @ 2021-09-27 19:57 1老王 阅读(20) 评论(0) 推荐(0) 编辑
  2021年9月26日
摘要: https://developer.aliyun.com/article/768334?spm=a2c6h.13813017.content3.2.57647ce05dKMCI 阅读全文
posted @ 2021-09-26 16:48 1老王 阅读(7) 评论(0) 推荐(0) 编辑
  2021年6月25日
摘要: 发版之后,报没有找到相关程序集,网络搜索,安装host 解决程序集问题,但依然报500错误,baidu和gooole很多不着边际的答案,最终决定先在本地发布看是否正常 在本地呈现和线上环境一样的500错误之后,依然没有头绪,搜索官方文档,500可能的错误,依然没有头绪,发现可以通过日志文件排除错误, 阅读全文
posted @ 2021-06-25 16:24 1老王 阅读(175) 评论(0) 推荐(0) 编辑
  2021年6月21日
摘要: 给不同的域名配置指向同一个服务器不同的端口 百度,查找demo,几段代码很快copy到 nginx配置文件中,发现其他端口能够正常运行,唯独80端口不能正常运行,尝试了网上提供的把server-name 改为自己域名,对比的网上代码和本地代码,依然没有解决问题, 排查域名是否正确指向80端,排查80 阅读全文
posted @ 2021-06-21 17:05 1老王 阅读(124) 评论(0) 推荐(0) 编辑
  2020年9月3日
摘要: 这两种模式都是消息路由 direct 通过key来发送,toptic 是通配符key来发送,在direct上更有优势 阅读全文
posted @ 2020-09-03 15:04 1老王 阅读(198) 评论(0) 推荐(0) 编辑
  2020年9月2日
摘要: the producer can only send messages to an exchange An exchange is a very simple thing. On one side it receives messages from producers and the other s 阅读全文
posted @ 2020-09-02 18:07 1老王 阅读(109) 评论(0) 推荐(0) 编辑
  2020年9月1日
摘要: CAP 是一个基于 .NET Standard 的 C# 库,它是一种处理分布式事务的解决方案,同样具有 EventBus 的功能 使用非常简单 services.AddCap(x => { // If you are using EF, you need to add the configurat 阅读全文
posted @ 2020-09-01 17:26 1老王 阅读(174) 评论(0) 推荐(0) 编辑
  2020年8月27日
摘要: 1. 引言 事件总线这个概念对你来说可能很陌生,但提到观察者(发布-订阅)模式,你也许就很熟悉。事件总线是对发布-订阅模式的一种实现。它是一种集中式事件处理机制,允许不同的组件之间进行彼此通信而又不需要相互依赖,达到一种解耦的目的。 我们来看看事件总线的处理流程: 了解了事件总线的基本概念和处理流程 阅读全文
posted @ 2020-08-27 16:07 1老王 阅读(515) 评论(0) 推荐(0) 编辑
  2020年8月26日
摘要: UseHealthChecks 阅读全文
posted @ 2020-08-26 14:57 1老王 阅读(181) 评论(0) 推荐(0) 编辑