mvc core2.1 Identity.EntityFramework Core ROle和用户绑定查看 (八)完成
摘要:添加角色属性查看 Views ->Shared->_Layout.cshtml Controllers ->RoleController.cs 新建 1 using System; 2 using System.Collections.Generic; 3 using System.Diagnost
阅读全文
posted @
2018-08-29 19:58
Aaron_Net
阅读(291)
推荐(0) 编辑
mvc core2.1 Identity.EntityFramework Core 用户Claims查看(七)
摘要:添加角色属性查看 Views ->Shared->_Layout.cshtml <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li><a asp-area="" asp-controller="Home" as
阅读全文
posted @
2018-08-29 19:04
Aaron_Net
阅读(305)
推荐(0) 编辑
mvc core2.1 Identity.EntityFramework Core 导航状态栏(六)
摘要:之前做的无法 登录退出,和状态,加入主页导航栏 Views ->Shared->_Layout.cshtml Views ->Shared->_LoginPartial.cshtml 新建
阅读全文
posted @
2018-08-29 16:11
Aaron_Net
阅读(215)
推荐(0) 编辑
EasyUI datagrid 格式 二
摘要:单击保存,改表的状态 行白灰变色 翻页选 var proIds = []; var fileview = $.extend($.fn.datagrid.defaults.view, { onAfterRender: function (target) { for (var i = 0; i < pr
阅读全文
posted @
2018-08-18 16:45
Aaron_Net
阅读(221)
推荐(0) 编辑
mvc core2.1 Identity.EntityFramework Core 用户列表预览 删除 修改 (五)
摘要:用户列表预览 Controllers->AccountController.cs Views->Account->Index.cshtml 删除 修改 Controllers->AccountController.cs Views->Account->Edit.cshtml Views ->Shar
阅读全文
posted @
2018-08-06 15:09
Aaron_Net
阅读(289)
推荐(0) 编辑
mvc core2.1 Identity.EntityFramework Core 实例配置 (四)
摘要: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
阅读(524)
推荐(1) 编辑
mvc core2.1 Identity.EntityFramework Core 登录 (三)
摘要: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) 编辑
mvc core2.1 Identity.EntityFramework Core 注册 (二)
摘要: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) 编辑
mvc core2.1 Identity.EntityFramework Core 配置 (一)
摘要:https://docs.microsoft.com/zh-cn/aspnet/core/security/authentication/customize_identity_model?view=aspnetcore-2.1 参考地址 标识模型包含七个实体类型: User -表示的用户 Role
阅读全文
posted @
2018-08-03 08:32
Aaron_Net
阅读(1030)
推荐(1) 编辑
webapi core2.1 Identity.EntityFramework Core进行配置和操作数据 (一)没什么用
摘要:https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-2.1&tabs=visual-studio%2Caspnetcore2x 的实践 微软无api 的 ident
阅读全文
posted @
2018-08-02 15:29
Aaron_Net
阅读(543)
推荐(0) 编辑
webapi core2.1 IdentityServer4.EntityFramework Core进行配置和操作数据
摘要:https://identityserver4.readthedocs.io/en/release/quickstarts/8_entity_framework.html 此连接的实践 vscode 下面命令 dotnet new webapi -o is4efcd is4efdotnet add
阅读全文
posted @
2018-08-01 17:46
Aaron_Net
阅读(1008)
推荐(0) 编辑