visual studio - Azure Blob Storage only shows one file at a time -
i have following method uploads file blob storage:
public static string uploadtoblob(string filepath, string container) { if (!file.exists(filepath)) return string.empty; var filecontent = file.readallbytes(filepath); var filename = path.getfilename(filepath); var blobpath = $"/{guid.newguid()}/{filename}"; var azstorage = new azureblobstorage(configurationhelper.getconnectionasstring("storageconnectionstring")); return azstorage.upload(container, blobpath, filecontent, filename); }
which execute inside foreach loop so:
fileprocessor.uploadtoblob(filepathlocal, storageblobcontainers.arcoextractionpdfs);
when navigate insider server explorer, can see blob:
but when enter it, there's 1 file showing:
however, if delete file , hit refresh, 1 shows up, , repeating can see of them, 1 one..
how can see files in blob @ once?
Comments
Post a Comment