说明 Kubernetes集群的组成 What are containerized applications? What are Kubernetes containers? What are Kubernetes pods? What is the difference between containers vs. pods? What are Kubernetes nodes? What is the difference between Kubernetes pods vs. nodes? What is a…

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

Kubernetes Basics Introduction to Kubernetes What Is Kubernetes? Components of Kubernetes Kubernetes Architecture Docker cgroup and Namespace Terminology Kubernetes Basics Introduction to Kubernetes To learn Kubernetes, it is essential to first understand its …

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

Kubernetes 入门基础 Introduction basic of kubernetes What Is Kubernetes? Components of Kubernetes Kubernetes Architecture Docker cgroup And namespace Terminology [......] 继续阅读

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

[TOC] During the process of writing this blog, I found that my understanding of many foundational theories was too weak, which may lead to incorrect or inaccurate explanations of many professional terms. I recommend readers to refer to official documentation o…

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

[TOC] 写博客的过程中,发现很多基础理论太薄弱,因此很多专业词汇可能会解释错误或者不准确,建议读者多参考官方文档或者其它书籍。 本篇主要讲解 ABP 中如何配置、使用对象映射,其中大部分跟 AutoMapper 这个框架有关,建议读者预先学习这个框架,可参考笔者的另一篇博客:浅入 AutoMapper 基础 DTO和实体 实体 实体是领域驱动设计(Domain Driven Design)中的概念,实体通常一一映射某些对象的固有属性,最常使用的是关系型数据库中的表。 在 ABP 中,实体位于领域层中,实体类需要…

2020年12月23日 0条评论 2949点热度 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 about 280KB. The main function of AutoMapper is to map the value of one object's field to the corresponding field …

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

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

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

Introduction to AutoMapper Basic Usage of AutoMapper Mapping Configuration Mapping Validation Performance Profile Configuration Dependency Injection Expressions and DTO Introduction to AutoMapper You can install it by searching in NuGet. The version I'm curren…

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

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

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

1. Available versions and reference materials 2. ValueTask<TResult> and Task 3. How does the compiler compile 4. What are the advantages of ValueTask 5. ValueTask creates an asynchronous task 6. IValueTaskSource and custom packaging ValueTask About IValu…

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

1. Available versions and reference materials 2. ValueTask<TResult> and Task 3. How does the compiler compile 4. What are the advantages of ValueTask 5. ValueTask creates an asynchronous task 6. IValueTaskSource and custom packaging ValueTask About IValu…

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

table of Contents: 1. File operations 2. Debug, Trace category 3. Conditional compilation 4. MethodImpl feature 5. CLSComplianAttribute 6. If necessary, customize the type alias Recently, I am reading the source code of .NET Core Runtime, refer to the code of …

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

table of Contents: File operations Debug, Trace category Conditional compilation MethodImpl feature CLSComplianAttribute If necessary, customize the type alias Recently, I am reading the source code of .NET Core Runtime, refer to the code of the boss, learn wr…

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

Table of Contents: File Operations Debug and Trace Classes Conditional Compilation MethodImpl Attribute CLSComplianceAttribute Custom Type Aliases When Necessary I have recently been reading the source code of .NET Core Runtime, referencing the code of experts…

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

目录: 1,文件操作 2,Debug、Trace类 3,条件编译 4,MethodImpl 特性 5,CLSComplianAttribute 6,必要时自定义类型别名 最近在阅读 .NET Core Runtime 的源码,参考大佬的代码,学习编写技巧和提高代码水平。学习过程中将学习心得和值得应用到项目中的代码片段记录下来,供日后查阅。 1,文件操作 这段代码在 System.Private.CoreLib 下,对 System.IO.File 中的代码进行精简,供 CLR 使用。 当使用文件时,要提前判断文件路…

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

Microsoft's official Docker images cannot run EFCore directly, resulting in the following exception: System.TypeInitializationException: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception. ---> System.Reflection.TargetInvoc…

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

Microsoft 官方的 Docker 镜像不能直接运行 EFCore,会出现异常: System.TypeInitializationException: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by th…

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

1. Available Versions and References 2. ValueTask<TResult> and Task 3. How the Compiler Compiles 4. What Are the Advantages of ValueTask 5. Creating Asynchronous Tasks with ValueTask 6. IValueTaskSource and Custom Wrapping of ValueTask About IValueTaskSo…

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

1,可用版本与参考资料 2,ValueTask<TResult> 和 Task 3,编译器如何编译 4,ValueTask 有什么优势 5,ValueTask 创建异步任务 6,IValueTaskSource 和自定义包装 ValueTask 关于 IValueTaskSource 什么是 IValueTaskSource 再说 ValueTask 优势 不要自己全部实现 IValueTaskSource ValueTaskSourceOnCompletedFlags ValueTaskSourceS…

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

Distinguishing Debug and Release Environments It is well known that Debug is the compilation constant that is automatically available when developing in VS, while the code released uses Release. To create different compilation conditions in Debug and Release e…

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