上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 65 下一页
摘要: 参考:https://www.cnblogs.com/zxtceq/articles/14864010.html 待续 阅读全文
posted @ 2023-06-06 13:05 vba是最好的语言 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 参考杨中科的教程 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) 编辑
摘要: 完全根据业务顺序去写的代码,但有的时候确实完全可以这些写。 阅读全文
posted @ 2023-06-03 11:02 vba是最好的语言 阅读(8) 评论(0) 推荐(0) 编辑
摘要: https://github.com/xin9le/FastEnum 简单使用: enum Company { [EnumMember(Value = "Apple, Inc.")] Apple = 0, } var value = Company.Apple.GetEnumMemberValue( 阅读全文
posted @ 2023-06-02 17:54 vba是最好的语言 阅读(26) 评论(0) 推荐(0) 编辑
摘要: { "code": 200, //状态码 (int) "message": "string", //消息 (string) "data": {} //Action的原始响应内容 } https://github.com/stratosblue/cuture.aspnetcore.responseau 阅读全文
posted @ 2023-06-02 17:35 vba是最好的语言 阅读(40) 评论(0) 推荐(0) 编辑
摘要: services.Configure<BookOptions>(Configuration.GetSection(BookOptions.Book)); builder.Services.AddOptions<Test>(builder.Configuration[""]); builder.Ser 阅读全文
posted @ 2023-06-02 17:10 vba是最好的语言 阅读(42) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 65 下一页