title | description | services | documentationcenter | author | manager | keywords | ms.service | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|
Manually install or update Azure Functions binding extensions |
Learn how to install or update Azure Functions binding extensions for deployed function apps. |
functions |
na |
ggailey777 |
jeconnoc |
azure functions, functions, binding extensions, NuGet, updates |
azure-functions |
multiple |
reference |
09/26/2018 |
glenga |
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.
Use the following steps to manually install or update extensions from the portal.
-
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.
-
Choose the Platform features tab and under Development tools select Advanced Tools (Kudu). THe Kudu endpoint (
https://<APP_NAME>.scm.azurewebsites.net/
) is opened in a new window. -
In the Kudu window, select Debug console > CMD.
-
In the command window, navigate to
D:\home\site\wwwroot
and choose the delete icon next tobin
to delete the folder. Select OK to confirm the deletion. -
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. -
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.
-
From the
wwwroot
folder, run the following command to rebuild the referenced assemblies in thebin
folder.dotnet build extensions.csproj -o bin --no-incremental --packages D:\home\.nuget
-
Back in the Overview tab in the portal, choose Start to restart the function app.
[!div class="nextstepaction"] Learn more about Azure functions triggers and bindings