.NET Core Logging and Distributed Tracing .NET Core Logging Console Output Non-intrusive Logging Microsoft.Extensions.Logging ILoggerFactory ILogg[......] 继续阅读

2021年1月9日 0条评论 148点热度 0人点赞 痴者工良 阅读全文

说明 Kubernetes集群的组成 What are containerized applications? What are Kubernetes containers? What are Kubernetes pods? What is the difference between conta[......] 继续阅读

2021年1月4日 0条评论 2948点热度 0人点赞 痴者工良 阅读全文

说明 Kubernetes集群的组成 What are containerized applications? What are Kubernetes containers? What are Kubernetes pods? What is the difference between cont[......] 继续阅读

2021年1月4日 0条评论 134点热度 0人点赞 痴者工良 阅读全文

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

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

Intro to AutoMapper You can install it by searching in Nuget. The current version used by the author is 10.1.1, and the assembly of AutoMapper is abou[......] 继续阅读

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

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

2020年12月16日 0条评论 120点热度 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条评论 3356点热度 0人点赞 痴者工良 阅读全文

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

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

table of Contents: 1. File operations 2. Debug, Trace category 3. Conditional compilation 4. MethodImpl feature 5. CLSComplianAttribute 6. If ne[......]继续阅读

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

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

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

Table of Contents: File Operations Debug and Trace Classes Conditional Compilation MethodImpl Attribute CLSComplianceAttribute Custom Type Alias[......] 继续阅读

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

1. Available Versions and References 2. ValueTask<TResult> and Task 3. How the Compiler Compiles 4. What Are the Advantages of ValueTask 5. Cre[......] 继续阅读

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

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

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

C++ has an inline function, which is modified by the inline keyword. The compiler optimizes it by inserting this function's code at the call site. Exc[......] 继续阅读

2020年7月7日 3条评论 96点热度 4人点赞 痴者工良 阅读全文

C++ 中有个内联函数,使用 inline 来修饰函数,编译器就会对其进行优化,将此函数作为代码判断插入到调用处。 摘自 C语言中文网 函数调用在执行时,首先要在栈中为形参和局部变量分配存储空间,然后还要将实参的值复制给形参,接下来还要将函数的返回地址(该地址指明了函数执行结束后,程序应该回到哪里继[......] 继续阅读

2020年7月7日 3条评论 11660点热度 4人点赞 痴者工良 阅读全文

Building Code 1. Assembly 2. Module 3. Type 4. DynamicMethod Defining Methods and Adding IL Previously, this series has written a total of nine ar[......] 继续阅读

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

构建代码 1,程序集(Assembly) 2,模块(Module) 3,类型(Type) 4,DynamicMethod 定义方法与添加 IL [......] 继续阅读

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

// Length of binary bits private int binaryLength = 16; // Convert number to N-bit binary and pad with 0s at the front[......]继续阅读

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

// 二进制位数长度 private int binaryLength = 16; // 将数字转为 N 位二进制,并且前面补足 0 private byte[] ToBinary(int num) {[......]继续阅读

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

假设有一段代码原本在 Windows 上运行,继承了接口 IDo,但是现在要迁移到 Linux 运行,可是某些地方不兼容,而同事已经将代码写好了,但是没有继承在 Windows 下运行的 IDo 接口,又不能改动以前的代码,必须保证都兼容。 原代码如下: // 只接受 Ido 的类型[......]继续阅读

2020年5月7日 1条评论 108点热度 0人点赞 痴者工良 阅读全文
15678916