上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: using System; using System.Collections.Generic; using SqlSugar; $blankline {{ var today=new Date(); var fullYear=today.getFullYear(); var month=today. 阅读全文
posted @ 2023-08-25 14:20 孤海飞雁 阅读(94) 评论(0) 推荐(0)
摘要: Microsoft.AspNetCore.Hosting.HttpRequestIn.Start Microsoft.AspNetCore.Hosting.BeginRequest Microsoft.AspNetCore.Routing.EndpointMatched 终结点匹配 Microsof 阅读全文
posted @ 2023-06-30 22:07 孤海飞雁 阅读(57) 评论(0) 推荐(0)
摘要: 在部署到西藏职院 测试 流程时(Net6), 有个在线预览功能,pc 端可以,但是在微信端预览时就报错了,提示 ERR_BLOCKED_BY_RESPONSE,百度设置x-frame-options=sameorigih,还是有问题,链接有一个 http和一个https(问题就出在这里,微信端被强制 阅读全文
posted @ 2023-06-22 10:55 孤海飞雁 阅读(139) 评论(0) 推荐(0)
摘要: 1 new WebHostBuilder ,并传入 IHostBuilder 和 ApplicationBuilder 并初始化 , 执行委托 创建HttpListenerServer 服务,没有则返回默认 监听地址,注册中间件,获取监听地址, 遍历 生成管道 对象 requestDelegate 阅读全文
posted @ 2023-05-23 21:39 孤海飞雁 阅读(199) 评论(0) 推荐(0)
摘要: https/http下 授权跳转 总是不能跳转 idnentoty 4.00版本,升级版本后解决 20240623 上图错误 解决方法: 这是你 identity 的地址已填写错误,仔细检查下端口等 RedirectUris = { "https://localhost:7098/signin-oi 阅读全文
posted @ 2023-04-29 19:00 孤海飞雁 阅读(163) 评论(0) 推荐(0)
摘要: asp.net 核心 MVC - 找不到布局视图“~/视图/共享/_Layout.cshtml” - 堆栈溢出 (stackoverflow.com) 页面属性/生成操作/内容 阅读全文
posted @ 2023-04-29 13:38 孤海飞雁 阅读(27) 评论(0) 推荐(0)
摘要: 在刷新Token ok后 数据有返回,但是 最开始的请求那里总是underfined,这个找了一天后找到原因,记得return, 没有 return就是underfined 阅读全文
posted @ 2023-04-28 10:37 孤海飞雁 阅读(53) 评论(0) 推荐(0)
摘要: 错误使用 app.UseAuthentication();//认证 这里要加,位置不能反 app.UseAuthorization();//授权 app.UseCors();//启用Cors 解决方法 app.UseCors();//启用Cors app.UseAuthentication();// 阅读全文
posted @ 2023-04-25 10:28 孤海飞雁 阅读(64) 评论(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 孤海飞雁 阅读(123) 评论(0) 推荐(0)
摘要: 这个百度一大片,到处不行,国外网站找也是有问题,官网文档也是有点操蛋。搞到现在ok了 直接上代码。 //Program.cs 配置 #region 日志 LogManager.LoadConfiguration(ParameterConfig.Nlog).GetCurrentClassLogger( 阅读全文
posted @ 2023-04-14 22:53 孤海飞雁 阅读(317) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页