会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
星星c#
首页
联系
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
30
下一页
2021年5月8日
win7 安装 sp1记录
摘要: 把下面的地址复制到迅雷里: http://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X64.exe 然后把win7的administrator用户解禁
阅读全文
posted @ 2021-05-08 15:12 星星c#
阅读(52)
评论(0)
推荐(0)
2021年5月7日
访问被IdentityServer4保护的api时,取得token的方式
摘要: 1、通过ClientId、ClientSecret来获得token,代码如下: 认证服务器端: ClientId = client.ClientId, ClientName = client.ClientName, AllowedGrantTypes = GrantTypes.ClientCrede
阅读全文
posted @ 2021-05-07 23:56 星星c#
阅读(447)
评论(0)
推荐(0)
2021年5月4日
Identityserver4添加角色和授权角色的方法
摘要: 添加角色: public string AddRole(string roleName) { if (_roleManager.FindByNameAsync(roleName).Result == null) { var role = new IdentityRole { Name = roleN
阅读全文
posted @ 2021-05-04 19:16 星星c#
阅读(412)
评论(0)
推荐(0)
获得identity Server4当前用户的角色
摘要: 服务器端配置: Client oneResult = new Client { ClientId = client.ClientId, ClientName = client.ClientName, AllowedGrantTypes = GrantTypes.ResourceOwnerPasswo
阅读全文
posted @ 2021-05-04 19:15 星星c#
阅读(277)
评论(0)
推荐(0)
在uni-app里使用identity server4登录
摘要: 服务器端配置: Client oneResult = new Client { ClientId = "localHtml", ClientName = "test", AllowedGrantTypes = GrantTypes.ResourceOwnerPassword, ClientSecre
阅读全文
posted @ 2021-05-04 09:38 星星c#
阅读(428)
评论(0)
推荐(0)
2021年5月3日
Identityserver4之.net core web客户端的接入过程
摘要: 1、添加nuget引用 IdentityModel IdentityServer4.AccessTokenValidation Microsoft.AspNetCore.Authentication.Cookies Microsoft.AspNetCore.Authentication.OpenId
阅读全文
posted @ 2021-05-03 11:37 星星c#
阅读(186)
评论(0)
推荐(0)
2021年4月14日
.net core cshtml前台文件修改后,刷新页面无法时时预览,只能重新启动调试的问题解决
摘要: https://stackoverflow.com/questions/54600273/net-core-3-0-razor-views-dont-automatically-recompile-on-change https://q.cnblogs.com/q/121632/ 参考上面的2个贴子
阅读全文
posted @ 2021-04-14 09:22 星星c#
阅读(536)
评论(0)
推荐(0)
2021年4月12日
vue复习知识记录【2】 v-if v-show vfor
摘要: 1、v-if和v-show都是用来控制显示与否的 备注:v-if为false的话,整个dom对象在html里就不存在了,v-show为false的话,dom对象还在,只是display变为none了 <button v-on:click="isTrue=!isTrue">toggle</button
阅读全文
posted @ 2021-04-12 17:54 星星c#
阅读(121)
评论(0)
推荐(0)
vue复习知识记录【1】 绑定字段、绑定事件、使用方法、使用计算
摘要: 知识点: 1、绑定一个字段,备注:js代码一定要在vue.js之后 <div id="app"> <input v-model="message"> </div> <script src="https://cdn.bootcss.com/vue/2.5.2/vue.min.js"></script>
阅读全文
posted @ 2021-04-12 17:35 星星c#
阅读(288)
评论(0)
推荐(0)
2021年4月9日
解决Selenium下使用Firefox的findElement速度非常慢的问题
摘要: https://stackoverflow.com/questions/53629542/selenium-geckodriver-executes-findelement-10-times-slower-than-chromedriver-ne string geckoDriverDirector
阅读全文
posted @ 2021-04-09 22:30 星星c#
阅读(625)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
30
下一页
公告