摘要: The build restored NuGet packages. Build the project again to include these packages in the build 在 Visual Studio 2022 中构建代码时出现此错误。 严重性 代码 说明 项目 文件 行 阅读全文
posted @ 2023-10-08 20:35 谷樵 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 公司酒店预订APP和微信小程序开发,第三方【磐河旅行】开放平台的酒店API接口对接实录,酒店查询API接口,酒店预订API接口。。 阅读全文
posted @ 2023-03-02 17:13 谷樵 阅读(418) 评论(0) 推荐(1) 编辑
摘要: 一、Redis windows安装 1,下载网址:https://github.com/MicrosoftArchive/redis/releases 网站在国外,下载速度会很慢,可以用迅雷等来下载,做法是右击链接,选择复制链接地址,然后到迅雷等软件中下载 还要注意的是因为redis没有做Windo 阅读全文
posted @ 2021-09-08 11:27 谷樵 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 目前RabbitMQ官方给的出的客户端发送消息的Demo的都是基于短连接来做的,例如: ConnectionFactory cf = new ConnectionFactory(); cf.Uri = serverAddress; using (IConnection conn = cf.Creat 阅读全文
posted @ 2021-08-23 15:39 谷樵 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 正常情况下,RabbitMQ安装完成后,在开始菜单右键选择【RabbitMQ Service - start】,然后以管理员身份运行 可通过访问 http://localhost:15672 进行测试,默认登录账户为:guest / guest PS:以上若不能正常访问RabbitMQ界面,则需要首 阅读全文
posted @ 2021-08-21 12:45 谷樵 阅读(2995) 评论(0) 推荐(0) 编辑
摘要: mongod.conf $ vi /etc/mongod.conf 手册 https://docs.mongodb.com/manual/reference/configuration-options https://docs.mongodb.com/manual/reference/paramet 阅读全文
posted @ 2021-01-12 14:59 谷樵 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 一、在使用EF的TransactionScope事务时,如果多线程程序,经常会抛出如下异常 {"事务(进程 ID 58)与另一个进程被死锁在 锁 资源上,并且已被选作死锁牺牲品。请重新运行该事务。"} 同一个TransactionScope逻辑操作事务在多线程中启动时会抛出异常。 解决方案: 使用线 阅读全文
posted @ 2021-01-06 00:47 谷樵 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 在Windows 防火墙窗口点击“高级设置” 在高级安全 Windows 防火墙窗口点击“入站规则” “新建规则” 如果使用默认3389,可以在“入站规则”里选择已经存在的端口来设置 打开新建入站规则向导界面 规则类型:选择“自定义”,点击下一步 程序选择默认,点击下一步 协议和端口:协议类型选择T 阅读全文
posted @ 2020-12-17 23:32 谷樵 阅读(2865) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Net.Mail; using System.Text; using System.Threading.Tasks; namespace P 阅读全文
posted @ 2020-12-02 16:52 谷樵 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 异常信息:MongoDB.Driver.MongoCommandException: Command find failed: Executor error during find command :: caused by :: Sort operation used more than the m 阅读全文
posted @ 2020-11-28 15:29 谷樵 阅读(616) 评论(0) 推荐(0) 编辑