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

2025年2月21日 0条评论 1584点热度 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条评论 808点热度 0人点赞 痴者工良 阅读全文

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

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

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条评论 98点热度 1人点赞 痴者工良 阅读全文

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

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

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条评论 120点热度 0人点赞 痴者工良 阅读全文

string.Format 的功能非常有限,因此需要使用 SmartFormat.NET 框架来完成丰富的字符串插值功能。它可以使用类似于字符串的最小化、直观的语法将各种数据源格式化为字符串。格式。所有格式化都在运行时进行。SmartFormat 使用扩展来提供命名占位符、本地化、多元化、性别结合以[......] 继续阅读

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

string.Format has very limited functionality; therefore, the SmartFormat.NET framework is needed to achieve rich string interpolation features. It can[......] 继续阅读

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

Overall Logic Using ASP.NET Core gRPC is very straightforward; service registration and middleware require only two lines of code. var builder[......]继续阅读

2024年4月3日 0条评论 100点热度 2人点赞 痴者工良 阅读全文

整体逻辑 ASP.NET Core gRPC 的使用很简单,服务注册和中间件只有两行代码。 var builder = WebApplication.CreateBuilder(args); // Add services to the container.[......]继续阅读

2024年4月3日 0条评论 3592点热度 2人点赞 痴者工良 阅读全文

Why Write This Tutorial After graduation, readers have written a large number of articles and open-source projects. It is through the persistence of l[......] 继续阅读

2024年3月21日 2条评论 86点热度 8人点赞 痴者工良 阅读全文

为什么要写这个教程 在毕业之后,读者写过了大量的文章和开源项目,正是坚持一边学习一边输出,所以笔者最终从一个生菜鸡进化为一个熟菜鸡。 在程序员的成长中,我们会在思路,如何学习、如何进步,比如要成长为一个架构师,需要具备什么样的能力。比如说技术能力,技术能力是最核心的基础,那么我们技术上要达到哪种程度[......] 继续阅读

2024年3月21日 2条评论 6237点热度 8人点赞 痴者工良 阅读全文

PInvoke.net is the official library for interacting with the Win32 API, but it has been archived. This means that the Microsoft.Windows.CsWin32 packag[......] 继续阅读

2023年11月22日 2条评论 78点热度 0人点赞 痴者工良 阅读全文

PInvoke.net 是官方用于操作 Win32 API 的库,但是已经归档了。也就是后续需要使用 Microsoft.Windows.CsWin32 来操作 win32 API。 但是 Microsoft.Windows.CsWin32 比较麻烦,因为 Microsoft.Windows.C[......] 继续阅读

2023年11月22日 2条评论 3511点热度 0人点赞 痴者工良 阅读全文

As shown in the figure: There are two configuration forms. One is to configure the template file within the project (for executable projects, not app[......] 继续阅读

2023年11月22日 0条评论 84点热度 0人点赞 痴者工良 阅读全文

如图: 有两种配置形式。 一种是在项目中(可以启动的项目,类库不行)配置模板文件,另一种是在项目编译之后配置。 第一种方法在项目中新建一个 runtimeconfig.template.json 文件。 示例如下: { "runtimeOptions": { "configProper[......]继续阅读

2023年11月22日 0条评论 1854点热度 0人点赞 痴者工良 阅读全文

ImageMagick 是一个强大的图像处理库,支持100多种主要的文件格式(不包括子格式)。使用 Magick.NET,你可以在 c #/vb.net/. net Core 应用程序中使用 ImageMagick,而无需在服务器或桌面上安装 ImageMagick。 项目地址:https://gi[......] 继续阅读

2023年10月17日 0条评论 1826点热度 0人点赞 痴者工良 阅读全文

ImageMagick is a powerful image processing library that supports over 100 major file formats (excluding sub-formats). Using Magick.NET, you can use Im[......] 继续阅读

2023年10月17日 0条评论 1856点热度 0人点赞 痴者工良 阅读全文

模型类: public class Test { [JsonConverter(typeof(string))] public int Value { get; set; } } API 接口: [HttpPost("aaa")[......]继续阅读

2023年9月19日 0条评论 1783点热度 0人点赞 痴者工良 阅读全文

Model Class: public class Test { [JsonConverter(typeof(string))] public int Value { get; set; } } API Interface: [HttpPost("aaa")][......]继续阅读

2023年9月19日 0条评论 104点热度 0人点赞 痴者工良 阅读全文
1234511