04 2023 档案

摘要:https/http下 授权跳转 总是不能跳转 idnentoty 4.00版本,升级版本后解决 20240623 上图错误 解决方法: 这是你 identity 的地址已填写错误,仔细检查下端口等 RedirectUris = { "https://localhost:7098/signin-oi 阅读全文
posted @ 2023-04-29 19:00 孤海飞雁 阅读(116) 评论(0) 推荐(0) 编辑
摘要:asp.net 核心 MVC - 找不到布局视图“~/视图/共享/_Layout.cshtml” - 堆栈溢出 (stackoverflow.com) 页面属性/生成操作/内容 阅读全文
posted @ 2023-04-29 13:38 孤海飞雁 阅读(20) 评论(0) 推荐(0) 编辑
摘要:在刷新Token ok后 数据有返回,但是 最开始的请求那里总是underfined,这个找了一天后找到原因,记得return, 没有 return就是underfined 阅读全文
posted @ 2023-04-28 10:37 孤海飞雁 阅读(38) 评论(0) 推荐(0) 编辑
摘要:错误使用 app.UseAuthentication();//认证 这里要加,位置不能反 app.UseAuthorization();//授权 app.UseCors();//启用Cors 解决方法 app.UseCors();//启用Cors app.UseAuthentication();// 阅读全文
posted @ 2023-04-25 10:28 孤海飞雁 阅读(41) 评论(0) 推荐(0) 编辑
摘要:System.InvalidOperationException:“Dynamic port binding is not supported when binding to localhost. You must either bind to 127.0.0.1:0 or [::1]:0, or 阅读全文
posted @ 2023-04-22 12:26 孤海飞雁 阅读(67) 评论(0) 推荐(0) 编辑
摘要:这个百度一大片,到处不行,国外网站找也是有问题,官网文档也是有点操蛋。搞到现在ok了 直接上代码。 //Program.cs 配置 #region 日志 LogManager.LoadConfiguration(ParameterConfig.Nlog).GetCurrentClassLogger( 阅读全文
posted @ 2023-04-14 22:53 孤海飞雁 阅读(283) 评论(0) 推荐(0) 编辑
摘要:<el-form-item label="菜单权限"> <el-tree :data="navList" ref="treeRef" node-key="menuId" highlight-current=“true” :props="defaultProps" @check="checked" s 阅读全文
posted @ 2023-04-13 18:29 孤海飞雁 阅读(280) 评论(0) 推荐(0) 编辑

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