The documentation says that you can put a DLL in a bin
folder and reference it using a special #r
syntax, however in the Azure portal I cannot find how to upload these DLLs. Is this possible, and if so, how is that supposed to be accomplished?
This is possible.
You can use Kudu to upload your binaries:
Open the app's Kudu portal. If your Functions App's URL is samplefunctions.azurewebsites.net
, then go to samplefunctions.scm.azurewebsites.net
.
Click on the Debug console
menu and select PowerShell
. This will open up a PowerShell console plus a file explorer. Navigate to D:\home\site\wwwroot
.
There you should see a folder which is named after your existing function. Navigate to that folder and drag-n-drop your binaries inside bin
folder.
Now you can use them with #r
directive.
I think you should also be able to configure the continuous deployment of your libraries to Functions (e.g. from a Git repo). Go to Function app settings
-> Configure Continuous Integration
.