Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Durable Functions Orchestration missing in Visual Studio 2017

Was trying to create a new Azure Durable Function in Visual Studio 2017, but couldnt find the "Durable Functions Orchestration" listed in the below popup:

enter image description here

My visual studio is up to date, and not sure what I am missing!!

like image 828
Karthik Avatar asked Feb 13 '19 22:02

Karthik


People also ask

How do you make a durable function in Visual Studio?

Add functions to the appRight-click the project in Visual Studio and select Add > New Azure Function. Verify Azure Function is selected from the add menu, enter a name for your C# file, and then select Add. Select the Durable Functions Orchestration template and then select Add.

What is durable orchestration?

Whenever an activity function is scheduled, the Durable Task Framework checkpoints the execution state of the function into some durable storage backend (Azure Table storage by default). This state is what's referred to as the orchestration history.

How do you deploy a durable function?

Hands-on Lab – Deploy durable function on AzureRight-click on the function and click on publish and choose target as Azure. Choose an option as Azure function app (Windows). Create/choose the new/existing resource group and resource for azure function deployment.


1 Answers

Ok, Found the problem. It seems like we need to select "Azure Functions v2 (.NET Core)" as the framework when creating the Project.

enter image description here

Note: After the project is created, do a build/rebuild of the project before trying to add a new function. For some reason, when I tried to add new Item, it still wasnt listed until I built the project

After the project is built successfully, you should now be able to see "Durable Functions Orchestration"

enter image description here

like image 98
Karthik Avatar answered Sep 21 '22 00:09

Karthik