.Net core Durable function

ferdaous harmel 1 Reputation point
2021-07-22T11:05:34.993+00:00

Hello,

I try to execute a durable function in the azure portal using .Net core stack.
It does not work for me.
I guess because I did not install the package "Microsoft.Azure.WebJobs.Extensions.DurableTask".
So, please how to install it in the azure portal.

Regards.
Ferdaous.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,936 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 27,481 Reputation points Microsoft Employee Moderator
    2021-07-23T06:32:39.55+00:00

    Hello @ferdaous harmel , Thank you for reaching out. Ideally when creating a Durable function app via the portal using the predefined templates the Microsoft.Azure.WebJobs.Extensions.DurableTask package is installed by default. You can follow the steps mentioned here to recreate the Durable functions using the predefined templates. Just to add, developing function apps via portal is not recommended you can use tools like VS Code, VS etc instead.

    Regarding installing a Nuget via portal you will have to add a function.proj file to wwwroot folder of your function app referencing the required nuget. You can refer this doc for a sample function.proj file.
    You can use the Kudu tool to add this file. (You can find this option under Advanced Tools in the left side panel of the portal)

    117313-image.png

    Then click on CMD and traverse to site->wwwroot folder to add the file.

    117352-image.png

    Please let me know if there are any concerns. Thank you!

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.