Microsoft.Azure.DurableTask.AzureStorage
2.0.1
Prefix Reserved
dotnet add package Microsoft.Azure.DurableTask.AzureStorage --version 2.0.1
NuGet\Install-Package Microsoft.Azure.DurableTask.AzureStorage -Version 2.0.1
<PackageReference Include="Microsoft.Azure.DurableTask.AzureStorage" Version="2.0.1" />
paket add Microsoft.Azure.DurableTask.AzureStorage --version 2.0.1
#r "nuget: Microsoft.Azure.DurableTask.AzureStorage, 2.0.1"
// Install Microsoft.Azure.DurableTask.AzureStorage as a Cake Addin #addin nuget:?package=Microsoft.Azure.DurableTask.AzureStorage&version=2.0.1 // Install Microsoft.Azure.DurableTask.AzureStorage as a Cake Tool #tool nuget:?package=Microsoft.Azure.DurableTask.AzureStorage&version=2.0.1
Durable Task Framework
The Durable Task Framework (DTFx) is a library that allows users to write long running persistent workflows (referred to as orchestrations) in C# using simple async/await coding constructs. It is used heavily within various teams at Microsoft to reliably orchestrate long running provisioning, monitoring, and management operations. The orchestrations scale out linearly by simply adding more worker machines. This framework is also used to power the serverless Durable Functions extension of Azure Functions.
By open sourcing this project we hope to give the community a very cost-effective alternative to heavy duty workflow systems. We also hope to build an ecosystem of providers and activities around this simple yet incredibly powerful framework.
This project has adopted the Microsoft Open Source Code of Conduct.
For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Supported persistance stores
Starting in v2.x, the Durable Task Framework supports an extensible set of backend persistence stores. Each store can be enabled using a different NuGet package. The latest version of all packages are signed and available for download at nuget.org.
Package | Latest Version | Details | Development Status |
---|---|---|---|
DurableTask.ServiceBus | Orchestration message and runtime state is stored in Service Bus queues while tracking state is stored in Azure Storage. The strength of this provider is its maturity and transactional consistency. However, it is no longer in active development at Microsoft. | Production ready but not actively maintained | |
DurableTask.AzureStorage | All orchestration state is stored in Azure Storage queues, tables, and blobs. The strength of this provider is the minimal service dependencies, high efficiency, and rich feature-set. This backend is available for Durable Functions. | Production ready and actively maintained | |
DurableTask.AzureServiceFabric | All orchestration state is stored in Azure Service Fabric Reliable Collections. This is an ideal choice if you are hosting your application in Azure Service Fabric and don't want to take on external dependencies for storing state. | Production ready and actively maintained | |
DurableTask.Netherite | An ultra-high performance backend developed by Microsoft Research where state is stored in Azure Event Hubs and Azure Page Blobs using FASTER database technology from Microsoft Research. This backend is available for Durable Functions. 👉 GitHub Repo | Production ready and actively maintained | |
DurableTask.SqlServer | All orchestration state is stored in a Microsoft SQL Server or Azure SQL database with indexed tables and stored procedures for direct interaction. This backend is available for Durable Functions. 👉 GitHub Repo | Production ready and actively maintained | |
DurableTask.Emulator | This is an in-memory store intended for testing purposes only. It is not designed or recommended for any production workloads. | Not actively maintained |
The core programming model for the Durable Task Framework is contained in the DurableTask.Core package, which is also under active development.
Learning more
There are several places where you can learn more about this framework. Note that some are external and not owned by Microsoft:
- This repo's wiki, which contains more details about the framework and how it can be used.
- The following blog series contains useful information: https://abhikmitra.github.io/blog/durable-task/
- Several useful samples are available here: https://github.com/kaushiksk/durabletask-samples
- You can watch a video with some of the original maintainers in Building Workflows with the Durable Task Framework.
- In some cases, the Azure Durable Functions documentation can actually be useful in learning things about the underlying framework, although not everything will apply.
Development Notes
To run unit tests, you must specify your Service Bus connection string for the tests to use. You can do this via the ServiceBusConnectionString app.config value in the test project, or by defining a DurableTaskTestServiceBusConnectionString environment variable. The benefit of the environment variable is that no temporary source changes are required.
Unit tests also require Azure Storage Emulator, so make sure it's installed and running.
Note: While it's possible to use in tests a real Azure Storage account it is not recommended to do so because many tests will fail with a 409 Conflict error. This is because tests delete and quickly recreate the same storage tables, and Azure Storage doesn't do well in these conditions. If you really want to change Azure Storage connection string you can do so via the StorageConnectionString app.config value in the test project, or by defining a DurableTaskTestStorageConnectionString environment variable.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Azure.Core (>= 1.41.0)
- Azure.Data.Tables (>= 12.8.3)
- Azure.Storage.Blobs (>= 12.20.0)
- Azure.Storage.Queues (>= 12.18.0)
- Microsoft.Azure.DurableTask.Core (>= 3.0.0)
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0)
- System.Linq.Async (>= 6.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Microsoft.Azure.DurableTask.AzureStorage:
Package | Downloads |
---|---|
Microsoft.Azure.WebJobs.Extensions.DurableTask
Azure WebJobs SDK Extension for the Durable Task Framework |
|
NeuroSpeech.Workflows
Package Description |
|
LLL.DurableTask.AzureStorage
Extends Durable Task Azure Storage |
|
ZettaVision.DurableTask
Forked version of Microsoft.Azure.WebJobs.Extensions.DurableTask should simular to version 2.5 when it is released. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Microsoft.Azure.DurableTask.AzureStorage:
Repository | Stars |
---|---|
Azure/durabletask
Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
|
|
Azure/azure-functions-durable-extension
Durable Task Framework extension for Azure Functions
|
Version | Downloads | Last updated |
---|---|---|
2.0.1 | 1,673 | 10/16/2024 |
2.0.0 | 22,043 | 7/24/2024 |
2.0.0-rc.3 | 580 | 6/14/2024 |
2.0.0-rc.2 | 12,377 | 6/4/2024 |
2.0.0-rc | 48,900 | 12/4/2023 |
1.17.5 | 115,464 | 9/16/2024 |
1.17.4 | 225,935 | 7/22/2024 |
1.17.3 | 556,640 | 5/29/2024 |
1.17.2 | 146,761 | 5/14/2024 |
1.17.1 | 1,029,267 | 1/25/2024 |
1.17.0 | 841,869 | 11/14/2023 |
1.17.0-preview.2 | 16,099 | 10/20/2023 |
1.16.0 | 367,879 | 10/17/2023 |
1.15.0 | 290,912 | 8/29/2023 |
1.14.0 | 769,126 | 7/13/2023 |
1.13.8 | 865,096 | 6/19/2023 |
1.13.7 | 278,606 | 5/22/2023 |
1.13.6 | 336,574 | 4/19/2023 |
1.13.5 | 325,751 | 3/27/2023 |
1.13.4 | 718,846 | 2/1/2023 |
1.13.3 | 14,008 | 12/14/2022 |
1.13.2 | 989,943 | 11/22/2022 |
1.13.1 | 1,329,236 | 9/15/2022 |
1.13.0 | 281,379 | 8/25/2022 |
1.12.0 | 1,263,864 | 6/1/2022 |
1.11.1 | 397,505 | 5/10/2022 |
1.11.0 | 261,889 | 4/21/2022 |
1.10.1 | 1,136,679 | 2/1/2022 |
1.10.0 | 14,802 | 12/2/2021 |
1.9.4 | 989,941 | 11/3/2021 |
1.9.3 | 26,530 | 9/23/2021 |
1.9.2 | 2,978 | 9/13/2021 |
1.9.0 | 1,029,026 | 8/3/2021 |
1.8.9 | 2,131 | 7/22/2021 |
1.8.8 | 1,820 | 7/15/2021 |
1.8.7 | 4,963 | 6/11/2021 |
1.8.6 | 1,097,684 | 6/1/2021 |
1.8.5 | 650,972 | 3/18/2021 |
1.8.4 | 873,283 | 1/25/2021 |
1.8.3 | 525,592 | 11/23/2020 |
1.8.2 | 2,137 | 11/20/2020 |
1.8.1 | 603,636 | 10/2/2020 |
1.8.0 | 700,912 | 8/25/2020 |
1.7.7 | 72,708 | 6/6/2020 |
1.7.6 | 701,586 | 5/28/2020 |
1.7.5 | 527,671 | 4/10/2020 |
1.7.4 | 188,128 | 3/18/2020 |
1.7.2 | 53,632 | 1/31/2020 |
1.7.1 | 1,077,037 | 1/7/2020 |
1.7.0 | 119,422 | 12/20/2019 |
1.6.5 | 317,216 | 10/31/2019 |
1.6.4 | 14,503 | 9/18/2019 |
1.6.3 | 1,163,205 | 6/29/2019 |
1.6.2 | 2,488 | 6/19/2019 |
1.6.1 | 313,379 | 5/29/2019 |
1.6.0 | 133,635 | 4/28/2019 |
1.5.0 | 371,033 | 3/14/2019 |
1.4.2 | 290,715 | 1/14/2019 |
1.4.0 | 204,487 | 11/21/2018 |
1.3.2 | 110,623 | 11/15/2018 |
1.3.1 | 224,050 | 8/29/2018 |