Azure function is nothing but a static class with Run method where all logic executed sequentially. (These are used the same as for compiled Azure Functions. Figure 2 – C# script output created in Shows how to create a Excel (XLSX) document or Portable Document Format (PDF) file in Azure Functions or Azure App Service using.