Durable Functions is an Azure Functions extension for building long-running, stateful function orchestrations in code using C# in a serverless environment.
This is an early iteration of Durable Functions and does not yet have the quality of a proper public preview. The current bits should be considered "evaluation" quality intended primarily to gather early feedback. Bugs, performance issues, poor monitoring, and breaking changes should be expected until it gets into a "Beta" status. That said, if you run into issues or have ideas for improvements, now is a great time to provide feedback in the GitHub issues list.
Are you new to Durable Functions? If so, this is the place to start.
Samples / Walkthroughs
Here are some samples you can study and/or reference. These will help you 1) learn how to write Durable Functions by example and 2) learn the various capabilities of Durable Functions.
- Function Chaining - Hello Sequence
- Fan-out/Fan-in - Cloud Backup
- Stateful Singleton - Counter
- Human Interaction & Timeouts - Phone Verification
Also, you can download all the samples as a single function app, which you can download from one of these two links:
Using one of the sample projects is a great way to get up and running quickly and is the recommended way to get started. See the sample / walkthrough links above for specific instructions.
Here you will find comprehensive documentation with examples on all of the feature areas. It's highly recommended that you read through all of these topics before coding.
- Checkpointing & Replay
- Instance Management
- Error Handling & Compensation
- Durable Timers
- External Events
- Eternal Orchestrations
- Performance & Scale
API reference for the attributes and bindings provided by Durable Functions.
You can browse all of our public APIs here.