Upcoming webinar: Who Let the Agents Out? Your client_id Is Not An Identity | May 20|Register now
Diagrid

Build Dapr workflows in .NET with Aspire

Learn how to build a code-first, fault-tolerant Dapr Workflow application that runs with Aspire. In this hands-on track you'll scaffold a new Aspire solution, wire up Dapr Workflow, and use the Diagrid Dev Dashboard to inspect the workflow state as it runs locally.

What you'll build

The USS Enterprise Diagnostics application — a Dapr Workflow application that fans out to three subsystem activities in parallel, aggregates the results into a prioritized report, and conditionally notifies the bridge when the situation is urgent. Everything starts with a single aspire run.

In this self-paced course, you'll learn:

  • How Dapr and .NET Aspire complement each other when building distributed applications.
  • How to scaffold a new Aspire solution and add the NuGet packages required for Dapr Workflow.
  • How to define a Dapr Workflow that uses the fan-out / fan-in pattern, with multiple parallel activities and conditional follow-up.
  • How to configure Dapr state store components so workflow state is persisted across runs.
  • How to register Dapr Workflow as an Aspire resource alongside the API service and its Dapr sidecar.
  • How to trigger workflows via HTTP and inspect their state, execution history, and activity inputs/outputs in the Diagrid Dev Dashboard.

Supported languages: .NET

When you've registered to access learning content, click the View fullscreen button in the course player below.

Having trouble loading the course? Open in a new tab