会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
行人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2020年7月22日
IdentityServer4 获取发现文档 提示 Keyset is missing
摘要: 客户端请求提示 Keyset is missing 解决办法 添加以下代码 services.AddIdentityServer(options => { options.Events.RaiseErrorEvents = true; options.Events.RaiseInformationE
阅读全文
posted @ 2020-07-22 10:41 朝闲
阅读(463)
评论(0)
推荐(0)
2020年7月20日
.Net Core 2.2 Areas 路由,第一个MapAreaRoute 设置匹配多个Controller
摘要: 在.Net Core 2.2 版本中使用 Area, 发现配置第一个(Admin) MapAreaRoute 路由可以匹配多个 {Controller}/{Action} 路由设置 app.UseMvc(routes => { //routes.MapRoute( // name: "areas",
阅读全文
posted @ 2020-07-20 09:02 朝闲
阅读(1487)
评论(0)
推荐(0)
2020年7月19日
.Net Core WebApi 使用 JWT 验证身份
摘要: 一、注册身份验证服务 StartUp.ConfigureServices() //策略授权 services.AddAuthorization(options => { options.AddPolicy("Admin", po => po.RequireRole("Admin")); option
阅读全文
posted @ 2020-07-19 11:14 朝闲
阅读(858)
评论(0)
推荐(0)
2019年10月20日
C#使用NLog记录日志
摘要: 一、使用Nuget安装 二、配置节点 默认NLog.config修改 三、程序调用 日志输出
阅读全文
posted @ 2019-10-20 17:56 朝闲
阅读(1063)
评论(0)
推荐(1)
2019年9月26日
IE浏览器 location.href 不跳转
摘要: location.href ie浏览器不跳转
阅读全文
posted @ 2019-09-26 17:40 朝闲
阅读(593)
评论(0)
推荐(0)
2019年3月19日
.Net Core 导出Excel
摘要: asp .net core 使用 epplus 导出excel
阅读全文
posted @ 2019-03-19 11:55 朝闲
阅读(1108)
评论(0)
推荐(0)
2019年3月13日
.net mvc 获取acion 返回类型
摘要: 1、.net core 中获取 descriptor.MethodInfo.ReturnType.Name 及时action返回的类型 ,如 ActionResult JsonResult 等等
阅读全文
posted @ 2019-03-13 10:38 朝闲
阅读(278)
评论(0)
推荐(0)
2018年11月20日
sql sever 执行较大的文件脚本
摘要: 1、用管理员身份打开cmd工具 2、执行命令 osql -S localhost -U sa -P 123456 -i D:/test.sql -S 服务器地址 本地可简写 . -U 用户名 -P 密码 -i 脚本文件地址
阅读全文
posted @ 2018-11-20 10:04 朝闲
阅读(475)
评论(0)
推荐(0)
2017年11月17日
js只允许输入数字和两位小数
摘要: 一、js只允许输入数字和两位小数 二、判断数组是否存在某个值
阅读全文
posted @ 2017-11-17 16:14 朝闲
阅读(1467)
评论(0)
推荐(0)
2017年6月21日
sql prompt 不能用
摘要: SQL Prompt has been disabled due to an error with the registration of a required DLL - TextMgrP.dll. To resolve the error, repair SQL Server Management Studio or Visual Studio from the Windows Control Panel.
阅读全文
posted @ 2017-06-21 09:52 朝闲
阅读(3181)
评论(1)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告