Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.25 KB

Readme.md

File metadata and controls

34 lines (23 loc) · 1.25 KB

Let's Code MassTransit

Tasks

  • An Invoices feature that issues invoices when new Orders are placed
  • Make sure saving an order and OrderPlaced events are transactional ( use Outbox Pattern)
  • Prepare Emails for Orders and Invoices to be send (messages should be light-weight; use Claim Check Pattern)
  • Configure a message broker (e.g., RabbitMQ) for production

Optional Tasks

  • A Revenues feature that keeps track of total sale revenues
  • A Sales feature that has ownership of SKU prices
  • Write unit tests for Consumers using MassTransit's Test Harness

Advanced Task

  • Use the Saga Pattern to orchestrate the process from an order placed, invoice issued, to payment and shipping.
  • Orders might be canceled

Development

Run with development profile:

dotnet run --launch-profile dev-http --project WebShop.HttpApi