摘要:
配套源码:https://gitee.com/jardeng/IdentitySolution 1、创建ASP.NET Core Web应用程序,选择空模板。 去掉HTTPS 2、添加nuget包:IdentityServer4。 3、添加Config.cs文件作为IdentityServer配置文 阅读全文
摘要:
1、nuget要加上 Microsoft.AspNetCore.Cors 中间件。 2、在Startup类里先定义一个全局变量。 private readonly string AllowSpecificOrigin = "AllowSpecificOrigin"; 3、在Startup的Confi 阅读全文