Updating your function app extensions

Paul Batum edited this page Sep 29, 2018 · 6 revisions

Update your app from portal

Follow the instructions in this section to update a function app which is created/managed from portal.

  1. Stop the function app.
  2. Access kudu console through Platform Features -> Advanced Tools -> Debug Console (cmd)
  3. Navigate to d:\home\site\wwwroot
  4. Delete the bin directory (click the circle icon next to folder)
  5. Edit extensions.csproj
  6. Update the extensions with the version you need to install (See the table below)
  7. Note - if you use blob/queue/table bindings make sure you include Microsoft.Azure.WebJobs.Extensions.Storage
  8. Save the changes
  9. Run dotnet build extensions.csproj -o bin --no-incremental --packages D:\home\.nuget
  10. Start the function app

Update your app via Visual Studio

Simply update the NuGet packages referenced by your app (See the table below).

Update your app via core tools (CLI)

Follow the instructions in this section to update a function app which is created/managed from CLI.

Updating function app targeting JavaScript

  • Run npm i -g azure-functions-core-tools@core --unsafe-perm true to get the latest version of core tools
  • Navigate to the root of the function app (where extensions.csproj is located)
  • Run func extensions install -force

Updating function app targeting Java

  • Run npm i -g azure-functions-core-tools@core --unsafe-perm true to get the latest version of core tools
  • Navigate to the root of the function app
  • Run mvn clean package
  • Navigate to target\azure-functions\<your function app name>
  • Run func extensions install -c <your root folder with pom.xml> --force

What NuGet packages do i need?

This table is up to date as of September 19 2018. Please refer to NuGet.org for latest package versions.

NuGet Package Version Notes
Microsoft.NET.Sdk.Functions 1.0.22
Microsoft.Azure.WebJobs.Script.ExtensionsMetadataGenerator 1.0.1
Microsoft.Azure.WebJobs.Extensions.CosmosDB 3.0.1
Microsoft.Azure.WebJobs.Extensions.DurableTask 1.6.2
Microsoft.Azure.WebJobs.Extensions.ServiceBus 3.0.0 * see below
Microsoft.Azure.WebJobs.Extensions.EventHubs 3.0.0
Microsoft.Azure.WebJobs.Extensions.SendGrid 3.0.0
Microsoft.Azure.WebJobs.Extensions.EventGrid 2.0.0
Microsoft.Azure.WebJobs.Extensions.Storage 3.0.0
Microsoft.Azure.WebJobs.Extensions.Twilio 3.0.0
Microsoft.Azure.WebJobs.Extensions.MicrosoftGraph 1.0.0-beta6
Microsoft.Azure.WebJobs.Extensions.SignalRService 1.0.0-preview1-10002

* Please note that Microsoft.Azure.WebJobs.Extensions.ServiceBus is a new package (the previous one, used for functions V1 and earlier V2 previews was named Microsoft.Azure.WebJobs.ServiceBus)

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.