Manually install or update Azure Functions binding extensions from the portal

The Azure Functions version 2.x runtime uses binding extensions to implement code for triggers and bindings. Binding extensions are provided in NuGet packages. To register an extension, you essentially install a package. When developing functions, the way that you install binding extensions depends on the development environment. For more information, see Register binding extensions in the triggers and bindings article.

Sometimes you need to manually install or update your binding extensions in the Azure portal. For example, you may need to update a registered binding to a newer version. You may also need to register a supported binding that can't be installed in the Integrate tab in the portal.

Install a binding extension

Use the following steps to manually install or update extensions from the portal.

  1. In the Azure portal, locate your function app and select it. Choose the Overview tab and select Stop. Stopping the function app unlocks files so that changes can be made.

  2. Choose the Platform features tab and under Development tools select Advanced Tools (Kudu). THe Kudu endpoint (https://<APP_NAME> is opened in a new window.

  3. In the Kudu window, select Debug console > CMD.

  4. In the command window, navigate to D:\home\site\wwwroot and choose the delete icon next to bin to delete the folder. Select OK to confirm the deletion.

  5. Choose the edit icon next to the extensions.csproj file, which defines the binding extensions for the function app. The project file is opened in the online editor.

  6. Make the required additions and updates of PackageReference items in the ItemGroup, then select Save. The current list of supported package versions can be found in the What packages do I need? wiki article. All three Azure Storage bindings require the Microsoft.Azure.WebJobs.Extensions.Storage package.

  7. From the wwwroot folder, run the following command to rebuild the referenced assemblies in the bin folder.

    dotnet build extensions.csproj -o bin --no-incremental --packages D:\home\.nuget
  8. Back in the Overview tab in the portal, choose Start to restart the function app.

Next steps