runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  698 随笔 :: 0 文章 :: 123 评论 :: 97万 阅读
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

01 2022 档案

摘要:C#.NET FRAMEWORK XML私钥转PKCS1,PKCS8 使用了 BouncyCastle 这个dll ,到nuget中下载即可。 XML私钥转PKCS1 public string XmlToPem(string xmlPrivateKey) { RSACryptoServicePro 阅读全文
posted @ 2022-01-25 15:42 runliuv 阅读(603) 评论(0) 推荐(0) 编辑

摘要:.net core (.net6) 读取配置文件 appsettings.json 新建个工具类,方便其它地方使用,代码如下 AppHelper: namespace net6mvc.Utils { public class AppHelper { private static IConfigura 阅读全文
posted @ 2022-01-13 22:27 runliuv 阅读(1562) 评论(0) 推荐(1) 编辑

摘要:环境: .net6 webapi 服务端模型声明 public class TongYiMinPgPayReq { public string mch_no { get; set; } public string out_trade_no { get; set; } } 客户端请求报文 : {"mc 阅读全文
posted @ 2022-01-05 17:28 runliuv 阅读(587) 评论(0) 推荐(0) 编辑

摘要:k8s 安装ingress nginx controller 并部署.net core ingress服务 本地k8s集群概览 192.168.28.132 k8smaster 192.168.28.133 k8snode1 192.168.28.134 k8snode2 192.168.28.13 阅读全文
posted @ 2022-01-05 14:20 runliuv 阅读(524) 评论(2) 推荐(0) 编辑

摘要:1.用VS2022新建一个.NET6 MVC项目。 2.使用nuget引用NLog.Extensions.Logging。 3.项目中新建一个NLog.config配置文件,右键属性设置为“如果内容较新则复制”,NLog.config文件内容如下: <?xml version="1.0" encod 阅读全文
posted @ 2022-01-02 17:49 runliuv 阅读(521) 评论(0) 推荐(1) 编辑

摘要:vitual box下载地址: https://www.virtualbox.org/wiki/Downloads centos7下载地址: CentOS Linux 选择7-2009,x86-64 准备好软件后,开始安装。 在vitual box点击新建,名称为:CentOS7_Base。 内存输 阅读全文
posted @ 2022-01-01 08:12 runliuv 阅读(80) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示