背景 因为本地开发时,内网的 https 是不安全的 https。 会导致 js 发不出请求。 为了让 https 安全,这里实现了本地 localhost 自动生成证书以及安装的过程。 写代码 生成证书使用的是 .NET 自带的库,不需要引入第三方包。 using System.Security[......]继续阅读
背景 因为本地开发时,内网的 https 是不安全的 https。 会导致 js 发不出请求。 为了让 https 安全,这里实现了本地 localhost 自动生成证书以及安装的过程。 写代码 生成证书使用的是 .NET 自带的库,不需要引入第三方包。 using System.Security[......]继续阅读
Background During local development, the internal network's HTTPS is considered insecure. This can result in JS requests not being sent. To secure HT[......] 继续阅读
空接口,发布者订阅者通讯,需要一个实现了 IEventData 的类。 /// <summary> /// Event Data /// </summary> public interface IEventData { } 事[......] 继续阅读