November 2018
Intermediate to advanced
424 pages
10h 55m
English
In this BlobTriggerCSharp class, the Run method has the WebJobs attributes with a connection string (in this case, it is AzureWebJobsStorage). This instructs the runtime to refer to the Azure Storage connection string in the local settings configuration file with the key named after the AzureWebJobsStorage connection string. When the job host starts running, it uses the connection string and keeps an eye on the storage accounts containers that we have specified. Whenever a new Blob is added or updated, it automatically triggers the Blob trigger in the current environment.