I have images that are stored in Blobs in Azure. Now I want to display them on a website. What would be the easiest way to display these images ?
答案 0 :(得分:0)
Each blob has its own Url which you can retrieve from the Azure Portal or by using the Azure Storage Explorer.
You could save the Urls in your database and display them directly on your website like you would any other image Url.
If your web site requires a CDN, you could add an Azure CDN on top of your blob storage Like this.
答案 1 :(得分:0)
考虑使用SAS(共享访问签名)。它的网址很短,并且可以查看特定时期的图像。您还可以提供详细级别的权限。
https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1
答案 2 :(得分:0)