-
Notifications
You must be signed in to change notification settings - Fork 442
Updating your function app extensions
amamounelsayed edited this page Sep 23, 2019
·
7 revisions
Follow the instructions in this section to update a function app which is created/managed from portal.
- Stop the function app.
- Access kudu console through Platform Features -> Advanced Tools -> Debug Console (cmd)
- Navigate to d:\home\site\wwwroot
- Delete the bin directory (click the circle icon next to folder)
- Edit extensions.csproj
- Update the extensions with the version you need to install (See the table below)
- Note - if you use blob/queue/table bindings make sure you include
Microsoft.Azure.WebJobs.Extensions.Storage
- Save the changes
- Run
dotnet build extensions.csproj -o bin --no-incremental --packages D:\home\.nuget
- Start the function app
Simply update the NuGet packages referenced by your app (See the table below).
Follow the instructions in this section to update a function app which is created/managed from CLI.
- 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
- Run
npm i -g azure-functions-core-tools --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
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)
- Configuration Settings
- function.json
- host.json
- host.json (v2)
- Http Functions
- Function Runtime Versioning
- Official Functions developers guide
- Host Health Monitor
- Managing Connections
- Renaming a Function
- Retrieving information about the currently running function
- Site Extension Resolution
- Linux Consumption Regions
- Using LinuxFxVersion for Linux Function apps
- Out-of-proc Cancellation Tokens
- Assembly Resolution in Azure Functions
- ILogger
- Precompiled functions
- Official Functions C# developer reference
- Contributor Onboarding
- Development Process
- Deploying the Functions runtime as a private site extension
- Authoring & Testing Language Extensions
- Bindings in out-of-proc
- Language Extensibility
- Worker Capabilities
- Investigating and reporting issues with timer triggered functions not firing
- Sharing Your Function App name privately
- Azure Functions CLI release notes [moved here]
- Function App Zipped Deployment [deprecated]