定时任务需求 本文示例项目仓库:whuanle/HangfireDemo 主要有两个核心需求: 需要实现秒级定时任务; 开发者使用定时任务要简单,不要弄复杂了; 在微服务架构中中,定时任务是最常用的基础设施组件之一,社区中有很多定时任务类库或平台,例如 Quartz.NET、xxx-job,[......] 继续阅读

2025年4月20日 0条评论 64点热度 0人点赞 痴者工良 阅读全文

Scheduled Task Requirements Sample project repository: whuanle/HangfireDemo There are mainly two core requirements: The need to implement second-lev[......] 继续阅读

2025年4月20日 0条评论 92点热度 0人点赞 痴者工良 阅读全文

说明 作者:痴者工良 文档地址:https://mmq.whuanle.cn 仓库地址:https://github.com/whuanle/Maomi.MQ 作者博客: https://www.whuanle.cn https://www.cnblogs.com/whuanle 导读 [......] 继续阅读

2025年2月21日 0条评论 1702点热度 0人点赞 痴者工良 阅读全文

Instructions Author: whuanle Document Address: https://mmq.whuanle.cn Repository Address: https://github.com/whuanle/Maomi.MQ Author's Blog: https:/[......] 继续阅读

2025年2月21日 0条评论 938点热度 0人点赞 痴者工良 阅读全文

In the multithreading column, knowledge related to C# timers has been written, but the content is not very complete. Recently, I have deepened some un[......] 继续阅读

2025年1月3日 0条评论 794点热度 2人点赞 痴者工良 阅读全文

在多线程专栏中编写了 C# 定时器相关知识,但是内容不是很完善,近期加深了一些认识,顺便做一下笔记。 https://threads.whuanle.cn/1.thread_basic/3.pool.html#%E8%AE%A1%E6%97%B6%E5%99%A8 这里不提桌面里面的定时器,只讨[......] 继续阅读

2025年1月3日 0条评论 2075点热度 2人点赞 痴者工良 阅读全文

Serilog: Using: - "Serilog.Sinks.Console" MinimumLevel: Default: Information Override: Microsoft.AspNetCore.HttpLoggin[......]继续阅读

2024年12月30日 0条评论 108点热度 1人点赞 痴者工良 阅读全文

通用模板如下: Serilog: Using: - "Serilog.Sinks.Console" MinimumLevel: Default: Information Override: Microsoft.AspNetCore.HttpLogging:[......]继续阅读

2024年12月30日 0条评论 1350点热度 1人点赞 痴者工良 阅读全文

When a field is of object type, System.Text.Json automatically sets it to the JsonElement type instead of the corresponding type, leading to strange i[......] 继续阅读

2024年7月10日 0条评论 106点热度 0人点赞 痴者工良 阅读全文

当一个字段为 object 类型时,System.Text.Json 自动设置 JsonElement 类型,而不是对应的类型,因此在很多情况下会出现奇怪的问题。 因此这里只要有两个地方加上代码,缓解这一情况。 第一步,实现转换器,当一个类型是 object 时,如果 json 是简单类型,则直接使[......] 继续阅读

2024年7月10日 0条评论 2873点热度 0人点赞 痴者工良 阅读全文

Logging Tips in .NET Serilog Serilog is the most widely used logging framework in the .NET community, so I'll dedicate a section to explain how to use[......] 继续阅读

2024年6月18日 0条评论 112点热度 1人点赞 痴者工良 阅读全文

.NET 中的日志使用技巧 Serilog Serilog 是 .NET 社区中使用最广泛的日志框架,所以笔者使用一个小节单独讲解使用方法。 示例项目在 Demo2.Console 中。 创建一个控制台程序,引入两个包: Serilog.Sinks.Console Serilog.Sinks.Fil[......]继续阅读

2024年6月18日 0条评论 3580点热度 1人点赞 痴者工良 阅读全文

Document Explanation Author: whuanle Document URL: https://mmq.whuanle.cn Repository URL: https://github.com/whuanle/Maomi.MQ Author's Blog: https://[......] 继续阅读

2024年6月13日 0条评论 134点热度 0人点赞 痴者工良 阅读全文

文档说明 作者:痴者工良 文档地址:https://mmq.whuanle.cn 仓库地址:https://github.com/whuanle/Maomi.MQ 作者博客: https://www.whuanle.cn https://www.cnblogs.com/whuanle 导[......] 继续阅读

2024年6月13日 0条评论 5957点热度 0人点赞 痴者工良 阅读全文

关于从零设计 .NET 开发框架 作者:whuanle 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs[......] 继续阅读

2024年6月5日 0条评论 746点热度 0人点赞 痴者工良 阅读全文

关于从零设计 .NET 开发框架 作者:痴者工良 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs.co[......] 继续阅读

2024年6月5日 0条评论 3406点热度 0人点赞 痴者工良 阅读全文

关于从零设计 .NET 开发框架 作者:whuanle 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs[......] 继续阅读

2024年6月3日 0条评论 161点热度 1人点赞 痴者工良 阅读全文

关于从零设计 .NET 开发框架 作者:痴者工良 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs.co[......] 继续阅读

2024年6月3日 0条评论 3359点热度 1人点赞 痴者工良 阅读全文

t4 模板文件 第一步,在项目中设置 t4 模板文件。 不知道 T4 模板的,可以自行查阅资料或查看 https://learn.microsoft.com/zh-cn/visualstudio/modeling/code-generation-and-t4-text-templates?view[......] 继续阅读

2024年5月7日 0条评论 3872点热度 2人点赞 痴者工良 阅读全文

T4 Template Files The first step is to set up T4 template files in the project. If you are unfamiliar with T4 templates, you can look up information[......] 继续阅读

2024年5月7日 0条评论 126点热度 2人点赞 痴者工良 阅读全文
1234518