Patterns
Reusable technique catalog. Cited by well-architected/ capability docs and by
service and system designs. Not a description of what is deployed — that’s what
well-architected/ and design/ are for.
Each pattern follows the same shape: Problem / Solution / When to use /
Consequences / References / Applied in.
Catalog
Persistence & consistency
| Pattern | Purpose |
|---|
| Idempotent Write | Safe retries against event store and downstream systems using deterministic keys — every write is replay-safe. |
| ECST | Event-Carried State Transfer — integration events carry the projection consumers need so subscribers don’t call back to the source of truth. |
| Dual Writes | Outbox / change-feed strategies for keeping an event store and an external system consistent without distributed transactions. |
| Schema Evolution | Versioning and upcasting rules for immutable event streams — additive-only, contract-tested. |
Messaging & async
| Pattern | Purpose |
|---|
| Async REST | 202 Accepted + correlation-ID + async-ack contract for HTTP writes into event-sourced services. |
| DLQ | Dead-letter handling for Service Bus topics — poison-message quarantine, replay tooling, alerting. |
| Service Bus Topic Throttling | Producer- and consumer-side throttling to stay under per-namespace and per-topic limits on the shared Service Bus. |
| EventHub Throttling | Partition-aware backpressure for the residual Event Hub integration boundary (Graph, Sentinel ingestion). |
Access, security & operations
| Pattern | Purpose |
|---|
| Auth / AuthZ | Capability-token model — user JWT stops at the BFF, service-to-service uses Managed Identity, capabilities carry scope + permissions + MFE access. |
| Private Data Store Access | Private-endpoint + Managed-Identity access to data stores; no public network exposure, no secrets. |
| Application Permissions Only | Workloads use application permissions or managed identity, never delegated Entra permissions; end-user sign-in is the only delegated use. One recorded exception. |
| Audit Logs | Immutable audit trail derived from domain events + platform activity — satisfies compliance retention and replay. |
| Feature Flags | Runtime toggles for gradual rollout, blue/green cutovers, and per-customer opt-in — sourced from Azure App Configuration. |
| Notifications | Fan-out of domain events to end-user channels (Teams, adaptive cards, email) via Pigeon, scoped by domain-event volume. |
UI
| Pattern | Purpose |
|---|
| UI Interaction | CQRS-at-the-edge with SignalR-scoped groups and a BFF Sidecar cache — optimistic UI + private failure semantics against an eventually consistent backend. |
| MFE UI Interaction | Shell owns single SignalR connection + lifecycle events only; MFEs own their own business subscriptions via own BFF — no cross-MFE coupling. |
How this maps
- Well-Architected capabilities cite these patterns as their preferred
techniques. See
../well-architected/.
- System and service designs implement one or more of these patterns and
declare so under an Applied in section. See
../design/.
- ADRs ratify the choice of pattern where a decision was contested. See
../decisions/.
If a technique appears in more than one system doc but is not listed here,
that’s a signal to promote it into this catalog.