随笔分类 -  DotNetCore

.Net Core
摘要:// https://blog.csdn.net/Marzlam/article/details/118522068 // 初始化的时候读取配置 string a = builder.Configuration.GetConnectionString("odoo"); string b = buil 阅读全文
posted @ 2022-05-11 01:04 devs 阅读(921) 评论(0) 推荐(0) 编辑
摘要:OpenSSL证书转pfx pem证书转pfx证书分两种,一种带ca证书转换,一种不带ca证书转换 1. pem转pfx(不带ca证书) 以test.pem转test.pfx为例 openssl rsa -in test.pem -out test.key openssl x509 -in test 阅读全文
posted @ 2021-07-09 13:56 devs 阅读(815) 评论(0) 推荐(0) 编辑
摘要:在SQLite官网下载原始预编译包。 Precompiled Binaries for the .NET Standard 2.1 创建一个ASP.NET Core项目 项目添加预编译包解压缩后的引用 System.Data.SQLite.dll 随意代码 Con = new SQLiteConne 阅读全文
posted @ 2021-06-22 16:44 devs 阅读(544) 评论(0) 推荐(0) 编辑
摘要:服务端 新建ASP.NET Core Web MVC 项目 SSOServer 2. NuGet安装IdentityServer4 3. 新建Config.cs类 public class Config { // scopes define the resources in your system 阅读全文
posted @ 2021-03-12 18:49 devs 阅读(382) 评论(0) 推荐(0) 编辑