Using JSON to store time requires converting it to an object in the following format: 2019-12-06T17:15:52Z The 'Z' indicates the time zone. For examp[......] 继续阅读

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

使用Json存储时间需要转为对象时, 要使用如下面的格式 2019-12-06T17:15:52Z Z 表示时区 使用示例: 表示北京时间 2019-12-06T17:15:52+08:00 但是前端、C#时间转换和数据库的时间处理,协调起来会比较麻烦,JSON和字符串转时间也会麻烦。 根据笔者的校[......] 继续阅读

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

In asynchronous methods, you cannot directly use Thread.Sleep(1000); You should use await Task.Delay(1000); [......] 继续阅读

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

使用异步的方法中,不能直接使用 Thread.Sleep(1000); 要使用 await Task.Delay(1000); [......] 继续阅读

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

在需要分页的位置,输入 <div STYLE="page-break-after: always;"></div> 在导出PDF时即可分页。 [......] 继续阅读

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

在需要分页的位置,输入 <div STYLE="page-break-after: always;"></div> 在导出PDF时即可分页 [......] 继续阅读

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

.NET Core Using Sonarqube Issues Simple Way to Run Sonarqube docker run -d --name sonarqube -p 9000:9000 sonarqube The default username and password a[......] 继续阅读

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

.NET Core 使用 Sonarqube 问题 运行 Sonarqube 的简单方法 docker run -d --name sonarqube -p 9000:9000 sonarqube 默认账号密码是 admim 登陆后创建项目和 token,直接按照提示选择 C#.NET。 .NET[......] 继续阅读

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

Exploring char and string in C# [TOC] 1. System.Char Character char is an alias for System.Char. System.Char occupies two bytes, which is 16 binary bi[......] 继续阅读

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

探究 C# 中的 char 、 string(一) [TOC] 1. System.Char 字符 char 是 System.Char 的别名。 System.Char 占两个字节,16个二进制位。 System.Char 用来表示、存储一个 Unicode 字符。 System.Char 的表示[......] 继续阅读

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

无法更新系统和软件 获取更新列表 apt list --upgradable 手动更新应用和解决依赖 sudo aptitude purge {software_name} 如果依赖无法解决, 依然使用上面的命令,选择 n [......] 继续阅读

2019年11月30日 1条评论 348点热度 0人点赞 痴者工良 阅读全文

无法更新系统和软件 获取更新列表 apt list --upgradable 手动更新应用和解决依赖 sudo aptitude purge {软件名称} 如果依赖无法解决, 依然使用上面的命令,选择 n [......] 继续阅读

2019年11月30日 1条评论 3926点热度 0人点赞 痴者工良 阅读全文

Path.GetDirectoryName(typeof(OneClass).Assembly.Location) OneClass is a type within this DLL. Directory.GetCurrentDirectory() does not necessarily re[......] 继续阅读

2019年11月28日 0条评论 300点热度 0人点赞 痴者工良 阅读全文

Path.GetDirectoryName(typeof(OneClass).Assembly.Location) OneClass 是这个 dll 内的一个类型。 Directory.GetCurrentDirectory() 获取的不一定是当前 dll 的位置 [......] 继续阅读

2019年11月28日 0条评论 3932点热度 0人点赞 痴者工良 阅读全文

st, sk, sp When stressed, st, sk, and sp undergo sound changes; At the beginning of words, st, sk, and sp change their sound, but at the end of words,[......] 继续阅读

2019年11月24日 1条评论 302点热度 1人点赞 痴者工良 阅读全文

st、sk、sp st、sk、sp在重音里时要变音; st、sk、sp词首变音,词尾不变音; 变音:skate , skill, square , stand , sport , speak , study  不变音:interesting , inspiring 浊化对应 S后加清辅音,必须重读[......] 继续阅读

2019年11月24日 1条评论 6654点热度 1人点赞 痴者工良 阅读全文

Support for .NET Core on Loongson and Thoughts on Embedded Development with .NET Core [TOC] 1. Regrettable Attempts A few days ago, I came across Zhan[......] 继续阅读

2019年11月19日 1条评论 378点热度 0人点赞 痴者工良 阅读全文

.NET Core 对龙芯的支持情况和对 .NET Core 开发嵌入式的思考 [TOC] 一,遗憾的尝试 前些天看到了张队公众推送的《Asp.Net终于可以在龙芯服务器上运行啦:Jexus成功完成对国产系列CPU的适配》,联想到上一周与朋友在龙芯捣鼓 .NET Core,就想写一下关于 .NET[......] 继续阅读

2019年11月19日 1条评论 4231点热度 0人点赞 痴者工良 阅读全文

For context classes, there should be an overloaded base(options) constructor. public partial class DatabaseContext : DbContext { publi[......]继续阅读

2019年11月18日 0条评论 326点热度 2人点赞 痴者工良 阅读全文

对于上下文类,要有一个 base(options) 构造函数重载。 public partial class DatabaseContext : DbContext { public DatabaseContext() { }[......]继续阅读

2019年11月18日 0条评论 4409点热度 2人点赞 痴者工良 阅读全文