DEV Community

Oleksandr Viktor
Oleksandr Viktor

Posted on

🚀 New workflow samples added to WJb Demo (Blazor WASM)

🚀 New workflow samples added to WJb Demo (Blazor WASM)

I've just expanded the WJb demo application with two new workflow-focused samples:

✅ Retry Workflow

  • Automatic retries with JobOptions
  • Retry delay configuration
  • Workflow continuation after successful retry
  • Demonstrates retry inheritance across chained actions

✅ Order Workflow

  • Multi-step business workflow
  • CreateOrder → ReserveStock → ChargePayment → SendConfirmation
  • Progress reporting across workflow steps
  • Action chaining via ActionResults.Next(...)
  • Payload propagation between actions

These samples were added while building a new WorkflowTests suite, which also helped uncover and fix several workflow engine issues, including:

  • Dead-letter infinite loop scenarios
  • Missing retry policy inheritance for chained actions

The result is a much stronger demonstration of how WJb can be used for real workflow orchestration rather than just background jobs.

🔗 Demo source:
https://github.com/UkrGuru/WJb.Demo/tree/main/samples/WJb.Demo.Wasm

dotnet #csharp #blazor #opensource #workflow #backgroundjobs #aspnetcore #softwarearchitecture #testing #wasm #wjb #ukrguru

Top comments (0)