新文章 网摘 文章 随笔 日记

摘要: 如果启动IdentityServer时遇到的欢迎页面没有任何有效的CSS,JS或图像,需要在web.config中配置: <configuration> ... <system.webServer> <modules runAllManagedModulesForAllRequests="true" 阅读全文
posted @ 2020-06-12 15:12 岭南春 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 在服务端的Clients中加入 RedirectUris = new List<string>() { "http://localhost:49795/" } 例如: new Client { Enabled = true, ClientName = "SSO", ClientId = 阅读全文
posted @ 2020-06-12 11:01 岭南春 阅读(1377) 评论(1) 推荐(0) 编辑
摘要: 设置IdentityServer3的新实例时,需要为每个项目做一些事情。 在为IdentityServer3设置一个简单的启动套件(其中也包含用于用户的IdentityManager和用于客户端的admin)时,按照我的步骤,这将是一个小型教程/系列。 这是建立新项目时快速开始使用IdentityS 阅读全文
posted @ 2020-06-12 10:56 岭南春 阅读(188) 评论(0) 推荐(0) 编辑
摘要: nuget安装:Serilog,Serilog.Sinks.File .net core在Program.cs中(MVC在Global.asax中): using Serilog;using Serilog.Events; //写日志 Log.Logger = new LoggerConfigura 阅读全文
posted @ 2020-06-12 10:23 岭南春 阅读(199) 评论(0) 推荐(0) 编辑