Skip to content

Layered Architecture

Overview

Cargonerds implements a strict layered architecture where dependencies flow inward.

Layers

Presentation Layer

  • Blazor WebAssembly
  • Public Web (ASP.NET Core MVC)
  • API Controllers

Application Layer

  • Application Services
  • DTOs
  • Service Interfaces

Domain Layer

  • Entities and Aggregates
  • Domain Services
  • Repository Interfaces
  • Business Rules

Infrastructure Layer

  • Entity Framework Core
  • External Service Integrations
  • File Storage

For more details, see ABP Patterns.