摘要: netcore2.0和3.0还是有很大的差异使用时请多注意: 前提netcore3.0 默认不支持同步方法:ReadToEnd() : 使用时需要在Startup中添加: //默认不支持同步方法:ReadToEnd() services.Configure<KestrelServerOptions> 阅读全文
posted @ 2020-05-19 23:40 wfpanskxin 阅读(1698) 评论(0) 推荐(1) 编辑
摘要: 文件=》另存为=》保存三角=》编码保存 阅读全文
posted @ 2020-05-19 17:31 wfpanskxin 阅读(534) 评论(0) 推荐(0) 编辑
摘要: 一、System.Text.Json 引用: using System.Text.Encodings.Web; using System.Text.Json; using System.Text.Unicode; services.AddJsonOptions(options => { //格式化日 阅读全文
posted @ 2020-05-19 16:49 wfpanskxin 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 一、查看内核版本: cat /proc/version 二、查看系统版本: lsb_release -a 阅读全文
posted @ 2020-05-14 17:20 wfpanskxin 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 这里列出了两种选择 HttpClient 异步提交 1.HttpClient: public static string HttpClientPost(string url,string requestJson) { try { string result = string.Empty; Uri p 阅读全文
posted @ 2020-05-08 11:00 wfpanskxin 阅读(5570) 评论(0) 推荐(0) 编辑
摘要: information_schema 是MySql 信息数据库。 其中保存着关于MySQL服务器所维护的所有其他数据库的信息。如数据库名,数据库的表,表栏的数据类型与访问权限等。在INFORMATION_SCHEMA中,有数个只读表。它们实际上是视图,而不是基本表,因此,你将无法看到与之相关的任何文 阅读全文
posted @ 2020-05-07 10:38 wfpanskxin 阅读(1483) 评论(0) 推荐(0) 编辑
摘要: [Unit] Description=dotnet console [Service] WorkingDirectory=/home/wisdom/publish ExecStart=/usr/bin/dotnet /home/wisdom/publish/ZDa.Wisdom.Main.dll R 阅读全文
posted @ 2020-05-05 21:11 wfpanskxin 阅读(590) 评论(0) 推荐(0) 编辑
摘要: DROP DATABASE IF EXISTS tiku; CREATE DATABASE tiku CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci; 阅读全文
posted @ 2020-04-21 21:23 wfpanskxin 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: 一、 假设有两个List<T>对象 ,List1和List2,如下方法判断两个List是否相等 List1.All(List2.Contains) && List1.Count == List2.Count 二、 C#中如何判断list是否完整包含另一个list bool IsContainsAll 阅读全文
posted @ 2020-04-20 15:29 wfpanskxin 阅读(5135) 评论(0) 推荐(0) 编辑
摘要: 第一、下载: 下载地址 第二、安装 将在该文件路径下输入cmd 安装命令: redis-server.exe --service-install redis.windows.conf --loglevel verbose 启动服务命令:redis-server.exe --service-start 阅读全文
posted @ 2020-04-19 14:39 wfpanskxin 阅读(207) 评论(0) 推荐(0) 编辑