NetCore 编码规范-ABP 篇
目录
1 引言......................................................................................................................................................................................................................................... 1
1.1 编写目的和范围............................................................................................................................................................................................................................ 1
1.2 术语表............................................................................................................................................................................................................................................ 1
1.3 参考资料........................................................................................................................................................................................................................................ 1
2 ABP 分层及层依赖关系............................................................................................................................................................................................................ 2
3 规范......................................................................................................................................................................................................................................... 3
3.1 领域层............................................................................................................................................................................................................................................ 3
3.1.1 Domain.Shared
项目
....................................................................................................................................................................................................................3
3.1.2 Domain
项目
.................................................................................................................................................................................................................................3
3.2 应用服务层.................................................................................................................................................................................................................................... 6
3.2.1 Applicaon.Contracts
项目
...........................................................................................................................................................................................................6
3.2.2 Applicaon
项目
...........................................................................................................................................................................................................................8
3.3 基础设施层.................................................................................................................................................................................................................................. 10
3.3.1 EntyFrameworkCore
项目
........................................................................................................................................................................................................10
3.4 HTTP 层......................................................................................................................................................................................................................................... 11
3.4.1 H#pApi
项目
...............................................................................................................................................................................................................................11
3.4.2 H#pApi.Client
包
.........................................................................................................................................................................................................................12