定时任务需求 本文示例项目仓库:whuanle/HangfireDemo 主要有两个核心需求: 需要实现秒级定时任务; 开发者使用定时任务要简单,不要弄复杂了; 在微服务架构中中,定时任务是最常用的基础设施组件之一,社区中有很多定时任务类库或平台,例如 Quartz.NET、xxx-job,[......] 继续阅读
定时任务需求 本文示例项目仓库:whuanle/HangfireDemo 主要有两个核心需求: 需要实现秒级定时任务; 开发者使用定时任务要简单,不要弄复杂了; 在微服务架构中中,定时任务是最常用的基础设施组件之一,社区中有很多定时任务类库或平台,例如 Quartz.NET、xxx-job,[......] 继续阅读
Scheduled Task Requirements Sample project repository: whuanle/HangfireDemo There are mainly two core requirements: The need to implement second-lev[......] 继续阅读
说明 作者:痴者工良 文档地址:https://mmq.whuanle.cn 仓库地址:https://github.com/whuanle/Maomi.MQ 作者博客: https://www.whuanle.cn https://www.cnblogs.com/whuanle 导读 [......] 继续阅读
Instructions Author: whuanle Document Address: https://mmq.whuanle.cn Repository Address: https://github.com/whuanle/Maomi.MQ Author's Blog: https:/[......] 继续阅读
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[......] 继续阅读
通用模板如下: Serilog: Using: - "Serilog.Sinks.Console" MinimumLevel: Default: Information Override: Microsoft.AspNetCore.HttpLogging:[......]继续阅读
Serilog: Using: - "Serilog.Sinks.Console" MinimumLevel: Default: Information Override: Microsoft.AspNetCore.HttpLoggin[......]继续阅读
教程名称:使用 C# 入门深度学习 作者:痴者工良 地址: https://torch.whuanle.cn 1.2 Pytorch 基础 本文内容介绍 Pytorcn 的基础 API,主要是数组的创建方式和运算方式,由于相关内容跟 Numpy 比较相似,并且 Numpy 类型可以转 torch.T[......] 继续阅读
教程名称:Getting Started with Deep Learning Using C# 作者:whuanle 地址: https://torch.whuanle.cn 1.2 Basic of Pytorch This section introduces the basic API of[......] 继续阅读
当一个字段为 object 类型时,System.Text.Json 自动设置 JsonElement 类型,而不是对应的类型,因此在很多情况下会出现奇怪的问题。 因此这里只要有两个地方加上代码,缓解这一情况。 第一步,实现转换器,当一个类型是 object 时,如果 json 是简单类型,则直接使[......] 继续阅读
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[......] 继续阅读
.NET 中的日志使用技巧 Serilog Serilog 是 .NET 社区中使用最广泛的日志框架,所以笔者使用一个小节单独讲解使用方法。 示例项目在 Demo2.Console 中。 创建一个控制台程序,引入两个包: Serilog.Sinks.Console Serilog.Sinks.Fil[......]继续阅读
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[......] 继续阅读
文档说明 作者:痴者工良 文档地址:https://mmq.whuanle.cn 仓库地址:https://github.com/whuanle/Maomi.MQ 作者博客: https://www.whuanle.cn https://www.cnblogs.com/whuanle 导[......] 继续阅读
Document Explanation Author: whuanle Document URL: https://mmq.whuanle.cn Repository URL: https://github.com/whuanle/Maomi.MQ Author's Blog: https://[......] 继续阅读
关于从零设计 .NET 开发框架 作者:痴者工良 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs.co[......] 继续阅读
关于从零设计 .NET 开发框架 作者:whuanle 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs[......] 继续阅读
关于从零设计 .NET 开发框架 作者:whuanle 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs[......] 继续阅读
关于从零设计 .NET 开发框架 作者:痴者工良 教程说明: 仓库地址:https://github.com/whuanle/maomi 文档地址:https://maomi.whuanle.cn 作者博客: https://www.whuanle.cn https://www.cnblogs.co[......] 继续阅读