摘要: https://docs.microsoft.com/zh-cn/aspnet/core/security/authentication/customize_identity_model?view=aspnetcore-2.1 实践 Models->ApplicationRole.cs 1 usin 阅读全文
posted @ 2018-08-04 17:24 Aaron_Net 阅读(522) 评论(0) 推荐(1) 编辑
摘要: Controllers->AccountController.cs 新建 Models->AccountViewModels->LoginViewModel.cs 新建 Views->Account->Login.cshtml 新建 1 @using System.Collections.Gener 阅读全文
posted @ 2018-08-04 11:53 Aaron_Net 阅读(506) 评论(0) 推荐(0) 编辑
摘要: Startup.cs-> Configure Controllers->AccountController.cs 新建 1 using System; 2 using System.Collections.Generic; 3 using System.Diagnostics; 4 using Sy 阅读全文
posted @ 2018-08-04 11:29 Aaron_Net 阅读(485) 评论(0) 推荐(0) 编辑