摘要: 每次使用都到处查阅,现在记录下来,备查。 几个变量的类型: SampleID:int Beach:string Hook:string 阅读全文
posted @ 2016-12-31 11:03 jqdy 阅读(1895) 评论(0) 推荐(0) 编辑
摘要: 今天将VS2015编制的一个asp.net core项目发布到服务器进行测试,使用的是vs中主菜单“生成”中的“发布”功能。 遇到了一个错误,在网上反复检索尝试,终于解决问题: 1. 错误信息: 错误代码: ERROR_CERTIFICATE_VALIDATION_FAILED更多信息: 已使用指定 阅读全文
posted @ 2016-12-06 15:23 jqdy 阅读(1903) 评论(0) 推荐(0) 编辑
摘要: 基于Asp.Net Core编制一个项目,需要给用户添加及删除角色的功能,于是使用到了Identity中的UserManager。 先后解决了几个问题,终于实现了设想。 1. 环境条件 Asp.Net Core 1.0.1 Microsoft.AspNetCore.Identity.EntityFr 阅读全文
posted @ 2016-11-05 18:22 jqdy 阅读(5539) 评论(0) 推荐(0) 编辑
摘要: Updating related data¶ 7 of 7 people found this helpful The Contoso University sample web application demonstrates how to create ASP.NET Core 1.0 MVC 阅读全文
posted @ 2016-10-28 11:18 jqdy 阅读(361) 评论(0) 推荐(0) 编辑
摘要: Reading related data¶ 9 of 9 people found this helpful The Contoso University sample web application demonstrates how to create ASP.NET Core 1.0 MVC w 阅读全文
posted @ 2016-10-28 10:42 jqdy 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 有几篇文件,深入浅出地讲解了如何一步一步的使用Identity,感觉十分有用,留下链接,备查。 1. Configuring Db Connection and Code-First Migration for Identity Accounts in ASP.NET MVC 5 and Visua 阅读全文
posted @ 2016-10-25 18:15 jqdy 阅读(445) 评论(0) 推荐(0) 编辑
摘要: Limiting identity by scheme¶ 通过映射限制身份(这部分有好几个概念还不清楚,翻译的有问题) 36 of 39 people found this helpful In some scenarios, such as Single Page Applications it 阅读全文
posted @ 2016-10-25 14:34 jqdy 阅读(501) 评论(0) 推荐(0) 编辑
摘要: View Based Authorization¶ 基于视图的授权 44 of 46 people found this helpful Often a developer will want to show, hide or otherwise modify a UI based on the c 阅读全文
posted @ 2016-10-25 10:32 jqdy 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Resource Based Authorization¶ 基于资源的授权 68 of 73 people found this helpful Often authorization depends upon the resource being accessed. For example a d 阅读全文
posted @ 2016-10-25 10:09 jqdy 阅读(744) 评论(0) 推荐(0) 编辑
摘要: Dependency Injection in requirement handlers¶ 30 of 32 people found this helpful Authorization handlers must be registered in the service collection d 阅读全文
posted @ 2016-10-24 17:54 jqdy 阅读(306) 评论(0) 推荐(0) 编辑