摘要: 参考杨中科的教程 1.先添加接口 using MediatR; namespace NetOptions.Entities; public interface IDomainEnvent { void AddNotification(INotification notification); IEnu 阅读全文
posted @ 2023-06-05 22:09 vba是最好的语言 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 一 mac执行dotnet ef报错 dotnet tool install --global dotnet-ef 二 1.增加迁移 dotnet ef migrations add 名字 --context DBContext名字 2.删除最近一次的迁移 > dotnet ef migration 阅读全文
posted @ 2023-06-05 21:24 vba是最好的语言 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://developer.aliyun.com/article/1162975 待续。。 阅读全文
posted @ 2023-06-05 15:57 vba是最好的语言 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一 GitHub地址:https://github.com/jbogard/MediatR 有了 MediatR 我们可以在应用中轻松实现 CQRS:IRequest<> 的消息名称以 Command 为结尾的是命令,其对应的 Handler 执行「写」任务 IRequest<> 的消息名称以 Qu 阅读全文
posted @ 2023-06-05 10:54 vba是最好的语言 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 一 微软内部 微软内部定义的状态码: ublic static class StatusCodes { public const int Status100Continue = 100; public const int Status101SwitchingProtocols = 101; publ 阅读全文
posted @ 2023-06-05 09:27 vba是最好的语言 阅读(30) 评论(0) 推荐(0) 编辑