摘要: MediatR INotification Handler执行不保证顺序!!! 所以给一个 Notification 注册多个Handler 用法是错误的, 正确的用法是在 Handler 中注册下一个需要调用的 Handler 注册: 源码调试: public class NewUserM : I 阅读全文
posted @ 2020-12-11 11:35 我的用户名 阅读(683) 评论(0) 推荐(0) 编辑
摘要: command命令语法: https://docs.mongodb.com/manual/reference/command/find/#dbcmd.find db.runCommand( { find: "restaurants", filter: { rating: { $gte: 9 }, c 阅读全文
posted @ 2020-12-08 15:19 我的用户名 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 摘自: https://blog.csdn.net/p942005405/article/details/106101029/ 海康: https://open.hikvision.com/hardware/definitions/NET_DVR_GetLastError.html 阅读全文
posted @ 2020-12-04 18:08 我的用户名 阅读(1841) 评论(0) 推荐(0) 编辑
摘要: 检查步骤 1.字段是否长度足够 2.字段类型是否有非字符串类型 如果有需要指定DbType <parameter name="@createtime" layout="${date}" dbType="DbType.DateTime" /> 3.dbProvider="Npgsql.NpgsqlCo 阅读全文
posted @ 2020-11-24 18:11 我的用户名 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 中间件可以解决 效果 这样就可以做很多好玩的事情了。。 阅读全文
posted @ 2020-11-20 14:50 我的用户名 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 可以使用 ChunkingCookieManager 详见: https://docs.microsoft.com/zh-cn/dotnet/api/microsoft.aspnetcore.authentication.cookies.chunkingcookiemanager?view=aspn 阅读全文
posted @ 2020-11-15 00:07 我的用户名 阅读(336) 评论(0) 推荐(0) 编辑
摘要: InvalidOperationException: The partial view '../Shared/OKAdmin/_OKNav' was not found. The following locations were searched: /Views/Shared/OKAdmin/_OK 阅读全文
posted @ 2020-08-26 15:43 我的用户名 阅读(1808) 评论(0) 推荐(1) 编辑
摘要: GitHub:https://github.com/stefanprodan/AspNetCoreRateLimit Coding:https://huawu.coding.net/public/aspnetcoreratelimit/aspnetcoreratelimit/git/files 主要 阅读全文
posted @ 2020-08-24 17:45 我的用户名 阅读(943) 评论(0) 推荐(0) 编辑
摘要: var jsonMPath = "modules\\json.lua".GetDLLRunDir(); if (!File.Exists(jsonMPath)) throw new Exception($"modules\\json.lua 不存在!"); Script script = new S 阅读全文
posted @ 2020-07-22 18:51 我的用户名 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 检查: 1.StartUp.cs app.UseEndpoints(endpoints => { endpoints.MapControllerRoute( name: "default", pattern: "{controller=Home}/{action=Index}/{id?}"); // 阅读全文
posted @ 2020-05-19 15:32 我的用户名 阅读(6195) 评论(0) 推荐(0) 编辑