1. Quick Implementation of Authorization Verification What is JWT? Why use JWT? What are the components of JWT? These can be easily found on Baidu, so[......] 继续阅读

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

简介 CZGL.SystemInfo 是一个支持 Windows 和 Linux 的资源信息获取库,用于获取系统环境、机器资源信息、系统资源使用情况。 Nuget 搜索 CZGL.SystemInfo 即可安装。 类库中每一个属性和方法,我都加上了注释,调用时可以看得到。 平台通用 CZGL.Sys[......] 继续阅读

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

Introduction CZGL.SystemInfo is a resource information retrieval library that supports Windows and Linux, used to obtain system environment, machine r[......] 继续阅读

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

为了提高项目代码质量,所以往往会安装分析器。 但是呢,这些分析器在生成项目程序文件时,占了 10MB。这些 dll 用不上的,没必要留着占空间。 可以使用 VS 自带的属性管理器去除 也可以手动 打开项目 .csproj 文件,找到如下的两个节点 <PropertyGroup C[......]继续阅读

2020年3月6日 2条评论 6161点热度 1人点赞 痴者工良 阅读全文

To improve project code quality, analyzers are often installed. However, these analyzers occupy 10MB when generating project program files. Since the[......] 继续阅读

2020年3月6日 2条评论 6257点热度 1人点赞 痴者工良 阅读全文

The analyzer is named miniprofiler, and the official website is https://miniprofiler.com/dotnet/. It can be directly integrated into the code and run[......] 继续阅读

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

分析器名为 miniprofiler,官网地址为 https://miniprofiler.com/dotnet/ 可以直接放到代码中,发布后运行测试。 支持以下框架的性能分析: ASP.NET ASP.NET Core Console .NET Console .NET Core EF6 EF[......] 继续阅读

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

RuntimeInformation and Environment Fetching Information Reflection to Fetch Information Fetching Property Values Reflection to Fetch Attribute Value[......] 继续阅读

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

RuntimeInformation、Environment 获取信息 反射获取信息 获取属性值 反射获取特性值 获取某个属性的值以及别名 反射获取信息 使用 总结 [......] 继续阅读

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

背景: When debugging tests, it's necessary to use NSwag.AspNetCore to provide swagger services, but it's not needed for formal release deployment. The N[......] 继续阅读

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

背景: 调试测试 Debug 时需要使用 NSwag.AspNetCore ,提供 swagger 服务,但是正式发布部署,不需要用到。 NSwag.AspNetCore 的库文件达到6MB。 可以在项目文件中使用如下条件 Condition="'$(Configuration)[......] 继续阅读

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

.NET Core 中没有获取 Linux 的 CPU使用率等信息的功能,死心吧。 static void Main(string[] args) { Console.WriteLine("系统运行情况");[......]继续阅读

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

.NET Core does not have the functionality to obtain CPU usage and other information on Linux, so don't hold your breath. static void Main(stri[......]继续阅读

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

[ASP.NET Core 从入门到精通-资源收集导航]() 目录 ASP.NET Core 从入门到精通-资源收集导航 学习路线 学习路线资源导航大全 1,介绍 2,入门 3,教程 4,基础知识 5,Razor页面 6,MVC 7,Web API 8,授权认证 9,安全性 10,测试、调试、API[......] 继续阅读

2020年2月3日 0条评论 4642点热度 1人点赞 痴者工良 阅读全文

ASP.NET Core Getting Started to Mastery - Resource Collection Navigation Table of Contents ASP.NET Core Getting Started to Mastery - Resource Collect[......] 继续阅读

2020年2月3日 0条评论 1489点热度 1人点赞 痴者工良 阅读全文

.NET Core 获取数据库上下文实例的方法和配置连接字符串 [TOC] 假设数据库就两个表:User、Blogs, 模型类如下 public class User { public int Id { get; set; } public strin[......]继续阅读

2019年12月15日 1条评论 5579点热度 4人点赞 痴者工良 阅读全文

.NET Core Method for Obtaining Database Context Instance and Configuring Connection Strings [TOC] Assuming the database has two tables: User and Blogs[......] 继续阅读

2019年12月15日 1条评论 1662点热度 4人点赞 痴者工良 阅读全文

Developing .NET Core on Deepin using Rider [TOC] The domestic Deepin is quite good; I’d recommend it. I've used Deepin for a year or two just for casu[......] 继续阅读

2019年12月15日 2条评论 4870点热度 0人点赞 痴者工良 阅读全文

Deepin 下 使用 Rider 开发 .NET Core [TOC] 国产的 Deepin 不错,安利一下。 Deepin 用了也有一两年,也只是玩玩,没用在开发上面。后来 Win10 不太清真了,就想着能不能到 Deepin下撸码。要搞开发,首先少不了 IDE,VS2019 用不[......] 继续阅读

2019年12月15日 2条评论 5078点热度 0人点赞 痴者工良 阅读全文

Support for .NET Core on Loongson and Thoughts on Developing Embedded Systems with .NET Core [TOC] 1. Regrettable Attempt Not long ago, I came across[......] 继续阅读

2019年12月15日 16条评论 1308点热度 1人点赞 痴者工良 阅读全文
15678912