目录: 1,文件操作 2,Debug、Trace类 3,条件编译 4,MethodImpl 特性 5,CLSComplianAttribute 6,必要时自定义类型别名 最近在阅读 .NET Core Runtime 的源码,参考大佬的代码,学习编写技巧和提高代码水平。学习过程中将学习心得和值得应用[......] 继续阅读
目录: 1,文件操作 2,Debug、Trace类 3,条件编译 4,MethodImpl 特性 5,CLSComplianAttribute 6,必要时自定义类型别名 最近在阅读 .NET Core Runtime 的源码,参考大佬的代码,学习编写技巧和提高代码水平。学习过程中将学习心得和值得应用[......] 继续阅读
Table of Contents: File Operations Debug and Trace Classes Conditional Compilation MethodImpl Attribute CLSComplianceAttribute Custom Type Alias[......] 继续阅读
1. Available Versions and References 2. ValueTask<TResult> and Task 3. How the Compiler Compiles 4. What Are the Advantages of ValueTask 5. Cre[......] 继续阅读
1,可用版本与参考资料 2,ValueTask<TResult> 和 Task 3,编译器如何编译 4,ValueTask 有什么优势 5,ValueTask 创建异步任务 6,IValueTaskSource 和自定义包装 ValueTask 关于 IValueTaskSource[......] 继续阅读
CZGL.Roslyn Open source project location: https://github.com/whuanle/CZGL.CodeAnalysis A dynamic code builder and compiler for C# based on Roslyn tech[......] 继续阅读
CZGL.Roslyn 开源项目位置:https://github.com/whuanle/CZGL.CodeAnalysis 基于 Roslyn 技术的 C# 动态代码构建器以及编译器,开发者可以使用此库动态构建 C# 代码,并且通过指定条件编译代码。 运行时动态构造代码; 运行时为程序提供新的模[......] 继续阅读
0,关于 Redis RESP 1,定义数据类型 2,定义异步消息状态机 3,定义命令发送模板 4,定义 Redis Client 5,实现简单的 RESP 解析 6,实现命令发送客户端 7,如何使用 8,更多客户端 9,更多测试 10,性能测试 11,关于 NCC 最近叶老板写了个 Free[......] 继续阅读
0. About Redis RESP 1. Define Data Types 2. Define Asynchronous Message State Machine 3. Define Command Sending Template 4. Define Redis Client 5. Im[......] 继续阅读
After the Dotnet SDK/Runtime is installed, you can see a file named dotnet.exe in the C:\Program Files\dotnet directory. Copy your dotnet program (.[......] 继续阅读
Dotnet SDK/Runtime 安装完毕后,可以看到 C:\Program Files\dotnet 目录,有一个文件为dotnet.exe。 将你的 dotnet 程序(.dll .exe,配置文件等)复制到一个合适的目录。 解压 nssm-2.24.zip 文件,使用 cmd 或[......] 继续阅读
简介 dotnet tool 体验 CZGL.SystemInfo SystemPlatformInfo ProcessInfo 内存监控 NetworkInfo DiskInfo 简介 [......] 继续阅读
Introduction dotnet tool Experience CZGL.SystemInfo SystemPlatformInfo ProcessInfo Memory Monitoring NetworkInfo DiskInfo Introduction CZGL.System[......] 继续阅读
基础 Redis 库 连接 Redis 能用 redis 干啥 Redis 数据库存储 字符串 订阅发布 RedisValue ASP.NET Core 缓存与分布式缓存 内存中的缓存 ASP.NET Core 的内存缓存 在内存中缓存、存储数据 IMemoryCache MemoryCac[......] 继续阅读
Basics Redis Library Connecting to Redis What can Redis be used for Redis Database Storage Strings Publish and Subscribe RedisValue ASP.NET Cor[......] 继续阅读
浅入 MongoDB MonogoDB 是什么 结构化数据 MongoDB 与关系型数据库 MongoDB 入门命令 文档 .NET Core 示例 集合 统计数量 查询 如何序列化文档 查询第一条记录 不加条件可能导致的问题 查看所有文档 查询结束 转换查询 过滤器 Builders<[......] 继续阅读
Introduction to MongoDB What is MongoDB Structured Data MongoDB and Relational Databases Getting Started with MongoDB Commands Documents .NET C[......] 继续阅读
安装 MongoDB apt 直接安装(方法1) apt 仓库安装(方法2) 方法1、2启动 MongoDB 通过二进制包安装(方法3) 安装依赖 deb 安装 MongoDB tgz 安装 MongoDB 启动 MongoDB 卸载方法 apt 卸载方法 tgz 卸载方法 指定启动的配置 通过[......] 继续阅读
Install MongoDB There are many tutorials available online for installing MongoDB, and the official MongoDB documentation can be found here: https://do[......] 继续阅读
注:本文重要信息使用 *** 屏蔽关键字。 最近国庆前,项目碰到一个很麻烦的问题,这个问题让我们加班到凌晨三点。 大概背景: 客户给了一些 C语言 写的 SDK 库,这些库打包成 .so 文件,然后我们使用 C# 调用这些库,其中有一个函数是回调函数,参数是结构体,结构体的成员是函数,将[......] 继续阅读
Note: Important information in this article is masked with ***. Recently, just before the National Day holiday, we encountered a very troublesome prob[......] 继续阅读