First of all, i am new in azure development, so my question will be ambiguous. i need better suggestion. I have web api C# that receive binary data (image). I want to write it into azure blob storage. In my case, i need to check if blob storage exist then write the image else create the directory and write the image.
This directory is public read access so that i can reflect image in any public app.
Following method store the image and return the image public path
public class BlobStorageService : IBlobStorageService
{
public async Task<string> SaveSingleImage(byte[] image)
{
throw new NotImplementedException();
}
}