Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

ADR-BW-003: Reuse Aspire and shared technical service defaults

Share orchestration and technical host configuration without moving business rules into the platform foundation.

November 7, 2026Proposed
FieldValue
StatusProposed
Date2026-11-07
OwnersPlatform Engineering TeamTeamPlatform Engineering TeamPlatform team providing BookWorm's thinnest viable platform—orchestration, messaging fabric, scheduling, notifications, ...Open docs
Affected ResourcesBookWormDomainv1.0.0BookWormCore e-commerce domain for the BookWorm online bookstore, coordinating catalog discovery, customer baskets, order fulfil...Ownerarchitecture-enabling-teamDiagramRepositoryOpen docs
Related ADRsADR-BW-002: Retain the established .NET platform foundationDecision Recordv1.0.0ADR-BW-002: Retain the established .NET platform foundationUse the repository's .NET and C# baseline and centralized dependency practices for application services.Ownerarchitecture-enabling-teamOpen docs, ADR-BW-013: Use shared structured logging and OpenTelemetryDecision Recordv1.0.0ADR-BW-013: Use shared structured logging and OpenTelemetryProduce correlated logs, traces, metrics, and configured health signals while keeping business completion separate from ...Ownerplatform-engineering-teamOpen docs, ADR-BW-015: Separate logical architecture from environment configurationDecision Recordv1.0.0ADR-BW-015: Separate logical architecture from environment configurationDocument configured dependencies and environment differences explicitly instead of inferring production infrastructure f...Ownerplatform-engineering-teamOpen docs

Context & Problem Statement

BookWorm’s services and microfrontends require consistent service discovery, health probes, rate limiting, resilience defaults, and telemetry wiring. Re-implementing this plumbing per service invites configuration drift, while centralizing domain logic in shared host defaults violates service ownership.

Decision Drivers

  • Operational consistency: Enforce uniform health, telemetry, and resilience baselines.
  • Reduced boilerplate: Eliminate repeated technical host configuration across services.
  • Boundary preservation: Keep shared defaults strictly technical and domain-agnostic.

Options Considered

OptionProsCons
Shared technical defaults + Aspire local orchestrationUniform discovery, telemetry, and resilience; services opt in to optional featuresShared-default defects can impact multiple services simultaneously
Per-service custom host setupZero shared-package couplingTelemetry, health probes, and rate limits drift over time
Centralized business-logic hostShared rules visible in one placeCouples unrelated domains and breaks bounded-context ownership
Treat local Aspire setup as productionSingle topology to maintainLocal emulators lack production durability, scaling, and security controls

Decision & Consequences

Chosen Option: Reuse Aspire orchestration and shared technical service defaults for discovery, OpenTelemetry, health checks, resilience, and rate limiting. Each service retains ownership of its domain behavior and may override technical defaults where justified.

  • Positive: New services inherit production-grade observability and resilience defaults immediately.
  • Negative: Changes to shared defaults require cross-service regression testing.

Compliance Criteria

  • Every backend service must register the shared service defaults for health checks and telemetry.
  • Shared defaults must remain free of domain entities, business rules, and capability-specific endpoints.
  • Local Aspire emulator settings must not be assumed identical to live Azure environment configuration.