- Stop the application.
- Upgrade eventhub extension to the latest version.
- Place the EventHubsCustomExtension.dll in the D:\home\site\wwwroot\bin.
- Add { "name": "EventHubsCustomExtension", "typeName":"EventHubsCustomExtension.EventHubsCustomExtensionStartup, EventHubsCustomExtension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"} as the last line at D:\home\site\wwwroot\bin\extensions.json
Restart the Function App.
We have two options.
Option 1: Provide all extenstions zip folder, Disadvantage the user can not upgrade to new versions.
- User needs to remove the support for extensionBundle.
- We can build all extension along with our custome one and share it with the user, The user then need to point their app settings to the location for the extensions.
Option 2: Provide the EventHubsCustomExtension nuget, Disadvantage the user needs to have .net installed.
- User needs to remove the support for extensionBundle.
- User will need to install all extensions they need.
- func install custom nuget. --> This will add the gnerated dll in the bin folder of the function app.
- Update { "name": "EventHubsCustomExtension", "typeName":"EventHubsCustomExtension.EventHubsCustomExtensionStartup, EventHubsCustomExtension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"} as the last line at .\bin\extensions.json.
- Deploy the function.
Restart the Function App.