AspNetCore架构图

AspNetCore架构图

All-in-One App

All-in-One applications
All-in-One applications

N-Layer

典型的应用层
典型的应用层

分层项目骨架
分层项目骨架

Clean Architecture Layers

Clean Architecture 可以选择使用DDD设计或者不使用。

Clean Architecture Layers
Clean Architecture Layers

ASP.NET Core architecture diagram following Clean Architecture
ASP.NET Core architecture diagram following Clean Architecture

A sample ASP.NET Core app’s runtime architecture.
A sample ASP.NET Core app’s runtime architecture.

代码组织

AppCore

  • Entities
  • Interfaces
  • services
  • Dtos
  • Specifications
  • Exceptions--异常

Infrastructure

  • EF Core
  • Data access(Repositories)
  • Infrastructure-specific services

UI

  • Controllers
  • Filters
  • Pages
  • Services
  • Views
  • ViewModels
  • Startup
posted @ 2018-08-28 13:14  明明.如月  阅读(2693)  评论(0编辑  收藏  举报