Milan Jovanović
Read post

Building Dapr Workflows in .NET With Aspire

Dapr Workflow lets you write long-running business processes as plain C# code that survives crashes and restarts by recording every step to a state store. This walkthrough builds an order processing workflow with four activities (inventory check, payment, stock update, customer notification), wires it up with .NET Aspire for one-command local orchestration using Valkey as the actor-backed state store, and adds the Diagrid Dev Dashboard to inspect workflow instance state and execution history. Key rules covered include keeping workflow code deterministic, using activities for all side effects, pinning the Valkey password so the Dapr component YAML stays consistent, and setting actorStateStore: true in the component config.

    #c##workflow-orchestration
Jun 12•10m read time•From milanjovanovic.tech
Post cover image
Table of contents
What Dapr Workflow Actually IsBuilding the WorkflowStarting Workflows Over HTTPRunning Everything With AspireInspecting Workflow State LocallySummary
5.1K Impressions1 Comment
Milan Jovanović's image
Milan Jovanović

MilanJovanovic's platform covers topics related to software development, technology trends, and cod...

722 Followers

•

2.9K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard