上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 30 下一页
摘要: 把下面的地址复制到迅雷里: 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)
摘要: 1、通过ClientId、ClientSecret来获得token,代码如下: 认证服务器端: ClientId = client.ClientId, ClientName = client.ClientName, AllowedGrantTypes = GrantTypes.ClientCrede 阅读全文
posted @ 2021-05-07 23:56 星星c# 阅读(447) 评论(0) 推荐(0)
摘要: 添加角色: 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)
摘要: 服务器端配置: Client oneResult = new Client { ClientId = client.ClientId, ClientName = client.ClientName, AllowedGrantTypes = GrantTypes.ResourceOwnerPasswo 阅读全文
posted @ 2021-05-04 19:15 星星c# 阅读(277) 评论(0) 推荐(0)
摘要: 服务器端配置: Client oneResult = new Client { ClientId = "localHtml", ClientName = "test", AllowedGrantTypes = GrantTypes.ResourceOwnerPassword, ClientSecre 阅读全文
posted @ 2021-05-04 09:38 星星c# 阅读(428) 评论(0) 推荐(0)
摘要: 1、添加nuget引用 IdentityModel IdentityServer4.AccessTokenValidation Microsoft.AspNetCore.Authentication.Cookies Microsoft.AspNetCore.Authentication.OpenId 阅读全文
posted @ 2021-05-03 11:37 星星c# 阅读(186) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 知识点: 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)
摘要: 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 下一页