[TOC] 写博客的过程中,发现很多基础理论太薄弱,因此很多专业词汇可能会解释错误或者不准确,建议读者多参考官方文档或者其它书籍。 本篇主要讲解 ABP 中如何配置、使用对象映射,其中大部分跟 AutoMapper 这个框架有关,建议读者预先学习这个框架,可参考笔者的另一篇博客:浅入 AutoMap[......] 继续阅读

2020年12月23日 0条评论 2803点热度 0人点赞 痴者工良 阅读全文

Intro to AutoMapper Basic use of AutoMapper Mapping configuration Mapping check Performance Profile configuration Dependency Injection Expression and[......] 继续阅读

2020年12月19日 0条评论 3104点热度 0人点赞 痴者工良 阅读全文

浅入 AutoMapper AutoMapper 基本使用 映射配置 映射检查 性能 Profile 配置 依赖注入 表达式与 DTO [......] 继续阅读

2020年12月19日 1条评论 3263点热度 0人点赞 痴者工良 阅读全文

1. Available versions and reference materials 2. ValueTask<TResult> and Task 3. How does the compiler compile 4. What are the advantages of Valu[......] 继续阅读

2020年12月16日 0条评论 3174点热度 0人点赞 痴者工良 阅读全文

table of Contents: File operations Debug, Trace category Conditional compilation MethodImpl feature CLSComplianAttribute If necessary, cus[......] 继续阅读

2020年12月16日 0条评论 2683点热度 0人点赞 痴者工良 阅读全文

目录: 1,文件操作 2,Debug、Trace类 3,条件编译 4,MethodImpl 特性 5,CLSComplianAttribute 6,必要时自定义类型别名 最近在阅读 .NET Core Runtime 的源码,参考大佬的代码,学习编写技巧和提高代码水平。学习过程中将学习心得和值得应用[......] 继续阅读

2020年12月15日 1条评论 3513点热度 2人点赞 痴者工良 阅读全文

Microsoft 官方的 Docker 镜像不能直接运行 EFCore,会出现异常: System.TypeInitializationException: The type initializer for 'Microsoft.Data.Sqlite.SqliteConne[......]继续阅读

2020年12月10日 0条评论 6993点热度 3人点赞 痴者工良 阅读全文

1,可用版本与参考资料 2,ValueTask<TResult> 和 Task 3,编译器如何编译 4,ValueTask 有什么优势 5,ValueTask 创建异步任务 6,IValueTaskSource 和自定义包装 ValueTask 关于 IValueTaskSource[......] 继续阅读

2020年12月3日 10条评论 6648点热度 0人点赞 痴者工良 阅读全文

区分 调试和发布环境 众所周知,Debug 是在开发、在 VS 中时,自动会有的编译常量,而代码发布后则是 Release。 为了在 Debug、Release 环境下出现不同的编译条件。 .NET Core 项目添加条件编译变量,可在 .csproj 中加上 <PropertyGroup[......]继续阅读

2020年11月23日 3条评论 5531点热度 1人点赞 痴者工良 阅读全文

Parallelism through simple threads Every year, parallelism and concurrency become more important as processors tend to have more and more physical cor[......] 继续阅读

2020年11月23日 0条评论 2892点热度 0人点赞 痴者工良 阅读全文

Using the builder pattern Sometimes you need something between the customization of the constructor and the implicitness of the default implementation[......] 继续阅读

2020年11月23日 0条评论 2884点热度 0人点赞 痴者工良 阅读全文

Using the constructor pattern You may have asked yourself how to idiomatically initialize complex structs in Rust, considering it doesn't have constru[......] 继续阅读

2020年11月23日 0条评论 2553点热度 0人点赞 痴者工良 阅读全文

Providing a default implementation Often, when dealing with structures that represent configurations, you don't care about certain values and just wan[......] 继续阅读

2020年11月23日 0条评论 3222点热度 0人点赞 痴者工良 阅读全文

Using the format! macro format! 是一个 rust 宏,跟 C# 的 String.Format() 用法基本一致。 There is an additional way to combine strings, which can also be used to com[......] 继续阅读

2020年11月23日 0条评论 3445点热度 2人点赞 痴者工良 阅读全文

pfx 转换为其他类型证书的方法。 pfx 转 pem openssl pkcs12 -in ssl.pfx -nodes -out ssl.pem pem 转 cer openssl x509 -in ssl.pem -inform PEM -out ssl.der -outform[......]继续阅读

2020年11月23日 2条评论 5513点热度 2人点赞 痴者工良 阅读全文

第一部分:Consul 基础 1,Consul 介绍 2,安装 Consul Ubuntu/Debian 系统 Centos/RHEL 系统 检查安装 3,运行 Consul Agent 启动 agent 发现数据中心成员 查看 UI 4,在 Consul Service Discovery 中[......] 继续阅读

2020年11月21日 0条评论 2807点热度 0人点赞 痴者工良 阅读全文

CZGL.Roslyn 开源项目位置:https://github.com/whuanle/CZGL.CodeAnalysis 基于 Roslyn 技术的 C# 动态代码构建器以及编译器,开发者可以使用此库动态构建 C# 代码,并且通过指定条件编译代码。 运行时动态构造代码; 运行时为程序提供新的模[......] 继续阅读

2020年11月14日 0条评论 2723点热度 0人点赞 痴者工良 阅读全文

0,关于 Redis RESP 1,定义数据类型 2,定义异步消息状态机 3,定义命令发送模板 4,定义 Redis Client 5,实现简单的 RESP 解析 6,实现命令发送客户端 7,如何使用 8,更多客户端 9,更多测试 10,性能测试 11,关于 NCC 最近叶老板写了个 Free[......] 继续阅读

2020年11月10日 0条评论 2530点热度 1人点赞 痴者工良 阅读全文

Dotnet SDK/Runtime 安装完毕后,可以看到 C:\Program Files\dotnet 目录,有一个文件为dotnet.exe。 将你的 dotnet 程序(.dll .exe,配置文件等)复制到一个合适的目录。 解压 nssm-2.24.zip 文件,使用 cmd 或[......] 继续阅读

2020年11月9日 5条评论 36760点热度 1人点赞 痴者工良 阅读全文

简介 dotnet tool 体验 CZGL.SystemInfo SystemPlatformInfo ProcessInfo 内存监控 NetworkInfo DiskInfo 简介 [......] 继续阅读

2020年11月8日 0条评论 2806点热度 0人点赞 痴者工良 阅读全文
1121314151627