02 2022 档案
摘要:目录 模块拆分 EntityAccess 模块拆分 EntityAccess 实体权限 属性权限 实体权限 创建 student https://localhost:7018/Student/dotnetnb2 获取 student https://localhost:7018/Student 对
阅读全文
摘要:目录 模块拆分 环境配置 默认用户 ActionAccess 模块拆分 环境配置 mysql migration mysql docker pull mysql docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=root@dotn
阅读全文
摘要:目录 模块拆分 代码重构 模块拆分 代码重构 AuthenticationController PermissionController IAuthorizationMiddlewareResultHandler ISaveChangesInterceptor AuthenticationContr
阅读全文
摘要:目录 开发任务 代码实现 开发任务 DotNetNB.Security.Core:定义 core,models,Istore;实现 default memory store DotNetNB.WebApplication:创建 ResourceController 和 PermissionContr
阅读全文
摘要:目录 开发任务 代码实现 开发任务 DotNetNB.Security.Core:定义 core,models,Istore;实现 default memory store DotNetNB.Security.Identity:将权限赋予角色或用户;在用户登录时将 Permissions 写入用户身
阅读全文
摘要:目录 开发任务 代码实现 开发任务 DotNetNB.Security.Core:定义 core,models,Istore;实现 default memory store DotNetNB.Security.Store.EntityFramework:基于 mysql 创建 PermissionS
阅读全文
摘要:目录 开发任务 代码实现 开发任务 DotNetNB.Security.Core:定义 core,models,Istore;实现 default memory store DotNetNB.Security.EntityAccess:扫描 entities;添加 ef savechanges in
阅读全文
摘要:目录 开发任务 代码实现 开发任务 DotNetNB.Security.Core:定义 core,models,Istore;实现 default memory store DotNetNB.Security.ActionAccess:扫描 action;添加 action authorize fi
阅读全文
摘要:目录 目标 模块拆分 OPM 开发任务 目标 基于上一讲的模块划分做一个任务拆解,根据任务拆解实现功能 模块拆分 模块划分已经完成了边界的划分,边界内外职责清晰 OPM 根据模块拆分画出 OPM(Object Process Methodology) ActionAccess 模块中的 Action
阅读全文