如何获得的Blob网址在蔚蓝的文件上传后, [英] how to get blob-URL after file upload in azure
问题描述
我试图连接网络和辅助角色。所以我有一个页面,用户可以上传视频文件。文件比较大,所以我不能使用查询发送文件。这就是为什么我想要上传到Blob存储和thnn查询所发送的URL。但我不知道如何得到这个网址
I'm trying to connect web and worker role. So i have a page where user can upload video files. Files are large so i can't use the query to send files. That's why i'm trying to upload them into the Blob Storage and thnn send the url by the query. But i don't know how to get this url
谁能帮我?
推荐答案
假设你正在使用的.Net存储客户端库创建 CloudBlockBlob $ C $的一个实例上传到斑点Blob存储C>,你可以通过阅读<一个得到blob的网址href=\"http://msdn.microsoft.com/en-us/library/windowsazure/microsoft.windowsazure.storage.blob.cloudblockblob.uri.aspx\"><$c$c>Uri$c$c>团块的属性。
Assuming you're uploading the blobs into blob storage using .Net storage client library by creating an instance of CloudBlockBlob
, you can get the URL of the blob by reading Uri
property of the blob.
这篇关于如何获得的Blob网址在蔚蓝的文件上传后,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!