Skip to content
bitzorcas
EN

Concept

Architecture Diagrams

Visual diagram collection for the BitzOrcas.Modern system architecture.

Last updated

Visual diagram collection for the BitzOrcas.Modern architecture. Each diagram has its own dedicated sub-page — click a card to view it at full size.

Core Architecture

System Overview

The complete system: three hosts, ten building-block libraries, seven platform modules, and three external infrastructure dependencies

View full page

Module Dependencies

18 bounded contexts in a four-tier dependency structure with red-line annotations

View full page

Layer Stack

The five-layer architecture inside each module: Endpoints → Application → Domain → Infrastructure → Persistence Models

View full page

Pipelines & Flows

Mediator Pipeline

The 7-behavior Mediator request processing chain

View full page

Auth & Authorization

Three-scheme authentication and the unified authorization decision service

View full page

Event-Driven Architecture

CAP Outbox pattern for transactional event publishing

View full page

Infrastructure

ORM Adapter Pattern

Three-tier adapter switching strategy: SqlSugar / EF Core / Dapper

View full page

Audit Sharding

Six audit categories with sharded storage and retention policies

View full page

Lifecycle & Flows

Request Lifecycle

HTTP request flow through the API middleware pipeline from exception handler to endpoint

View full page

CAP Event Publish Sequence

Transactional outbox pattern with CAP dispatcher for reliable event publishing

View full page

Order Workflow State Machine

Workflow entity state transitions from draft through approval to completion

View full page

Application Startup Sequence

API host boot sequence from WebApplicationBuilder to health-check ready

View full page

Domain & Data

Entity Inheritance Hierarchy

Four-level entity tree with domain contract interfaces for tenant isolation, soft delete, and auditing

View full page

Multi-Tenant Resolution Chain

Eight-step priority-ordered chain of responsibility for tenant resolution

View full page

CQRS Command/Query Segregation

Parallel command and query processing flows with shared and dedicated pipeline behaviors

View full page

Exception Handling Hierarchy

Layered error handling from domain exceptions through to HTTP status code mapping

Structure & Organization

Building Blocks Responsibility Matrix

Ten building blocks positioned by Infrastructure vs Application and Cross-cutting vs Core

View full page

Module Internal Structure

Nested containment structure within a module showing layers and boundaries

View full page

Dependency Injection Tree

DI registration hierarchy across the four composition root groups

View full page

Module Ownership Map

Platform module bounded context ownership and responsibility grouping

View full page

Host Technology Stack

Six-layer technology stack from HTTP endpoints down to external resources

View full page

ORM Adapter Concerns

Overlap and unique features across three ORM adapters: SqlSugar, EF Core, and Dapper

View full page

Design system

All diagrams follow the same visual design system:

TokenValueUsage
Paper#f5f5f5Warm white-smoke background
Ink#2d3142Primary text and strokes
Accent#eb6c36Focal elements (max 2 per diagram)
Muted#4f5d75Secondary text and default arrows
Link#2e5aa8HTTP/API calls, external systems