durable-task-dotnet

Implement durable .NET workflows with the Durable Task SDK.

60|28|Updated Mar 13, 2025
One-click install
npx skills add https://github.com/Azure-Samples/Durable-Task-Scheduler --skill durable-task-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: durable-task-dotnet
Source: https://github.com/Azure-Samples/Durable-Task-Scheduler/tree/main/.github/skills/durable-task-dotnet
Command: npx skills add https://github.com/Azure-Samples/Durable-Task-Scheduler --skill durable-task-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to implement durable, stateful workflows in .NET applications using the Durable Task SDK with Azure Durable Task Scheduler, providing reliable orchestration across distributed components.

Core Features & Use Cases

  • Orchestrations & Activities: Define and execute long-running workflows with deterministic replay.
  • Durable Entities & Patterns: Implement entities, sub-orchestrations, function chaining, fan-out/fan-in, and human interaction patterns.
  • Cloud & On-Prem Deployments: Run across Azure, containers, or on-prem environments connected to a DTS scheduler.

Quick Start

Set up a .NET project, add the required Durable Task packages, configure a Scheduler connection string, and run a worker to load generated tasks. Use the examples in the references folder as a starting point to implement your first orchestration and activity.

Frequently Asked Questions about durable-task-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build durable, fault-tolerant workflows in .NET?

You implement durable .NET workflows using the Durable Task SDK to define orchestrations and activities with deterministic replay, ensuring reliable execution across distributed components connected to a scheduler.

What workflow patterns can I implement with the Durable Task SDK in .NET?

The Durable Task SDK supports workflow patterns including function chaining, fan-out, fan-in, human interaction, sub-orchestrations, and durable entities for stateful application logic.

Can I run durable .NET orchestrations in on-prem environments?

Yes, durable .NET orchestrations run across cloud, container, or on-prem environments as long as they can connect to a Durable Task Scheduler compatible endpoint.

What do I need to set up before implementing durable task orchestrations in .NET?

You need a .NET project configured with the required Durable Task SDK packages, a DTS-compatible scheduler connection string, and a worker to load generated tasks and sample patterns.

How do durable entities differ from standard orchestrations in .NET workflows?

Durable entities provide stateful application logic storage, while orchestrations manage the workflow execution sequence, enabling patterns like function chaining and fan-out fan-in.