We have created a storage account for images and uploaded many images with the metadata property set. (as given below)
public async Task<bool> UploadFileToBlob(CustomFile file)
{
// Get Blob Container
CloudBlobContainer container = BlobUtilities.GetBlobClient.GetContainerReference("documents");
container.CreateIfNotExists();
// Get reference to blob (binary content)
CloudBlockBlob blockBlob = container.GetBlockBlobReference(file.FileName);
// set its properties
blockBlob.Properties.ContentType = file.FileMime;
blockBlob.Metadata["tag"] = "computer";
:
:
}
There could be multiple images could have uploaded with the same tag name as a meta data property.
Now, I need to just get the list of images from the blob container which are mapped with the same tag name (I saw samples to download all the blobcontent but I want to specifically get the filtered list with the specific tag name which was set in the meta data of the uploaded file)
Thanks