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

Read the architecture guide →

ADR-BW-002: Retain the established .NET platform foundation

Use the repository's .NET and C# baseline and centralized dependency practices for application services.

November 7, 2026Proposed
FieldValue
StatusProposed
Date2026-11-07
OwnersArchitecture Enabling TeamTeamArchitecture Enabling TeamEnabling team facilitating BookWorm's architecture governance, ADRs, arc42 documentation, engineering standards, testing...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-003: Reuse Aspire and shared technical service defaultsDecision Recordv1.0.0ADR-BW-003: Reuse Aspire and shared technical service defaultsShare orchestration and technical host configuration without moving business rules into the platform foundation.Ownerplatform-engineering-teamOpen docs, ADR-BW-009: Use local CQRS handlers and the established MediatorDecision Recordv1.0.0ADR-BW-009: Use local CQRS handlers and the established MediatorReuse CQRS and Mediator.SourceGenerator for in-process request handling without treating local messages as service integ...Ownerarchitecture-enabling-teamOpen docs

Context & Problem Statement

BookWormDomainv1.0.0BookWormCore e-commerce domain for the BookWorm online bookstore, coordinating catalog discovery, customer baskets, order fulfil...Ownerarchitecture-enabling-teamDiagramRepositoryOpen docs‘s backend services share common tooling for hosting, resilience, observability, testing, and centralized package management. Allowing each service to adopt a different runtime or independently pin package versions would fragment operational tooling, duplicate integration effort, and complicate security patching.

Decision Drivers

  • Tooling reuse: Share proven runtime defaults across backend services.
  • Dependency hygiene: Prevent version drift and conflicting transitive packages.
  • Contributor onboarding: Provide one predictable build, lint, and test workflow.
  • Patch velocity: Apply security and runtime upgrades consistently across services.

Options Considered

OptionProsCons
Standardize on .NET baseline + central package managementConsistent setup, quality gates, and single-point security patchingServices cannot adopt a different runtime without an explicit exception
Per-service runtime choiceOptimal fit for niche workloadsMultiplies monitoring, CI, and security maintenance overhead
Migrate all services to a different runtimeAligns with an alternative ecosystemHigh rewrite cost with no direct customer or operational gain
Independent per-project package versioningIndividual services can upgrade dependencies earlyCauses version skew and subtle cross-service incompatibilities

Decision & Consequences

Chosen Option: Retain the established .NET and C# baseline with centralized package version management for all core backend services. Storefront microfrontends, external providers (such as Presidio APIServicev1.0.0Presidio APIExternal HTTP sidecar API for detecting PII in text and anonymizing detected entities in the Chat and Rating AI agent pi...SubscribesAnalyzeText, AnonymizeText +3APIsOpenAPIOwnerplatform-engineering-teamDiagramOpen docs), and specialized datastores remain free to use their native ecosystems.

  • Positive: Consistent quality gates, predictable onboarding, and coordinated security updates across services.
  • Negative: Major framework or shared-package upgrades require validation across all backend services.

Compliance Criteria

  • Backend application services must target the repository’s established .NET SDK baseline.
  • Package versions must be managed centrally rather than pinned in individual service project files.
  • Non-.NET runtimes are permitted only for specialized external containers or frontend applications.