question

ferdaousharmel-2227 avatar image
0 Votes"
ferdaousharmel-2227 asked ChaitanyaNaykodiMSFT-9638 edited

.Net core Durable function

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
1 Vote"
ChaitanyaNaykodiMSFT-9638 answered ChaitanyaNaykodiMSFT-9638 edited

Hello @ferdaousharmel-2227, 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!



image.png (51.9 KiB)
image.png (32.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.