durable-functions-dotnet

Orchestrate Azure Functions workflows using the Durable Task Scheduler.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Durable Functions enable developers to implement long-running, reliable workflows in Azure Functions by providing orchestration primitives, state management, and built-in failure handling via the Durable Task Scheduler backend.

Core Features & Use Cases

  • Orchestrations and Function Chaining: compose complex workflows from simple functions with deterministic execution and replay.
  • Fan-out/Fan-in, Sub-orchestrations, and Entities: scale out work, coordinate sub-workflows, and manage durable state across steps.
  • Async HTTP APIs and Monitors: build long-running HTTP endpoints and periodic status checks for resilient APIs and processes.
  • Real-world use cases include order processing pipelines, data ingestion and processing, human-in-the-loop approvals, and reliability-critical business workflows.

Quick Start

Create a new Azure Functions project with a .NET isolated worker, add the Durable Task extensions, wire up host.json for DTS, and implement a simple sample orchestration to verify end-to-end operation.

Frequently Asked Questions about durable-functions-dotnet

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

FAQPage Schema
How do I build reliable long-running workflows in Azure Functions?

Durable Functions implement long-running workflows in Azure Functions by providing orchestration primitives, state management, and built-in failure handling via the Durable Task Scheduler backend, enabling reliable task orchestration across cloud environments.

What is the best way to orchestrate function chaining and fan-out fan-in in .NET?

Durable Functions compose complex workflows from simple functions with deterministic execution and replay, enabling function chaining, fan-out/fan-in, sub-orchestrations, and durable state management across orchestration steps.

Does Durable Functions work with the .NET isolated worker model?

Yes, Durable Functions work with the .NET isolated worker, requiring Durable Task Extensions and access to a Durable Task Scheduler backend configured via host.json and local.settings.json.

Can I implement human-in-the-loop approval workflows using serverless orchestration?

Yes, Durable Functions support human-in-the-loop approvals, order processing pipelines, data ingestion, and reliability-critical business workflows by managing durable state across long-running orchestration steps.

How do I set up a Durable Task Scheduler backend for .NET Azure Functions?

Create a .NET isolated worker Azure Functions project, add Durable Task extensions, and wire up host.json and local.settings.json to connect to the Durable Task Scheduler backend for orchestration.

When should I not use Durable Functions for serverless workflow orchestration?

Durable Functions are designed for long-running, stateful processes like order processing and data pipelines; short-lived, stateless functions may not need orchestration primitives or the Durable Task Scheduler backend.