如何获得的Blob网址在蔚蓝的文件上传后,
问题描述:
我试图连接网络和辅助角色。所以我有一个页面,用户可以上传视频文件。文件比较大,所以我不能使用查询发送文件。这就是为什么我想要上传到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>,你可以通过阅读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.