← Code Exchange

eShopOnContainers + Temporal.io Workflows

Experiment reimplementing the reference project eShopOnContainers order saga with Temporal.io workflows and activities, showing Temporal users how centralized orchestration compares to event choreography in a , end-to-end order pipeline.


⚠️ Community Contributed Project

This project was generously donated by one of our fabulous Temporal community members! We encourage you to check it out, but urge caution as Temporal does not formally support or endorse this project.

This repo is an experiment in reimplementing the classic eShopOnContainers order saga using Temporal.io workflows and activities on top of the modern .NET Aspire–based eShop.

Instead of integration events choreographing the saga, a single Temporal workflow now orchestrates the whole order lifecycle: creating the order, waiting out the grace period, checking stock (Catalog), charging the customer (Payment), and handling success/failure paths with compensation. All external calls are activities, so it’s a concrete example of wrapping existing microservices with Temporal without rewriting them.

It’s useful to Temporal users who want to:

  • Compare event choreography vs centralized orchestration on a realistic e-commerce flow.
  • See Temporal .NET SDK usage (workflows, activities, timers, signals) in a full end-to-end sample.
  • Run everything easily via a .NET Aspire host that also spins up a Temporal dev server.

The README includes screenshots of the eShop UI and Temporal Web UI (happy path, no stock, no money) so you can visually inspect workflow histories and failure scenarios.


Language

.NET
💖 Community .net

About the Author

22687672

Fernando Pinto

Senior Software Developer

Natixis