eshop-full — projects reference

Twenty-one projects, one migration order: foundation, then domain, then workers, then frontends, then orchestration.

Every project below, in the order it's actually being built — not upstream's original list order. eShop.slnx/eShop.Web.slnf only ever list what exists on disk today, so dotnet build and CI never try to build a project that isn't real yet. See System Architecture for the same information as a layer diagram, and todo.md's "Still to do" table for the live flat list.

Foundation, done, then Domain APIs, done, then Background Workers, done, then Frontends, done, then Orchestration, done. Foundation Domain APIs Background Workers Frontends Orchestration
done in progress not started

Foundation — everything else depends on these

Done

Shared

Linked-source utilities, not a .csproj — compiled directly into consuming projects.

Done

EventBus

Transport-agnostic abstractions for publishing/consuming integration events.

Done

EventBusKafka

The only IEventBus implementation today — a 3-layer Decorator chain over Kafka, replacing an original RabbitMQ-backed implementation.

Done

eShop.ServiceDefaults

Aspire telemetry/health-check/resilience defaults, shared by every service via AddServiceDefaults().

Done

IntegrationEventLogEF

EF Core-backed transactional outbox — all 7 source files reviewed, several real fixes.

Domain APIs

Done

Identity.API

Duende IdentityServer — the OIDC provider for the whole system. Quickstart UI converted straight to a JSON API; 129 source files, 101 tests.

Done

Catalog.API

Product catalog — read-heavy, scales independently of everything else. Real v1/v2 API surface, AI embedding-based semantic search, pagination/filtering. 45 tests, including a real upstream validation bug (UpdateItemV1's id check is dead code — CatalogItem.Id is a non-nullable int) found and documented, not silently fixed.

Done

Basket.API

Redis-backed ephemeral cart state — pure gRPC, plus a genuinely new Grpc.AspNetCore.Web endpoint so WebApp/WebBFF can consume it directly. Two named Kestrel endpoints (HTTP/2 native gRPC, HTTP/1.1 gRPC-Web) since Kestrel can't multiplex both on one port without TLS — proved both failure modes directly before picking that fix.

Done

Ordering.Domain

Domain model — the "D" in a domain-driven design split across three projects. Two aggregates (Order, Buyer), 7 domain events, a shared SeedWork kit.

Done

Ordering.Infrastructure

EF Core persistence for the order aggregate — a real Repository layer here, unlike Catalog.API's deliberate no-repository call.

Done

Ordering.API

The order-placement API surface — MediatR CQRS with a 3-stage pipeline behavior chain (Logging → Validator → Transaction), the same Decorator shape EventBusKafka's split already established, just expressed through MediatR's own extension point. Pinned to MediatR 12.5.0 (13+ moved to a commercial license).

Done

Webhooks.API

Outbound webhook notifications for third-party integrations — confirmed textbook Observer pattern over HTTP. A real no-op upstream event handler and a dead exception class found and kept, documented rather than silently fixed.

Background workers & sample apps

Done

OrderProcessor

Queue-driven background worker reacting to order-lifecycle events.

Done

PaymentProcessor

Queue-driven background worker, payment-side of the order lifecycle.

Done

WebhookClient

Sample app demonstrating consuming Webhooks.API's outbound notifications — BFF-style backend (httpOnly session cookie, Server-Sent Events pushing live received-webhook updates to its paired React frontend).

Done

WebhookClient.WebApp

New project, not in upstream — React/Vite frontend for WebhookClient (upstream: Blazor Web App). Login, webhook registration, and the live-updating received-messages feed over SSE. 52 tests (Vitest + React Testing Library), full coverage from the first commit.

Frontends & orchestration

Done

WebApp

React storefront — deliberately not Blazor (upstream's choice). Full 5-page build, 101 tests. See Event Flow's judgment-call context.

Done

WebBFF

New project, not in upstream — Backend-for-Frontend using Duende.BFF, keeps OAuth tokens server-side instead of in browser JS. Live-smoke-tested.

Done

Identity.WebApp

New project, not in upstream — React frontend for Duende's Quickstart UI (Account/Consent/Device/Diagnostics/Grants), converted straight to a JSON API rather than added as Razor first. Hosted separately from Identity.API. All six areas built, wired into the router, and verified end-to-end with a real browser. A real Vite dev-proxy Host-header bug (breaking every Duende-triggered redirect: login, consent, logout) found and fixed along the way. Has its own frontend test suite now too — Vitest + React Testing Library.

Done

ClientApp

Native client — Avalonia UI (not MAUI), 4-project solution across Desktop/Android/Browser heads, verified running on all three.

Done

eShop.AppHost

The Aspire orchestrator — full resource graph (containers, all APIs/workers, 3 frontends) built and live-verified.

i

The migration is complete — all 21 projects are on disk and reviewed (including tests/ and build/ tooling), and every backend project that upstream ships tests for now has its own .UnitTests project: 514 .NET tests across 14 test projects, plus 271 frontend tests (118 Identity.WebApp, 52 WebhookClient.WebApp, 101 WebApp) with full coverage from the first commit, and the Playwright e2e suite (Add/Remove/Browse items) passing against a live Aspire host. See Testing Strategy.