Skip to content
.NET 开发者指北.NET 开发者指北
CMS
.NET指北
FreeKit
Docker
关于
博客
github icon
    • 开发起步
      • 项目结构
        • 相关技术
          • FreeSql
            • IdentityServer4
          • Newtonsoft.Json基础问题
            • 依赖注入scrutor
              • 认证与授权
                • 获取控制器及方法特性标签
                  • 认证鉴权状态
                    • 全局敏感词处理
                      • GitHub第三方授权登录
                        • QQ第三方授权登录
                          • CAP实现EventBus
                            • Scriban 模板语言

                            开发起步

                            calendar icon2020年2月28日timer icon大约 1 分钟word icon约 360 字

                            此页内容
                            • 项目结构
                            • 相关技术
                              • FreeSql
                              • IdentityServer4

                            # 开发起步

                            # 项目结构

                            • framework
                            • identityserver4
                              • LinCms.IdentityServer4:使用id4授权登录
                            • src
                              • LinCms.Web:接口API(ASP.NET Core)、中间件,权限验证
                              • LinCms.Application:应用服务
                              • LinCms.Application.Contracts:DTO,数据传输对象,应用服务接口
                              • LinCms.Infrastructure:基础设施,数据库持久性的操作,仓储接口的实现
                              • LinCms.Core:该应用的核心,实体类,通用操作类,AOP扩展,分页对象,基础依赖对象接口,时间扩展方法,当前用户信息,异常类,值对象,仓储接口
                              • LinCms.Plugins 使用单项目实现某个业务的扩展,不需要主要项目结构,可暂时忽略。
                            • test
                              • LinCms.Test:对仓储,应用服务或工具类进行测试
                            ├─framework
                            │  └─src
                            │      └─IGeekFan.Localization.FreeSql
                            ├─identityserver4
                            │  └─LinCms.IdentityServer4
                            │      ├─Controllers
                            │      ├─IdentityServer4
                            ├─src
                            │  ├─LinCms.Application
                            │  │  ├─Cms
                            │  │  │  ├─Admin
                            │  │  │  ├─Files
                            │  │  │  ├─Groups
                            │  │  │  ├─Logs
                            │  │  │  ├─Permissions
                            │  │  │  ├─Settings
                            │  │  │  └─Users
                            │  ├─LinCms.Application.Contracts
                            │  │  ├─Cms
                            │  │  │  ├─Account
                            │  │  │  ├─Admins
                            │  │  │  │  └─Dtos
                            │  │  │  ├─Files
                            │  │  │  │  └─Dtos
                            │  │  │  ├─Groups
                            │  │  │  │  └─Dtos
                            │  │  │  ├─Logs
                            │  │  │  │  └─Dtos
                            │  │  │  ├─Permissions
                            │  │  │  │  └─Dtos
                            │  │  │  ├─Settings
                            │  │  │  │  └─Dtos
                            │  │  │  └─Users
                            │  │  │      └─Dtos
                            │  ├─LinCms.Core
                            │  │  ├─Aop
                            │  │  ├─Common
                            │  │  ├─Data
                            │  │  │  └─Enums
                            │  │  ├─Dependency
                            │  │  ├─Entities
                            │  │  │  └─Settings
                            │  │  ├─Exceptions
                            │  │  ├─Extensions
                            │  │  ├─IRepositories
                            │  │  ├─LinCms
                            │  │  │  └─Core
                            │  │  ├─Middleware
                            │  │  └─Security
                            │  ├─LinCms.Infrastructure
                            │  │  └─Repositories
                            │  ├─LinCms.Plugins
                            │  │  └─Poem
                            │  │      ├─AutoMapper
                            │  │      ├─Controllers
                            │  │      └─Models
                            │  └─LinCms.Web
                            │      ├─Configs
                            │      ├─Controllers
                            │      │  ├─Cms
                            │      ├─Data
                            │      │  └─Authorization
                            │      ├─Properties
                            │      ├─SnakeCaseQuery
                            │      ├─Uow
                            │      ├─Utils
                            │      └─wwwroot
                            └─test
                                └─LinCms.Test
                                    ├─Controller
                                    │  ├─Cms
                                    ├─Properties
                                    ├─Service
                                    │  └─Cms
                                    └─Utils
                            
                            1
                            2
                            3
                            4
                            5
                            6
                            7
                            8
                            9
                            10
                            11
                            12
                            13
                            14
                            15
                            16
                            17
                            18
                            19
                            20
                            21
                            22
                            23
                            24
                            25
                            26
                            27
                            28
                            29
                            30
                            31
                            32
                            33
                            34
                            35
                            36
                            37
                            38
                            39
                            40
                            41
                            42
                            43
                            44
                            45
                            46
                            47
                            48
                            49
                            50
                            51
                            52
                            53
                            54
                            55
                            56
                            57
                            58
                            59
                            60
                            61
                            62
                            63
                            64
                            65
                            66
                            67
                            68
                            69
                            70
                            71
                            72
                            73
                            74
                            75

                            # 相关技术

                            # FreeSql

                            • 主要在介绍FreeSql在ASP.NTE Core WebApi中如何使用的过程,完成一个最简单的博客系统的后端接口

                            • 本文使用ASP .NET Core的WEB API,构建一个RESTful风格的接口,使用Freesql访问MySQL数据库,实现二个表的简单博客,并集成AutoMapper。

                            # IdentityServer4

                            • IdentityServer4 在本项目中的应用
                            edit icon在 GitHub 上编辑此页open in new window
                            上次编辑于: 2022/10/24 14:14:31
                            贡献者: luoyunchong,igeekfan
                            下一页
                            Newtonsoft.Json基础问题
                            MIT Licensed | Copyright © 2021-present luoyunchong
                            苏ICP备16046457号-1

                            该应用可以安装在你的 PC 或移动设备上。这将使该 Web 应用程序外观和行为与其他应用程序相同。它将在出现在应用程序列表中,并可以固定到主屏幕,开始菜单或任务栏。此 Web 应用程序还将能够与其他应用程序和你的操作系统安全地进行交互。

                            详情