├── DurableFunctionsSample
├── Properties
│ ├── serviceDependencies.json
│ ├── serviceDependencies.local.json
│ ├── PublishProfiles
│ │ └── DurableFunctionsSampleTVA - Zip Deploy.pubxml
│ └── ServiceDependencies
│ │ └── DurableFunctionsSampleTVA - Zip Deploy
│ │ └── profile.arm.json
├── host.json
├── DurableFunctionsSample.csproj
├── OrchestrationSample.cs
└── .gitignore
├── .idea
└── .idea.DurableFunctionsSample
│ └── .idea
│ ├── encodings.xml
│ ├── vcs.xml
│ ├── projectSettingsUpdater.xml
│ ├── indexLayout.xml
│ ├── git_toolbox_prj.xml
│ └── workspace.xml
└── DurableFunctionsSample.sln
/DurableFunctionsSample/Properties/serviceDependencies.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "storage1": {
4 | "type": "storage",
5 | "connectionId": "AzureWebJobsStorage"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/DurableFunctionsSample/Properties/serviceDependencies.local.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "storage1": {
4 | "type": "storage.emulator",
5 | "connectionId": "AzureWebJobsStorage"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/.idea/.idea.DurableFunctionsSample/.idea/encodings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/.idea.DurableFunctionsSample/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/.idea.DurableFunctionsSample/.idea/projectSettingsUpdater.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/.idea.DurableFunctionsSample/.idea/indexLayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DurableFunctionsSample/host.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "2.0",
3 | "logging": {
4 | "applicationInsights": {
5 | "samplingExcludedTypes": "Request",
6 | "samplingSettings": {
7 | "isEnabled": true
8 | }
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/.idea/.idea.DurableFunctionsSample/.idea/git_toolbox_prj.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/DurableFunctionsSample/DurableFunctionsSample.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | net6.0
4 | v3
5 | 10
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | PreserveNewest
15 |
16 |
17 | PreserveNewest
18 | Never
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/DurableFunctionsSample/Properties/PublishProfiles/DurableFunctionsSampleTVA - Zip Deploy.pubxml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | ZipDeploy
8 | AzureWebSite
9 | Release
10 | Any CPU
11 | https://durablefunctionssampletva.azurewebsites.net
12 | False
13 | /subscriptions/1a938190-e8b8-4d96-8f61-f2606002a079/resourcegroups/learn-3c8ba177-e548-4063-99de-901a21d0eca9/providers/Microsoft.Web/sites/DurableFunctionsSampleTVA
14 | $DurableFunctionsSampleTVA
15 | <_SavePWD>True
16 | https://durablefunctionssampletva.scm.azurewebsites.net/
17 |
18 |
--------------------------------------------------------------------------------
/DurableFunctionsSample.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30611.23
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DurableFunctionsSample", "DurableFunctionsSample\DurableFunctionsSample.csproj", "{C83377DB-E03B-4D53-B80D-027AC56E66E0}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {C83377DB-E03B-4D53-B80D-027AC56E66E0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {C83377DB-E03B-4D53-B80D-027AC56E66E0}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {C83377DB-E03B-4D53-B80D-027AC56E66E0}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {C83377DB-E03B-4D53-B80D-027AC56E66E0}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {B88880CD-F516-4CD7-954D-1D324AF5344A}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/DurableFunctionsSample/OrchestrationSample.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.IO;
3 | using System.Linq;
4 | using System.Net;
5 | using System.Net.Http;
6 | using System.Threading.Tasks;
7 | using Microsoft.Azure.WebJobs;
8 | using Microsoft.Azure.WebJobs.Extensions.DurableTask;
9 | using Microsoft.Azure.WebJobs.Extensions.Http;
10 | using Microsoft.Extensions.Logging;
11 | using Microsoft.WindowsAzure.Storage.Blob;
12 |
13 | namespace DurableFunctionsSample
14 | {
15 | public static class OrchestrationSample
16 | {
17 | [FunctionName("OrchestrationSample")]
18 | public static async Task RunOrchestrator(
19 | [OrchestrationTrigger] IDurableOrchestrationContext context, ILogger log)
20 | {
21 | string endpoint = context.GetInput