Azure Function Add Assembly

The following assemblies are automatically added by the Azure Functions hosting environment: mscorlibSystemSystem.CoreSystem.XmlSystem.Net.HttpMicrosoft.Azure.WebJobsMicrosoft.Azure.WebJobs.HostMicrosoft.Azure.WebJobs.ExtensionsSystem.Web.HttpSystem.Net.Http.Formatting The following assemblies may be referenced by simple-name (for example, #r “AssemblyName”): Newtonsoft.JsonMicrosoft.WindowsAzure.StorageMicrosoft.ServiceBusMicrosoft.AspNet.WebHooks.ReceiversMicrosoft.AspNet.WebHooks.CommonMicrosoft.Azure.NotificationHubs Sources: https://docs.microsoft.com/en-us/answers/questions/107470/how-to-add-reference-to-directives-in-azure-functi.html

Cron Expression

https://en.wikipedia.org/wiki/Cron#CRON_expression Each line of a crontab file represents a job, and looks like this: Example Expression Schedule 0 0 1 1 * Run once a year at midnight of 1 January 0 0 1 * * Run once a month at midnight of the first day of the month 0 0 * * 0 Run... » read more

Azure Function Logging

An instance of ILogger is passed as an argument to the function invocation. You can use extension methods from Microsoft.Extensions.Logging to log events using the log instance. run.csx Sources: https://www.serverlessnotes.com/docs/logging-with-ilogger-in-azure-functions

Azure Function Resources

https://docs.microsoft.com/en-us/azure/azure-functions/ https://docs.microsoft.com/en-us/samples/browse/?products=azure-functions&languages=csharp

Getting Started with Azure Function

Example 1: run.csx Hello, mike. This HTTP triggered function executed successfully. The URL parameter “code” is the function key that needs to be passed in order to run the function. Multiple trigger options, http or timer or a list of other methods. Each function have its own code and can be enabled/disabled. Example 2: Hello,... » read more