且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用 c# 在单个请求中从 Azure Blob 存储下载多个文件?

更新时间:2023-02-09 08:23:50

我需要从我的 Azure Blob 存储下载 1000 个小图像.一世不想为每个文件单独请求.如何做到这一点c#?

I need to download 1000 small images from my Azure Blob Storage. I don't want to make a separate request for each file. How to do this in c#?

遗憾的是,Azure Blob 存储中没有批量下载功能.您需要单独下载每个 blob.您可以做的是并行下载 Blob 以加快速度.

Unfortunately there's no batch download capability available in Azure Blob Storage. You will need to download each blob individually. What you could do is download blobs in parallel to speed things up.