嗨,当我尝试从我的数据库表中检索存储为 blob uri 的图像时,我收到“404 错误。未找到”。存储字符串存储如下: https:// * * .blob.core.windows.net/image/0d3f5611-b97e-411a-8979-7a20afb77ea6 为了实现这一点,我使用了以下代码:
// Create the blob client.
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
var container = blobClient.GetContainerReference("partsimageblob");
var blobs = container.GetBlobReference(imagePart);
var uri = blobs.Uri;