Iam new to azure, any help is appreciated
In azure function we can give an input binding as below.
[QueueTrigger("myqueue-items")] string myQueueItem,
[Blob("samples-workitems/{queueTrigger}", FileAccess.Read)] Stream myBlob,
ILogger log)
Also, I see few codes where we use the below and they dont add the above lines. Can anyone explain the usage of these both.
BlobServiceClient blobServiceClient = new BlobServiceClient(connectionString);
BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient(ContainerName);
BlobClient blobClient = containerClient.GetBlobClient(fileName);
I have tried both the procedures and both of them works fine. I wanted to understand the significance of the usage