.NET Core 项目添加条件编译变量,可在 .csproj 中加上 <PropertyGroup Condition="'$(Configuration)|$(Platform)'…
Rust:Parallelism through simple threads
Parallelism through simple threads Every year, parallelism and concurrency become more important as processors…
Rust:Using the builder pattern
Using the builder pattern Sometimes you need something between the customization of the constructor and the im…
Rust:Using the constructor pattern
Using the constructor pattern You may have asked yourself how to idiomatically initialize complex structs in R…
Rust:Providing a default implementation,how use to Default::default()
Providing a default implementation Often, when dealing with structures that represent configurations, you don&…
rust:Using the format! macro,如何使用 format! 宏
Using the format! macro format! 是一个 rust 宏,跟 C# 的 String.Format() 用法基本一致。 There is an additional way to combin…
pfx证书查看信息,pfx证书生成其他证书格式
pfx 转换为其他类型证书的方法。 pfx 转 pem openssl pkcs12 -in ssl.pfx -nodes -out ssl.pem pem 转 cer openssl x509 -in ssl.pem …
学习搭建 Consul 服务发现与服务网格-有丰富的示例和图片
第一部分:Consul 基础 1,Consul 介绍 2,安装 Consul Ubuntu/Debian 系统 Centos/RHEL 系统 检查安装 3,运行 Consul Agent 启动 agent 发现数据中心成…
动态代码框架发布-CZGL.Roslyn
CZGL.Roslyn 开源项目位置:https://github.com/whuanle/CZGL.CodeAnalysis 基于 Roslyn 技术的 C# 动态代码构建器以及编译器,开发者可以使用此库动态构建 C#…
教你写个简单的 Redis Client 框架 - .NET Core
0,关于 Redis RESP 1,定义数据类型 2,定义异步消息状态机 3,定义命令发送模板 4,定义 Redis Client 5,实现简单的 RESP 解析 6,实现命令发送客户端 7,如何使用 8,更多客户端 9…
.NET Core 部署为 Windows 服务| NSSM 如何使用
Dotnet SDK/Runtime 安装完毕后,可以看到 C:\Program Files\dotnet 目录,有一个文件为dotnet.exe。 将你的 dotnet 程序(.dll .exe,配置文件等)复制到一个…
.NET Core 跨平台资源监控库及 dotnet tool 小工具
简介 dotnet tool 体验 CZGL.SystemInfo SystemPlatformInfo ProcessInfo 内存监控 NetworkInfo DiskInfo 简介 [……]…