When you want to call methods or objects in C# code, you must declare them with “using” statement. But what if the package is not available? Then you must first make a reference to it. When programming in local environment it just require to upload needed dlls into the project. But what when you are not using desktop IDE, but through the Azure console?
Uploading DLLs to reference them from Azure Function
The process is not complicated at all. But not very intuitive for the first time. Step by step below:
- Open App Services in your Azure (or Function Apps, doesn’t matter);
- Click your Function’s name;
- Click “Platform Features”;
- Click “Advanced tools (Kudu)” – will open in a new tab:
- Then “Tools” –> “ZIP Push Deploy”;
- Then click the folder with your Function’s name and go to the “bin” folder;
- Being there, drag&drop the dll’s you want to make reference to in your Azure Function:
That’s it. Now you can reference your dlls from your Azure Function:
Hi! I’m Tomasz. I’m a big fan of process automation and business analysis. I’m focusing on expertise my skills in Microsoft technologies especially Office 365, SharePoint, Flow, PowerApps and Nintex products. I have 8+ years of experience working with SharePoint.