Important: There's a similar question which discusses using Microsoft.Azure.Storage.Blob
which is deprecated. I am looking for a solution which does not rely on deprecated packages.
I am creating a blob in an Azure Storage Account using Azure.Storage.Blobs
, and I would like to set metadata on that blob at the time of creation.
It's important that this is done at the same time; blob creation triggers an EventGrid event which in turn calls a function to perform an operation using that blob and its metadata. It would be problematic if the function is triggered before metadata is set.
Is there a way to do this using Azure.Storage.Blobs
or similar?
(I do not want to use https://www.nuget.org/packages/Microsoft.Azure.Storage.Blob/).