A Architecture Catalogue
/
1How to Use This Catalogue
2Family A — Application & Code-Level Architecture
3Family B — Distributed & System Architecture
4Family C — Integration & Messaging
5Family D — Data & Analytics Architecture
6Family E — Azure Cloud Reference Architecture
7Family F — AI / LLM-Era Architecture
8Family G — Frontend Architecture
9Family H — Cross-Cutting Architecture
10The 2026 State of Play
11Selection Guide
12Sources
Architecture Survey · C# / .NET 10 · Azure

Every architecture
worth knowing.

Application, distributed, integration, data, Azure cloud, AI-era, frontend, and cross-cutting — surveyed with diagrams, honest trade-offs, and .NET fit. Architecture isn't one decision; it's six.

12 sections 19 live diagrams 60+ patterns ~40 min read
SYSTEM 6 decisions CODE SPLIT TALK DATA CLOUD FACE
Scroll to begin
1

How to Use This Catalogue

1.1 Architecture is not one decision — it's six

The single biggest source of confusion in architecture discussions is that people compare things that don't compete. "Should we use Clean Architecture or microservices?" is a malformed question: one describes how a codebase is organised inside a deployable unit, the other describes how many deployable units there are. You will pick one from each of these axes, not one overall:

DIAGRAM 01
flowchart TD S["A system needs an architecture"] --> A["① Code organisation<br/>How is one unit structured internally?<br/>Family A"] S --> B["② Decomposition<br/>How many deployable units?<br/>Family B"] S --> C["③ Communication<br/>How do parts talk?<br/>Family C"] S --> D["④ Data<br/>How is state stored and analysed?<br/>Family D"] S --> E["⑤ Platform<br/>What runs it, and where?<br/>Family E"] S --> F["⑥ Interface<br/>How do humans and AI reach it?<br/>Families F and G"] A --> X["Cross-cutting concerns apply to all six<br/>Family H"] B --> X C --> X D --> X E --> X F --> X

A real system is a stack of choices: a modular monolith (B), organised internally with vertical slices over a shared domain (A), communicating via an outbox and pub/sub (C), backed by a relational store with a medallion analytics side (D), running on Azure Container Apps inside a landing zone (E), fronted by an SSR web app and an MCP server (F/G), designed multi-tenant with zero-trust (H). Every one of those is a separate, defensible decision.

1.2 How each profile is structured

Each architecture below gets: what it is, the core mechanic, honest pros and cons, and a .NET / Azure fit note. Where a pattern is genuinely important, it gets a diagram too.

1.3 Three rules that survive every fashion cycle

1. Architecture is the set of decisions that are expensive to reverse. If it's cheap to change later, it isn't architecture — just design. Spend your effort proportionally.

2. Every architecture trades local simplicity for some global property. Testability, scalability, team autonomy, cost. If you can't name what you're buying, you're paying for nothing.

3. Complexity you don't need is the most expensive kind. The dominant 2026 lesson (§10) is that the industry overpaid for distribution for a decade.


2

Family A — Application & Code-Level Architecture

How the code inside a single deployable unit is organised. These compete with each other; pick one (or deliberately blend).

DIAGRAM 02
flowchart LR A["Big Ball of Mud<br/>no structure"] --> B["Layered / N-Tier<br/>technical layers"] B --> C["Hexagonal<br/>inside vs outside"] C --> D["Onion<br/>rings around a domain"] D --> E["Clean<br/>rings around use cases"] B --> F["Vertical Slice<br/>organised by feature"] E --> G["Hybrid: rich domain core<br/>+ sliced use cases"] F --> G

2.1 Layered / N-Tier Architecture

What it is. Presentation → Business Logic → Data Access → Database, with dependencies flowing downward. Formalised by Fowler in PoEAA (2002); still the most widely deployed architecture on earth.

Core mechanic. Horizontal separation by technical responsibility. Each layer may only call the layer directly beneath it.

Pros Cons
Universally understood; zero onboarding cost Database sits at the foundation, so the schema shapes the business logic
Fast to build for CRUD Business logic is untestable without the data layer
Clear where things go Common/Utilities project becomes a dumping ground
Minimal ceremony Swapping infrastructure means touching every layer

.NET fit. The default for classic ASP.NET MVC/Web Forms estates. Still correct for genuine CRUD: an admin panel with 30 forms over 30 tables gains nothing from anything fancier.

Use when: short-lived apps, simple CRUD, small teams, prototypes. Avoid when: the domain has real invariants, or the system will outlive the current framework version.

2.2 Hexagonal Architecture (Ports & Adapters)

What it is. Alistair Cockburn, 2005. The application core is surrounded by ports (interfaces the core owns) and adapters (implementations that plug in). Driving adapters (UI, CLI, tests) and driven adapters (DB, bus, SMTP) are architecturally the same kind of thing.

DIAGRAM 03
flowchart LR UI["Web UI"] --> P1["Driving ports"] CLI["CLI"] --> P1 TEST["Test harness"] --> P1 P1 --> CORE["Application core<br/>domain + use cases"] CORE --> P2["Driven ports"] P2 -.->|implemented by| DB["Database adapter"] P2 -.->|implemented by| BUS["Message bus adapter"] P2 -.->|implemented by| MAIL["Email adapter"]

Core mechanic. The core declares the interfaces it needs; the outside is obliged to satisfy them. The core compiles and runs with every real adapter replaced by a fake.

Pros Cons
The whole use case is testable with fakes, not just units Port proliferation — one interface per collaborator, most with a single implementation
A test harness is architecturally identical to a UI Says nothing about how to structure the inside
Deferred infrastructure decisions Indirection: F12 lands on an interface

.NET fit. Maps cleanly onto a Core project with zero package references, plus Adapters.* projects. Verify with an architecture test that Core references no adapter namespace.

Use when: more than one way in (API + jobs + CLI + tests), or infrastructure is uncertain. Avoid when: one entry point and one database, forever.

2.3 Onion Architecture

What it is. Jeffrey Palermo, 2008. Hexagonal with the inside subdivided into concentric rings: Domain Model at the centre, then Domain Services, then Application Services, with Infrastructure and Presentation as interchangeable outer edges.

Core mechanic. All source-code dependencies point inward. The domain depends on nothing — no EF Core, no ASP.NET, no framework at all.

Pros Cons
Business rules unit-testable with no mocks, no DB Anemic-domain risk: teams build the rings, then put all logic in services
Infrastructure swaps touch one project Mapping overhead between entities and DTOs
Boundaries enforced by the compiler Read paths are inefficient — hydrating an aggregate to render a list is waste
Survives framework churn over a decade Structural domain changes ripple outward to every layer

.NET fit. The most common "serious .NET" layout: Domain / Application / Infrastructure / Api, with Domain.csproj deliberately holding zero PackageReference entries.

Use when: long-lived business systems with genuine invariants. Avoid when: CRUD, short-lived systems, or teams that don't understand dependency inversion (you get all the ceremony, none of the benefit).

2.4 Clean Architecture

What it is. Robert C. Martin, 2012/2017. Entities → Use Cases → Interface Adapters → Frameworks & Drivers. Functionally near-identical to Onion; the difference is emphasis.

Onion Clean
Core organised around Layers around a domain model Explicit, named use cases
Typical shape IOrderService with several methods PlaceOrderHandler, CancelOrderHandler
Prescriptiveness Looser — four tenets Tighter — four named rings

.NET fit. Very widely used; Jason Taylor's Clean Architecture template is the most-cloned .NET starting point. Pairs naturally with MediatR handlers.

Use when: you want guardrails and easy onboarding, and the system is use-case-rich. Avoid when: the team will treat the four rings as scripture and generate pass-through classes to satisfy them.

2.5 Vertical Slice Architecture

What it is. Jimmy Bogard, 2018. Organise by feature, not by technical layer. Each request gets a folder containing its endpoint, handler, validator, DTO, and data access — free to choose its own approach.

DIAGRAM 04
flowchart LR subgraph H["Horizontal — layered"] H1["Presentation ————"] H2["Application ————"] H3["Domain ——————"] H4["Infrastructure ———"] end subgraph V["Vertical — sliced"] V1["PlaceOrder"] V2["CancelOrder"] V3["ListOrders"] V4["ExportReport"] end

Core mechanic. Maximise cohesion per feature; accept some duplication between features. Adding a feature means adding a folder, not touching five projects.

Pros Cons
Change is local — one folder per feature Duplication by design; needs discipline to extract shared logic
Each slice picks its own tools — a query slice can use Dapper directly Slices drift apart without conventions
Deleting a feature means deleting a folder Cross-slice logic is awkward
Avoids abstractions around things that shouldn't be abstracted Harder to learn the system by browsing structure

.NET fit. MediatR handlers are vertical slices — same author. Increasingly the default for new .NET services, often combined with a shared rich domain.

Use when: feature-churny apps, CRUD-heavy services, teams that ship many small changes. Avoid when: invariants must hold identically across every entry point and there's no shared domain to enforce them.

2.6 The pragmatic hybrid (what most good .NET codebases actually are)

Onion and Vertical Slice are not rivals. The arrangement most teams converge on:

  • Domain layer stays — one rich, shared, invariant-enforcing model. Slices don't each invent their own Order.
  • Application layer becomes slices — one folder per use case with its command, handler, validator, DTO.
  • Infrastructure stays — shared adapters.
  • Query slices bypass the aggregate and project straight to DTOs.

You keep Onion's ripple-dampening and gain slice cohesion.

2.7 MVC, MVP, MVVM, MVU

Presentation-layer patterns, orthogonal to everything above — they organise the UI, not the system.

Pattern Splits into Where you'll meet it in .NET
MVC Model / View / Controller ASP.NET Core MVC, Razor Pages (PageModel ≈ controller)
MVP Model / View / Presenter Legacy WinForms, older Web Forms
MVVM Model / View / ViewModel + binding WPF, MAUI, Avalonia — binding-heavy UIs
MVU Model / View / Update (unidirectional) Fluent UI Blazor patterns, Elm-inspired; increasingly common in Blazor

Rule of thumb: MVVM where a rich two-way data-binding framework exists; MVC where request/response; MVU where you want predictable state transitions and easy time-travel debugging.

2.8 Microkernel / Plugin Architecture

What it is. A minimal core plus plug-in modules discovered at runtime. Think Visual Studio extensions, browser add-ons, rules engines, ETL tools.

Pros Cons
Third parties extend without touching the core Plugin contract becomes near-impossible to change
Features ship independently of the core Versioning and isolation are hard
Excellent for product platforms Debugging across the boundary is painful

.NET fit. AssemblyLoadContext for isolation and unloadability; MEF historically. Roslyn analyzers and ASP.NET Core middleware are both microkernel-shaped.

2.9 Pipes & Filters / Pipeline

What it is. Data flows through a chain of independent, composable transformation stages.

.NET fit. ASP.NET Core middleware, MediatR pipeline behaviours, System.Threading.Channels, TPL Dataflow, and Azure Functions bindings are all pipelines. Excellent for ETL, media processing, and validation chains.

Watch out for: hidden ordering dependencies between stages, and error handling that has to unwind a partially-complete pipeline.


3

Family B — Distributed & System Architecture

How many deployable units, and how they're divided. This is the axis where 2026 saw the biggest correction.

DIAGRAM 05
flowchart LR A["Monolith<br/>1 unit"] --> B["Modular Monolith<br/>1 unit, N enforced modules"] B --> C["Service-Based<br/>a few coarse services"] C --> D["Microservices<br/>many fine services"] D --> E["Serverless / FaaS<br/>functions, scale to zero"] B -.->|"selective extraction"| D D -.->|"2026: consolidation"| B

3.1 Monolith (single deployable unit)

What it is. One application, one deployment, one database. Not an insult — the correct default for most systems.

Pros Cons
Simplest possible operations: one CI, one deploy, one log stream Scales as one unit — you scale the whole thing for one hot path
In-process calls: no network latency, no partial failure Without discipline, degenerates into a big ball of mud
ACID transactions across the whole domain One bad deploy affects everything
Trivially debuggable end-to-end Large-team contention on a single codebase

.NET fit. A single ASP.NET Core app. With .NET 10's runtime performance, a well-built monolith handles far more load than most teams assume.

3.2 Modular Monolith ⭐ (the 2026 default)

What it is. One deployable unit, internally divided into modules with enforced boundaries — modules never share database tables and communicate only through published interfaces or in-process events.

DIAGRAM 06
flowchart TB API["Single host process"] --> M1["Orders module<br/>own schema"] API --> M2["Billing module<br/>own schema"] API --> M3["Shipping module<br/>own schema"] M1 -.->|in-process events| M2 M2 -.->|in-process events| M3 M1 --> DB[("One database,<br/>separate schemas")] M2 --> DB M3 --> DB

Core mechanic. Get microservices' logical boundaries without their physical distribution. If a module later needs to be a service, extraction is a refactor rather than a rewrite.

Pros Cons
Domain boundaries without network calls, sagas, or eventual consistency Boundaries erode without automated enforcement
One deployment, one bill, one on-call rotation Still scales as a single unit
Extraction path preserved Requires real discipline about shared code
ACID within a module A runaway module can still take down the process

.NET fit. Enforce boundaries with NetArchTest or ArchUnitNET fitness tests in CI, internal visibility per module, and one EF Core DbContext per module. .NET Aspire (Aspire 13 on .NET 10) has become the primary tool for building modular monoliths, giving each module its own resource definition in the AppHost plus service discovery, so splitting a module out later is a configuration change.

The evidence. This is not fashion — the numbers moved. A CNCF report found 42% of organizations that adopted microservices have consolidated some services back into larger deployable units, and service mesh adoption dropped from 18% in Q3 2023 to 8% in Q3 2025, indicating cost rather than scalability became the dominant constraint. Amazon Prime Video's Video Quality Analysis team moved from distributed microservices to a single-process monolith and cut infrastructure costs by 90%.

Use when: greenfield, almost always. Default here and extract only under concrete pressure.

3.3 Microservices

What it is. Many small, independently deployable services, each owning its data, aligned to business capabilities.

Pros Cons
Independent deploy and scale per service Every service needs its own CI, observability, security review, on-call
Team autonomy at organisational scale Network latency and partial failure where none existed
Technology heterogeneity Distributed data consistency becomes a permanent design problem
Fault isolation if done well Debugging spans dozens of services
Matches Conway's Law for big orgs Substantially higher cloud cost

.NET fit. ASP.NET Core minimal APIs + Azure Container Apps or AKS; MassTransit or Azure Service Bus for messaging; .NET Aspire for local orchestration and OpenTelemetry wiring.

The honest test: microservices solve an organisational problem — many autonomous teams working independently on large, stable domains. If you have three teams, you have an organisational problem microservices don't solve. Many teams adopted microservices long before reaching the scale that justifies them.

Use when: many teams, genuinely divergent scaling profiles, independent release cadences, strong platform engineering support. Avoid when: you're adopting them to be modern, or you lack the platform maturity to run them.

3.4 Service-Based Architecture

What it is. The pragmatic middle: 4–12 coarse-grained services (not 200), often sharing a database, deployed independently.

Why it matters. It captures most of the deployment-independence benefit with a fraction of the distributed-systems cost. Frequently what teams should have built instead of microservices.

.NET fit. A handful of ASP.NET Core services on App Service or Container Apps, with a shared SQL database or a database-per-service where it matters.

3.5 Serverless / Functions-as-a-Service

What it is. Event-triggered functions with no managed servers, billed per execution, scaling to zero.

Pros Cons
Zero cost at idle; automatic scale Cold starts (mitigated by Premium/Flex plans)
No infrastructure to patch Execution time limits
Perfect fit for spiky, event-driven work Vendor lock-in at the trigger/binding layer
Very fast to ship Hard to reason about cost at high sustained volume

.NET fit. Azure Functions (isolated worker model on .NET 10), Durable Functions for stateful orchestration, and Azure Container Apps jobs for containerised batch work.

Use when: event processing, scheduled jobs, glue code, genuinely spiky traffic. Avoid when: sustained high throughput (a always-on container is cheaper), or long-running synchronous work.

3.6 Actor Model

What it is. State and behaviour encapsulated in single-threaded "actors" that communicate only by message. Each actor processes one message at a time, eliminating locks.

.NET fit. Microsoft Orleans ("virtual actors" — grains are always addressable and activated on demand) and Akka.NET; Dapr Actors for a language-agnostic option. Excellent for gaming, IoT device shadows, real-time leaderboards, per-entity state machines.

Use when: millions of small, independently-addressable stateful entities. Avoid when: your workload is request/response over a relational store — you'll fight the model.

3.7 Space-Based Architecture

What it is. Removes the central database bottleneck by keeping data in a replicated in-memory data grid, with asynchronous write-behind to durable storage. Scales by adding processing units.

Use when: extreme, unpredictable concurrency spikes (ticketing, flash sales, betting). Avoid when: you need strong consistency or your budget can't carry the operational complexity.

.NET fit. Rare in .NET; approximated with Redis, Orleans grains, or Azure Cache for Redis as the grid.

3.8 Cell-Based Architecture

What it is. The system is deployed as multiple independent, self-contained "cells", each serving a subset of tenants or traffic, with a routing layer in front. A failure blast radius is one cell.

Azure fit. This is the Deployment Stamp pattern (§6.5) — the standard approach for large multi-tenant SaaS on Azure and the basis of regional scale-out.

3.9 Sidecar, Ambassador, and Service Mesh

What they are. Infrastructure concerns (retry, mTLS, tracing, service discovery) moved out of application code into a co-deployed process.

.NET fit. Dapr is the most relevant: a sidecar providing state management, pub/sub, service invocation, and secrets via HTTP/gRPC, with first-class integration in Azure Container Apps (enable with a toggle; on AKS you install and manage it yourself). Service meshes (Istio, Linkerd) do the same for networking — though as noted above, mesh adoption has been falling as teams question the operational cost.


4

Family C — Integration & Messaging

How the pieces talk. These compose with everything above.

4.1 Request/Response vs Event-Driven — the fundamental split

DIAGRAM 07
flowchart TB subgraph SYNC["Synchronous — request/response"] A["Caller"] -->|"HTTP / gRPC, waits"| B["Callee"] B -->|response| A end subgraph ASYNC["Asynchronous — event-driven"] C["Producer"] -->|publishes fact| D["Broker / topic"] D --> E["Consumer 1"] D --> F["Consumer 2"] D --> G["Consumer 3"] end

The trade is availability coupling: a synchronous call fails when the callee is down; an event survives it but gives up immediate consistency and simple debugging.

4.2 Event-Driven Architecture (EDA)

What it is. Components communicate by publishing and reacting to facts that already happened. Producers don't know their consumers.

Pros Cons
Extreme decoupling — add consumers without touching producers Eventual consistency everywhere
Natural buffering and load levelling Hard to see the end-to-end flow; needs strong tracing
Resilient to downstream outages Event schema evolution is a permanent tax
Scales each consumer independently Duplicate/out-of-order delivery must be designed for

Two flavours worth distinguishing: - Event notification — thin events ("OrderPlaced, id=123"); consumers call back for detail. Low coupling, chatty. - Event-carried state transfer — fat events carrying the data. Fewer calls, but consumers now depend on your schema.

Azure fit. Event Grid for reactive, discrete events; Service Bus for enterprise messaging with ordering, sessions, and dead-lettering; Event Hubs for high-throughput streaming ingestion; Kafka where you need log-replay semantics.

4.3 CQRS (Command Query Responsibility Segregation)

What it is. Separate the write model from the read model. Commands mutate through the domain; queries project straight from a read-optimised store.

DIAGRAM 08
flowchart LR UI["Client"] --> CMD["Command handler"] UI --> QRY["Query handler"] CMD --> DOM["Domain model<br/>invariants"] DOM --> WDB[("Write store")] WDB -.->|projection| RDB[("Read store")] QRY --> RDB

Levels of commitment (pick the lowest that works): 1. CQRS-lite — same database, writes via aggregates, reads via direct projections/Dapper. This is what most teams need. 2. Separate read models — denormalised read tables updated by projection. 3. Separate databases — read replica or different engine entirely. 4. CQRS + Event Sourcing — full commitment, highest cost.

Pros Cons
Reads and writes scale and are shaped independently Two models to maintain
Eliminates the aggregate-hydration waste on reads Eventual consistency between them (levels 2+)
Read models tailored per screen Easy to over-adopt — level 4 when level 1 would do

.NET fit. MediatR IRequest for commands/queries; EF Core for writes; Dapper or EF .Select() projections for reads.

4.4 Event Sourcing

What it is. Persist the sequence of events, not current state. Current state is a fold over the event stream.

Pros Cons
Perfect audit log — you can answer "why is it like this?" Querying current state requires projections
Time travel and temporal queries Schema/event versioning is genuinely hard
Natural fit for regulated domains Steep learning curve; hard to hire for
Replay to rebuild any projection Deleting data (GDPR) fights the model

.NET fit. Marten (on PostgreSQL), EventStoreDB, or a hand-rolled append store on Cosmos DB / SQL. Pairs with CQRS almost by necessity.

Use when: audit is a first-class requirement (finance, healthcare, legal) or the history has business value. Avoid when: you just want an audit table — write an audit table.

4.5 Saga (Process Manager)

What it is. Coordinating a business transaction across multiple services/aggregates without distributed 2PC, using compensating actions to undo on failure.

DIAGRAM 09
sequenceDiagram autonumber participant O as Order service participant P as Payment service participant I as Inventory service participant S as Shipping service O->>P: ReservePayment P-->>O: PaymentReserved O->>I: ReserveStock I-->>O: StockUnavailable Note over O,I: Failure — compensate in reverse O->>P: ReleasePayment (compensation) P-->>O: PaymentReleased O->>O: Mark order failed Note over O,S: Shipping never invoked

Orchestration vs choreography:

Orchestration Choreography
Control Central coordinator Each service reacts to events
Visibility Flow is explicit in one place Flow is emergent, hard to see
Coupling Coordinator knows all steps Services know only their own triggers
Best for Complex flows, regulated processes Simple, additive flows

.NET fit. MassTransit state machines (Automatonymous), NServiceBus sagas, or Azure Durable Functions for a managed orchestrator.

4.6 Transactional Outbox

What it is. The fix for the dual-write problem: you cannot atomically write to your database and publish to a broker. Instead, write the event to an Outbox table in the same transaction as the state change; a background dispatcher publishes it afterwards.

Why it matters. Without it you will eventually lose messages or publish events for transactions that rolled back. This is not optional in any event-driven system that cares about correctness.

.NET fit. Built into MassTransit and NServiceBus; hand-rolled via an EF Core SaveChangesInterceptor that collects domain events into the outbox table. Pair with the Inbox pattern for consumer-side idempotency.

4.7 API Gateway and Backend-for-Frontend (BFF)

API Gateway — a single entry point handling routing, authentication, rate limiting, and aggregation. BFF — one gateway per client type (web, mobile, partner), each shaped to that client's needs, avoiding the "one API that pleases nobody" problem.

.NET fit. YARP (Yet Another Reverse Proxy) for a code-first gateway you fully control; Azure API Management for enterprise policy, quotas, developer portal, and now LLM token limiting (§7.6); Azure Front Door for global routing and WAF.

4.8 Enterprise Service Bus (ESB) and SOA

What they are. The 2000s ancestors: coarse-grained shared services (SOA) connected by a central bus doing routing, transformation, and orchestration (ESB).

Why it fell out of favour. The bus became a centralised bottleneck and a deployment chokepoint — a single team owning integration logic for the whole enterprise. Microservices were, in large part, a reaction to exactly this.

Where it survives. Legacy enterprise integration, BizTalk estates (now migrating to Azure Logic Apps and Service Bus), and industries with heavy protocol translation needs.

4.9 Strangler Fig and Anti-Corruption Layer

Strangler Fig — incrementally replace a legacy system by routing traffic feature-by-feature to new implementations until the old system is dead. The only realistic migration strategy for a large legacy estate.

Anti-Corruption Layer (ACL) — a translation boundary so an external or legacy model never leaks into your domain. A partner's CustomerRecord becomes your Customer at the edge, never inside.

Azure fit. Azure Front Door / APIM as the routing façade during a strangler migration.


5

Family D — Data & Analytics Architecture

How state is stored, moved, and analysed. Operational (OLTP) and analytical (OLAP) architectures answer different questions.

DIAGRAM 10
flowchart LR A["Data Warehouse<br/>1990s · schema-on-write"] --> B["Data Lake<br/>2010s · schema-on-read"] B --> C["Lakehouse<br/>2020s · both"] C --> D["Medallion<br/>bronze/silver/gold"] C --> E["Data Mesh<br/>domain-owned products"] D --> F["Microsoft Fabric<br/>OneLake · unified SaaS"] E --> F

5.1 Data Warehouse

What it is. Structured, schema-on-write, modelled for analysis (star/snowflake schemas, Kimball or Inmon). ETL transforms data before loading.

Pros Cons
Fast, predictable BI queries Rigid — schema changes are expensive
Strong governance and data quality Poor fit for unstructured or semi-structured data
Mature tooling and skills ETL pipelines are brittle and slow to change

Azure fit. Azure Synapse dedicated SQL pools, Azure SQL, and now Fabric Warehouse.

5.2 Data Lake

What it is. Store everything raw in cheap object storage, schema-on-read, transform later (ELT).

The failure mode has a name: the data swamp — a lake with no catalogue, no governance, and no idea what's in it.

Azure fit. Azure Data Lake Storage Gen2 (hierarchical namespace over Blob).

5.3 Lakehouse

What it is. Lake economics plus warehouse guarantees — ACID transactions, schema enforcement, and time travel over open table formats (Delta Lake, Iceberg, Hudi) sitting on object storage.

Azure fit. Fabric standardises on Delta Lake format, so all Fabric engines access the same dataset in OneLake without duplicating data, and the storage layer supports building either a medallion architecture or a data mesh depending on organisational requirements. Performance features include Z-ordering and liquid clustering.

5.4 Medallion Architecture (Bronze / Silver / Gold)

What it is. The standard organising pattern inside a lakehouse — data is progressively refined through three quality tiers.

DIAGRAM 11
flowchart LR SRC["Source systems"] --> B["Bronze<br/>raw · immutable · append-only<br/>schema-on-read"] B --> S["Silver<br/>cleansed · conformed<br/>deduplicated · validated"] S --> G["Gold<br/>business-ready · aggregated<br/>dimensional models"] G --> BI["Power BI / semantic model"] G --> ML["ML feature sets"]

Medallion is the recommended design approach for Fabric, implemented by creating lakehouses in OneLake, with each layer indicating data quality — bronze (raw), silver (enriched), gold (curated).

Layer Contains Owner
Bronze Raw source data, immutable, partitioned by ingestion date Data engineering
Silver Cleansed, deduplicated, conformed, quality-validated Data engineering
Gold Aggregated, business-ready, dimensional Analytics engineering / analysts

Why it works. Immutable bronze preserves the source of truth for compliance and debugging; incremental processing only transforms changed data; multiple gold datasets can derive from one silver layer.

2026 note. Fabric's materialized lake views let you define transformations declaratively in SQL rather than building manual pipelines between layers.

5.5 Data Mesh

What it is. Zhamak Dehghani, 2019. Decentralise data ownership to business domains. Four principles: domain ownership, data as a product, self-serve data platform, federated computational governance.

Pros Cons
Removes the central data team bottleneck Requires real organisational change, not just tooling
Domain experts own their data quality Easy to end up with N inconsistent silos
Scales to large enterprises Federated governance is hard to actually enforce

Azure fit. In Fabric you create a data mesh by defining domains that map to business domains (marketing, sales, inventory, HR), then implement medallion layers within each domain. Microsoft Purview provides the federated governance layer.

Reality check. Data mesh is an organisational architecture wearing technical clothes. Adopting the tooling without the ownership model gets you nothing.

5.6 Lambda and Kappa

Lambda Kappa
Shape Batch layer + speed layer + serving layer One streaming path only
Pro Accurate batch results plus low-latency estimates Single codebase, far simpler
Con Two implementations of the same logic to keep in sync Reprocessing means replaying the whole stream

Azure fit. Lambda: Data Factory (batch) + Stream Analytics (speed). Kappa: Event Hubs + Fabric Real-Time Intelligence / Stream Analytics. Kappa is generally preferred now that streaming engines can replay.

5.7 Change Data Capture (CDC)

What it is. Stream row-level changes out of an operational database rather than polling. The standard bridge from OLTP to analytics without hammering production.

Azure fit. SQL Server CDC, Azure SQL change tracking, Cosmos DB change feed (excellent — it's a first-class event source), Debezium onto Event Hubs, Fabric Mirroring for near-real-time replication into OneLake.

5.8 Data Vault

What it is. Hubs (business keys), Links (relationships), Satellites (attributes over time). Insert-only, fully auditable, built for schema churn.

Use when: many changing source systems and hard auditability requirements (banking, insurance). Avoid when: you want simple, fast BI — query complexity is high; you'll still need a star-schema gold layer on top.

5.9 Polyglot Persistence and Database-per-Service

What it is. Use the right store per workload — relational for transactions, document for flexible schemas, graph for relationships, key-value for caching, time-series for telemetry, vector for semantic search.

Azure fit. Azure SQL, Cosmos DB (NoSQL/Mongo/Cassandra/Gremlin APIs), PostgreSQL Flexible Server (with pgvector), Redis, Data Explorer, and AI Search for vectors.

The catch: every additional store is another backup strategy, another failure mode, another skill set. Polyglot persistence should be a considered decision, never a default.


6

Family E — Azure Cloud Reference Architecture

Cloud architecture operates at three levels: framework (how to judge a design), platform (how the environment is organised), and workload (how a given system is built).

DIAGRAM 12
flowchart TB CAF["Cloud Adoption Framework<br/>organisational adoption journey"] --> LZ["Azure Landing Zones<br/>the environment"] WAF["Well-Architected Framework<br/>5 pillars · judge any workload"] --> WL["Workload architectures"] LZ --> WL WL --> C1["Compute choice"] WL --> C2["Integration choice"] WL --> C3["Data choice"]

6.1 The Well-Architected Framework (WAF) — five pillars

The Azure Well-Architected Framework defines five pillars that drive architectural excellence at the workload level. These are the lens for reviewing any Azure design:

Pillar Core question Typical levers
Reliability Will it survive failure? Redundancy, zones/regions, retries, health probes, DR drills
Security Is confidentiality, integrity, availability protected? Zero trust, managed identity, Key Vault, private endpoints, Defender
Cost Optimization Are we paying only for value? Right-sizing, reservations, autoscale, scale-to-zero, FinOps guardrails
Operational Excellence Can we run and change it safely? IaC, CI/CD, observability, safe deployment practices
Performance Efficiency Does it scale to demand? Caching, async, partitioning, load testing

Assess a workload against these pillars using the Azure Well-Architected Review; Azure Advisor analyses configuration and telemetry against the same pillars.

The pillars conflict on purpose. Maximum reliability costs money; maximum security costs performance. WAF is a trade-off framework, not a checklist to score 100% on.

6.2 Cloud Adoption Framework (CAF) and Landing Zones

What a landing zone is. A proven, flexible architecture for governing, securing, and scaling a multi-subscription Azure environment, made of two components: a platform landing zone (the centralised foundation establishing governance, security, and shared resources) and application landing zones (where workload teams deploy within the platform's guardrails).

DIAGRAM 13
flowchart TB ROOT["Tenant Root management group"] --> PLAT["Platform"] ROOT --> LZ["Landing Zones"] ROOT --> SBX["Sandbox"] ROOT --> DEC["Decommissioned"] PLAT --> MGMT["Management<br/>logging · automation"] PLAT --> IDENT["Identity<br/>domain services"] PLAT --> CONN["Connectivity<br/>hub network · firewall"] LZ --> CORP["Corp<br/>internal workloads"] LZ --> ONLINE["Online<br/>internet-facing"]

The CAF Landing Zone Accelerator is Microsoft's reference implementation, deployable via the Azure portal, Bicep, or Terraform, provisioning the management group hierarchy, platform subscriptions, Azure Policy guardrails, hub networking with Azure Firewall, Log Analytics, and Defender for Cloud.

2026 changes worth knowing. Ownership of the platform landing zone accelerator moved to the Azure Migrate product team — this affects the accelerator assets only, not the CAF guidance itself. AI is treated as just another workload deployed into application landing zones, governed by the existing architecture and design areas. Azure Verified Modules (AVM) are now the recommended reusable building blocks for Bicep/Terraform.

6.3 Choosing Azure compute — the decision that matters most

DIAGRAM 14
flowchart TD S{"What are you deploying?"} --> Q1{"Short, event-triggered<br/>work?"} Q1 -->|Yes| FN["Azure Functions<br/>scale to zero · per-execution billing"] Q1 -->|No| Q2{"Need full Kubernetes API,<br/>GPUs, or custom operators?"} Q2 -->|Yes| AKS["AKS<br/>or AKS Automatic"] Q2 -->|No| Q3{"Containerised microservices<br/>or background jobs?"} Q3 -->|Yes| ACA["Azure Container Apps<br/>KEDA · Dapr · Envoy"] Q3 -->|No| APP["App Service<br/>classic web apps"]

Container Apps suits microservices, APIs, event-driven processing, and background jobs where you want automatic scaling including scale-to-zero, built-in Dapr support, and managed ingress without maintaining node pools, RBAC, or a Kubernetes control plane. Under the hood ACA runs on Microsoft-managed AKS with KEDA for event-driven autoscaling, Envoy for ingress and traffic splitting, and optional Dapr — and it carries a 99.95% SLA, so choosing AKS purely for the perception of being "production-ready" adds overhead with no benefit.

Cost inflection. For small workloads Container Apps is typically cheaper; at large scale with high sustained utilisation, AKS node VMs become more cost-efficient than per-second billing.

AKS in 2026. Evaluate AKS Automatic before assuming you need the manual control of AKS Standard — it significantly reduces day-two operational overhead while preserving full Kubernetes API compatibility.

6.4 Hub-and-Spoke Networking

What it is. A central hub VNet holds shared services (firewall, gateways, Bastion, private DNS); spoke VNets hold workloads and peer to the hub. All egress and inter-spoke traffic routes through the hub for inspection.

Why it's near-universal. It centralises security inspection and connectivity cost while keeping workload isolation. It is the network topology assumed by the landing zone accelerator.

6.5 Deployment Stamp (Cell) Pattern

What it is. Deploy the entire workload as a repeatable "stamp"; scale by adding stamps rather than growing one. Each stamp serves a tenant subset or region.

Why it's the SaaS backbone. It delivers global scale, regional data residency, and fault isolation, and pairs with per-tenant metering for billing and cost attribution. A noisy neighbour or bad deploy is contained to one stamp.

Azure fit. Azure Front Door / Traffic Manager for routing, Bicep modules for the stamp definition, and a tenant→stamp mapping catalogue.

6.6 Common Azure workload archetypes

Archetype Shape Key services
Web app + database The 80% case App Service, Azure SQL, Front Door, Key Vault
Event-driven microservices Async, scale-to-zero Container Apps + Dapr, Service Bus, Cosmos DB
Serverless API Spiky, low idle cost Functions (Flex Consumption), APIM, Cosmos DB
Modern data platform Unified analytics Fabric (OneLake, Lakehouse, Warehouse, Power BI)
AI application RAG or agentic Azure OpenAI, AI Search, Container Apps, APIM gateway
Enterprise integration Legacy + SaaS Logic Apps, Service Bus, APIM, Data Factory
Multi-tenant SaaS Stamped, metered Stamps, Front Door, per-tenant AAD B2C/Entra External ID

6.7 Multi-region patterns

Pattern RTO/RPO Cost Notes
Active-passive (cold) Hours Lowest Redeploy from IaC on failure
Active-passive (warm) Minutes Medium Scaled-down standby, data replicating
Active-active Near zero Highest Requires conflict resolution and global data strategy

Azure fit. Availability Zones first (cheap, big reliability win), then paired regions. Cosmos DB multi-region write and Azure SQL failover groups are the usual data-layer enablers.


7

Family F — AI / LLM-Era Architecture

The newest family, and the one moving fastest. These patterns barely existed in 2022 and are now standard enterprise architecture.

DIAGRAM 15
flowchart LR A["Prompt only<br/>stateless call"] --> B["RAG<br/>grounded in your data"] B --> C["Tool use<br/>model calls functions"] C --> D["Agentic<br/>plan · act · observe · loop"] D --> E["Multi-agent<br/>specialised agents, orchestrated"] C --> F["MCP<br/>standard tool protocol"] E --> G["A2A<br/>agent-to-agent protocol"]

7.1 RAG (Retrieval-Augmented Generation)

What it is. Retrieve relevant context from your own data at query time and inject it into the prompt, so the model answers from grounded facts rather than parametric memory.

DIAGRAM 16
flowchart LR Q["User question"] --> EMB["Embed query"] EMB --> VS["Vector / hybrid search"] DOC["Documents"] --> CH["Chunk"] --> EM2["Embed"] --> IDX[("Index")] IDX --> VS VS --> RR["Re-rank"] RR --> CTX["Assemble context"] CTX --> LLM["LLM"] LLM --> ANS["Grounded answer<br/>+ citations"]

Core mechanic. RAG grounds models in private or real-time data without retraining — solving both the knowledge-cutoff and hallucination problems by injecting external knowledge.

Pros Cons
No fine-tuning; update the index, not the model Retrieval quality is now your accuracy ceiling
Citations make answers auditable Chunking strategy has outsized impact and is fiddly
Cheap to keep current Latency: embed + search + generate
Access control can be applied at retrieval Context window limits force ranking decisions

Where teams get it wrong. Naïve fixed-size chunking, pure vector search without keyword hybrid, and no re-ranking. Hybrid (BM25 + vector) with a re-ranker typically beats pure semantic search by a wide margin.

Azure fit. Azure AI Search (hybrid + semantic re-ranking, integrated vectorisation), Azure OpenAI embeddings, pgvector on PostgreSQL Flexible Server, or Cosmos DB vector search. In .NET: Microsoft.Extensions.AI for provider abstraction, Semantic Kernel or Kernel Memory for orchestration.

Variants: Agentic RAG (the model decides when and what to retrieve, iteratively), GraphRAG (retrieval over a knowledge graph for multi-hop questions), Contextual retrieval (prepend document context to each chunk before embedding).

7.2 Agentic Architecture

What it is. A model given tools, memory, and a goal, running a plan→act→observe loop until done — rather than producing one response and stopping.

The 2026 reality. Gartner projects 40% of enterprise applications will embed agents by end of 2026, up from under 5% in 2025. This has moved from experiment to production concern.

Pros Cons
Handles multi-step work no single prompt can Non-deterministic — same input, different path
Recovers from intermediate failure Cost and latency compound per step
Composes existing systems via tools Debugging requires full decision tracing
Human checkpoints can gate risky steps Runaway loops burn tokens and money

Non-negotiable production requirements: log every agent decision, tool call, and cost; support human approval checkpoints between steps; attribute cost per agent/user/workflow; define fallback and escalation on failure.

7.3 Multi-Agent Orchestration

What it is. Decompose work across specialised agents (researcher, coder, reviewer) coordinated by a pattern.

Pattern Shape When
Supervisor / hierarchical A lead agent delegates and is accountable Regulated environments — the safest default
Sequential pipeline Fixed hand-off chain Well-understood, stable workflows
Parallel fan-out Independent sub-tasks, merged Research, multi-source gathering
Peer collaboration Agents negotiate directly Rarely worth it — visibility collapses

Supervisor-worker and hierarchical patterns are generally safer for regulated enterprise environments, and hierarchical orchestration with explicit lead agents making accountable decisions materially reduces error rates versus free-form collaboration.

The warning. With a central orchestrator, a workflow can pause for human approval at the right step; with unmediated agent-to-agent negotiation, humans lose visibility and costs escalate when agents recursively call each other.

7.4 MCP (Model Context Protocol)

What it is. An open protocol standardising how models connect to tools, data sources, and APIs — turning bespoke per-integration code into reusable connectors. Introduced by Anthropic; now an industry standard.

Adoption. MCP has surpassed 97 million downloads, and alongside Google's A2A is now governed by the Linux Foundation's Agentic AI Foundation with 146 member organisations including Anthropic, Google, OpenAI, Microsoft, and AWS.

MCP vs A2A. MCP handles agent-to-tool connections; A2A handles agent-to-agent communication — they are complementary, not competing, and together form the plumbing of the agentic web.

.NET fit. The official C# MCP SDK (ModelContextProtocol NuGet) lets you expose an ASP.NET Core service as an MCP server, turning existing business APIs into agent-callable tools. This is rapidly becoming a standard integration surface — worth treating as a first-class API channel alongside REST.

7.5 Vector and Semantic Layers

Vector store — embeddings + ANN index (HNSW/IVF) for similarity search. Choose by whether you need filtering, hybrid search, and per-user security trimming, not by raw benchmark speed.

Semantic layer — a governed set of business definitions ("revenue", "active customer") that both BI and LLMs query, so the model can't invent its own definition of a metric. In the Microsoft stack this is the Power BI semantic model in Fabric, and it is increasingly the thing that makes text-to-SQL safe.

7.6 LLM Gateway

What it is. A reverse proxy in front of model providers handling routing, fallback, token-based rate limiting, cost attribution, caching, and prompt/response logging.

Why you need one. Without it, every application hard-codes a provider, nobody can attribute spend, and there's no central place to enforce content safety or swap models.

Azure fit. Azure API Management has purpose-built GenAI policies — token limit, token metric emission, and semantic caching — plus Azure OpenAI provisioned throughput and content filters. This is the standard enterprise pattern.

7.7 Guardrails, Evaluation, and AI Governance

Guardrails — input filtering (prompt injection, PII), output filtering (safety, groundedness), and structured-output enforcement.

Evaluation — the discipline that separates prototypes from production: golden datasets, groundedness/relevance scoring, regression suites run on every prompt change. Treat prompts like code: version them, test them, review them.

Governance. EU AI Act obligations (notably human-oversight requirements) are now a live design constraint for enterprises operating in Europe, and shape the checkpoint/approval design in §7.2.

Azure fit. Azure AI Content Safety, Azure AI Foundry evaluation SDK, Prompt Flow, and Purview for data governance over AI estates.

7.8 RAG vs Fine-Tuning vs Prompt Engineering

Prompt engineering RAG Fine-tuning
Changes Instructions Knowledge Behaviour/style
Freshness n/a Real-time Stale at training time
Cost Lowest Medium Highest
Best for Format, tone, task framing Facts the model can't know Consistent style, narrow task, token savings

Rule: exhaust prompt engineering, then RAG. Fine-tune only when you need behaviour change, not knowledge change.


8

Family G — Frontend Architecture

Rendering strategy and codebase decomposition are two separate decisions here.

8.1 Rendering strategies

DIAGRAM 17
flowchart TB A["MPA<br/>server renders every page"] --> B["SPA<br/>client renders everything"] B --> C["SSR<br/>server renders, client hydrates"] C --> D["SSG<br/>pre-rendered at build"] D --> E["ISR<br/>static + background regeneration"] C --> F["Islands<br/>static HTML, hydrate only widgets"] C --> G["RSC<br/>server components stream, no JS shipped"]
Strategy Ships JS First load SEO Best for
MPA Minimal Fast Excellent Content sites, admin tools
SPA All of it Slow Needs work Dashboards, behind-login apps
SSR Hydration bundle Fast Excellent Ecommerce, marketing + app hybrid
SSG Minimal Fastest Excellent Docs, blogs, marketing
ISR Minimal Fastest Excellent Large catalogues that change slowly
Islands Only interactive bits Very fast Excellent Content-heavy with sprinkles of interactivity
RSC Only client components Fast Excellent Data-heavy React apps

The 2026 reality check. Despite the discourse, adoption is conservative: SPAs still lead at 84%, followed by SSR at 61% and SSG at 44%, while partial hydration (25%), streaming SSR (18%), and islands (14%) are gaining but far from mainstream — the pragmatic move is to adopt RSC incrementally rather than treating it as a mandate to rewrite.

How to choose. The four patterns solve four different problems: React Server Components address rendering cost, islands address hydration cost, micro-frontends address organisational cost, and monorepos address build cost. Pick the one matching the cost you actually have.

.NET fit. Blazor covers most of this spectrum in one framework: Blazor Server (stateful SignalR), Blazor WebAssembly (SPA), and Blazor Web App with per-component render modes (SSR + selective interactivity — effectively islands for .NET). Razor Pages remains an excellent MPA choice.

8.2 Micro-Frontends

What it is. Extend microservice thinking to the UI: each team owns a vertical slice from database to UI component, deployed independently and composed at runtime or build time.

Pros Cons
Independent team deploys; no release coordination Routing, shared state, and consistent styling all get harder
Incremental migration of legacy UIs Bundle duplication hurts performance without care
Framework heterogeneity possible Design-system drift between teams

Composition approaches: Module Federation (most common), Web Components / custom elements with Shadow DOM (framework-agnostic, but complicates theming and SSR hydration), server-side composition / Astro Server Islands, and iframes (still useful for third-party or legacy embedding, rarely a primary strategy).

By 2026 micro-frontends have matured from experimental to a mainstream option supported by Module Federation, single-spa, Piral, and Native Federation — but the complexity in routing, shared state, styling, and performance is real, so knowing when to adopt matters as much as how.

Use when: many teams blocked by a single frontend release train. Avoid when: one or two teams — you're buying organisational medicine for a problem you don't have.

8.3 BFF for the frontend

Covered in §4.7 — but worth restating here: a BFF per client type is usually the single highest-value frontend architecture decision, because it moves aggregation and shaping off the client and out of the shared API.

8.4 JAMstack

What it is. Pre-rendered markup on a CDN, with dynamic behaviour via JavaScript calling APIs. Largely absorbed into "SSG/ISR + serverless functions" as a default rather than a named movement.

Azure fit. Azure Static Web Apps (static hosting + managed Functions API + auth) is a direct implementation.


9

Family H — Cross-Cutting Architecture

These aren't alternatives to anything above — they apply across whatever you chose.

9.1 Multi-Tenancy

The core decision: how tenant data is isolated. This is one of the most expensive choices to reverse.

DIAGRAM 18
flowchart TB A["Shared everything<br/>TenantId column"] --> B["Schema per tenant"] B --> C["Database per tenant"] C --> D["Stamp per tenant<br/>full isolation"] A -.->|"cost per tenant rises →"| D D -.->|"← isolation and blast-radius control rises"| A
Model Isolation Cost/tenant Noisy neighbour Best for
Shared schema (TenantId) Logical only Lowest High risk Many small tenants, SMB SaaS
Schema per tenant Moderate Low-medium Medium Mid-market, per-tenant customisation
Database per tenant Strong High Low Enterprise, compliance, per-tenant restore
Stamp per tenant Complete Highest None Regulated, data residency, top-tier

The 2026 consensus is hybrid. Standard-tier users share pooled infrastructure while enterprise clients with compliance requirements or heavy workloads get isolated environments — letting a business serve both segments without committing to one architecture.

Non-negotiables regardless of model: - Tenant context resolved once, at the edge, and flowed explicitly — never inferred deep in the stack. - Query filters enforced globally (EF Core global query filters + an architecture test proving no DbSet is queried without one). - Per-tenant metering from day one — retrofitting cost attribution is miserable. - Noisy-neighbour controls: throttling, quotas, async offloading.

Azure fit. Azure SQL elastic pools (shared cost, isolated databases), Cosmos DB with tenant partition keys, Entra External ID for tenant identity, and Deployment Stamps (§6.5) at the top tier.

9.2 Zero Trust

What it is. A security architecture built on three principles: verify explicitly, use least-privilege access, and assume breach. The perimeter is not a trust boundary.

Architectural consequences: - No implicit trust from network position — a service in your VNet still authenticates. - Managed identities everywhere; no connection strings or secrets in config. - Private endpoints and no public data-plane exposure by default. - Micro-segmentation: NSGs, firewall rules, and per-service identity. - Continuous verification and full audit logging.

Azure fit. Entra ID + Conditional Access, Managed Identity, Key Vault, Private Link, Defender for Cloud, and Azure Policy to enforce the above as guardrails in the landing zone rather than per-workload discipline.

9.3 Resiliency Patterns

Pattern Problem it solves .NET implementation
Retry with backoff + jitter Transient faults Microsoft.Extensions.Resilience / Polly
Circuit breaker Hammering a failing dependency Polly
Timeout Unbounded waits HttpClient timeout + Polly
Bulkhead One dependency exhausting all threads Polly bulkhead isolation
Fallback / graceful degradation Partial outage Polly fallback, cached responses
Rate limiting Overload and abuse System.Threading.RateLimiting middleware
Idempotency Duplicate delivery Inbox pattern, idempotency keys
Health checks Orchestrator awareness AddHealthChecks() liveness/readiness

The default in modern .NET: AddStandardResilienceHandler() on an HttpClient gives you retry, circuit breaker, timeout, and rate limiting in one line — and .NET Aspire wires this up by convention.

9.4 Observability

Not the same as monitoring. Monitoring tells you that something broke; observability lets you ask why without shipping new code.

The three signals plus one: - Logs — structured, correlated by trace ID. - Metrics — aggregates, cheap, alertable (RED: rate/errors/duration; USE: utilisation/saturation/errors). - Traces — the request's path across services. Non-negotiable in distributed systems. - Profiles — continuous CPU/memory profiling, increasingly standard.

.NET fit. OpenTelemetry is the standard: System.Diagnostics.Activity for traces, System.Diagnostics.Metrics for metrics, exported to Azure Monitor / Application Insights or any OTLP backend. .NET Aspire gives you distributed tracing and a live dashboard by default — which is a genuine argument for adopting it even on a monolith.

9.5 Architecture Fitness Functions

What they are. Automated tests that assert architectural rules, run in CI. Documentation doesn't enforce architecture; tests do.

.NET fit. NetArchTest.Rules (fluent, lightweight) and ArchUnitNET (more expressive, supports declared architecture models). Typical assertions: the domain project depends on nothing; the application layer never references infrastructure; entities have no public setters; modules don't reference each other's internals.

Why they matter most in modular monoliths. Without them, module boundaries erode one shortcut at a time until you have a big ball of mud with folders. Add them on day one, not day 400.

9.6 Deployment and Release Architecture

Pattern What it does
Blue-green Two identical environments, switch traffic instantly, roll back instantly
Canary Route a small traffic percentage to the new version, ramp on health
Feature flags Decouple deploy from release; enable per tenant/user
Expand-contract migration Schema changes in 3 phases so old and new code coexist
GitOps / IaC Environment defined declaratively; drift is detectable

Azure fit. App Service deployment slots, Container Apps revisions with traffic splitting, Azure App Configuration feature flags, Bicep/Terraform with Azure Verified Modules.

9.7 Domain-Driven Design (as an architectural input)

DDD isn't an architecture — it's the method that tells you where the boundaries are. Its strategic patterns feed directly into Family B decisions:

  • Bounded Context → a module or service boundary. This is the single most useful concept in the whole catalogue.
  • Ubiquitous Language → the naming inside that boundary.
  • Context Map → how contexts relate (partnership, customer-supplier, conformist, anti-corruption layer).
  • Aggregate → the transactional consistency boundary. Get this wrong and no layering saves you.

The practical link: a bounded context is the unit of extraction. If your modular monolith's modules map to bounded contexts, extracting one into a service later is a refactor. If they don't, it's a rewrite.


10

The 2026 State of Play

Five shifts that actually changed how systems get built, with the evidence behind them.

10.1 The microservices correction is real and measurable

A joint CNCF/SlashData survey in early 2026 found satisfaction with microservices architecture had dropped 19 percentage points compared to 2024, and 42% of organisations that adopted microservices have consolidated services back into larger deployable units, with service mesh adoption falling from 18% to 8% between Q3 2023 and Q3 2025 — cost, not scalability, is now the dominant architectural constraint.

This is not a wholesale rejection of distributed systems: the guidance is to default to a modular monolith with strong internal boundaries from day one, and add separate services only when concrete pressure justifies the cost.

What to actually do: default to modular monolith; extract a service when you can name the specific pressure (independent scaling profile, independent release cadence, team autonomy at real scale, or a genuine technology mismatch).

10.2 The platform layer got opinionated (.NET Aspire)

.NET Aspire shipped with .NET 9 and matured significantly in .NET 10 — an opinionated, batteries-included stack for cloud-native distributed .NET apps providing service discovery, health checks, distributed tracing, a live developer dashboard, and consistent connection management in one place. Aspire 13 on .NET 10 is the current stable line, and aspire init can add orchestration to existing solutions incrementally.

Critically, it has become a primary tool for building modular monoliths, with each module getting its own resource definition in the AppHost and logical service names via service discovery — so if you later split a module out, the wiring already assumes it.

The mental model correction: Aspire is a development and orchestration stack, not a deployment platform or a cloud.

10.3 Agents became an architectural concern, not a feature

Gartner projects 40% of enterprise apps will embed agents by end of 2026, up from under 5% in 2025, and MCP and A2A are now governed by the Linux Foundation's Agentic AI Foundation with 146 members including Anthropic, Google, OpenAI, Microsoft, and AWS.

What this means for architects: an MCP server is becoming a standard integration surface alongside REST and events. Token cost, approval checkpoints, and decision tracing are now architectural requirements with the same status as latency budgets and audit logs.

10.4 The data platform consolidated

Fabric collapsed lake, warehouse, streaming, and BI into one SaaS surface over OneLake with Delta as the common format — reducing the number of distinct architectures a team must operate. Medallion is the default organising pattern inside it; data mesh domains sit above it for organisational scale.

10.5 "Boring technology" became a defensible position

McKinsey observed that complexity introduced by modern architectures often outpaces the organisation's ability to manage it, leading to higher operational costs without commensurate productivity gains — with renewed interest in modular monoliths as a response to microservices sprawl.

The strongest architectural argument you can make in 2026 is usually "we don't need that yet, and here's the trigger that would change my mind."


11

Selection Guide

11.1 Decomposition decision

DIAGRAM 19
flowchart TD S{"How many teams<br/>work on this?"} --> A{"1-3 teams"} S --> B{"4-10 teams"} S --> C{"10+ teams"} A --> A1["Modular Monolith<br/>extract nothing yet"] B --> B1{"Do parts have genuinely<br/>different scaling profiles<br/>or release cadences?"} B1 -->|No| A1 B1 -->|Yes| B2["Modular Monolith<br/>+ selective extraction"] C --> C1{"Is there platform<br/>engineering support?"} C1 -->|No| B2 C1 -->|Yes| C2["Microservices<br/>with a real platform"]

11.2 Quick-reference matrix

If your dominant constraint is… Reach for
Complex business rules Onion / Clean + DDD aggregates
Feature churn and delivery speed Vertical Slice
Team autonomy at scale Microservices (only with platform support)
Operational simplicity and cost Modular Monolith
Read/write asymmetry CQRS (start at level 1)
Audit and history Event Sourcing
Cross-service consistency Saga + Outbox
Spiky, event-shaped load Serverless / Functions + Container Apps
Millions of stateful entities Actor model (Orleans)
Legacy replacement Strangler Fig + ACL
Analytics on operational data Lakehouse + Medallion + CDC
Enterprise data ownership sprawl Data Mesh (organisational change first)
Grounding an LLM in your data RAG (hybrid retrieval + re-ranking)
Multi-step AI automation Agentic with supervisor orchestration + checkpoints
Many tenants, mixed compliance needs Hybrid multi-tenancy + Deployment Stamps
Frontend release-train contention Micro-frontends
First-load performance Islands / RSC / SSG

11.3 Anti-patterns to name out loud

Anti-pattern Symptom
Distributed monolith Services that must be deployed together; a change touches five repos
Anemic domain model Rich layering around entities that are property bags
Big ball of mud No enforced boundaries; everything imports everything
Resume-driven development The architecture matches the conference talk, not the problem
Data swamp A lake nobody can find anything in
Golden hammer Every problem is microservices / every problem is an agent
Premature distribution Network calls between components one team owns
Shared database across services Independent deploys that break each other at the schema

12

Sources

Application & code-level - Fowler — Patterns of Enterprise Application Architecture (2002); AnemicDomainModel (2003) - Cockburn — Hexagonal Architecture / Ports and Adapters (2005) - Palermo — The Onion Architecture, parts 1–4 (2008–2012) - Martin — Clean Architecture (2012 post, 2017 book) - Bogard — Vertical Slice Architecture (2018) - Evans — Domain-Driven Design (2003); Vernon — Implementing DDD (2013) - Richards & Ford — Fundamentals of Software Architecture (2nd ed.)

Distributed & 2026 trend data - CNCF/SlashData 2026 survey data on microservices satisfaction and consolidation - Amazon Prime Video Video Quality Analysis — monolith migration cost reduction - devx.com, byteiota, Java Code Geeks, enqcode — 2026 modular monolith analyses - Microsoft Learn — Choose a compute option for microservices (Azure Architecture Center)

Azure - Microsoft Learn — Azure Well-Architected Framework pillars - Microsoft Learn — What is an Azure landing zone? and Cloud Adoption Framework: What's New - Microsoft Learn — Multitenant SaaS patterns (Azure SQL) - Azure Container Apps vs AKS 2026 comparisons (comviva, cloudwebschool, developersvoice, conceptualise)

Data - Microsoft Learn — Implement medallion lakehouse architecture in Fabric; Lakehouse end-to-end scenario - Dehghani — Data Mesh (2019/2022) - Fabric 2026 guides (dattasable, insight42, datakrypton)

AI / agentic - Anthropic — Model Context Protocol; Google — A2A; Linux Foundation Agentic AI Foundation - 2026 agentic architecture analyses (innoflexion, aetherlink, makitsol, skillancy) - Gartner projections on enterprise agent adoption

Frontend - Telerik — What's Next for React in 2026 (rendering-pattern adoption data) - Netguru — Front end technologies 2026 - LogRocket — Server Components vs Islands Architecture - buildifyer — Micro-Frontends 2026


Compiled August 2026. Cloud services and framework versions change frequently — verify Azure service capabilities and .NET/Aspire version details against current Microsoft documentation before committing to a design.