客户端:是否正在访问Windows Azure驱动器? [英] Client-Side: Accessing Windows Azure Drive?
问题描述
我正在开发一个Azure应用程序,其中一部分涉及用户浏览在线文件系统.为此,我尝试使用Windows Azure驱动器,但是我不知道如何从客户端访问它,或者如何使其在服务器端可访问.
I am developing an Azure application, part of which involves users browsing an online filesystem. TO do this, I am trying to use the Windows Azure drive, but I can't figure out how to access it from client side, or how to make it accessible on the server side.
此刻,我只知道如何制作驱动器:
At the moment, I only know how to make the drive:
CloudStorageAccount devStorage = CloudStorageAccount.DevelopmentStorageAccount;
CloudBlobClient client = devStorage.CreateCloudBlobClient();
CloudBlobContainer container = new CloudBlobContainer("teacher", client);
CloudDrive.InitializeCache(localCache.RootPath,
localCache.MaximumSizeInMegabytes);
CloudDrive drive = new CloudDrive(container.GetPageBlobReference("drive1").Uri, devStorage.Credentials);
drive.Create(50);
我正在使用C#作为开发语言.
I am using C# as my development language.
非常感谢所有帮助!
推荐答案
我不确定我是否正确理解了您的问题,但这听起来像您希望多个客户端应用程序(大概在非Azure的计算机上)访问您的Azure驱动器?
I'm not sure I understand your question properly, but it sounds like you want multiple client applications - presumably on machines that are not on Azure - to access your Azure drive?
不幸的是,只能从Azure web/worker或VM角色实例访问Azure驱动器.
Unfortunately, Azure drives can only be accessed from Azure web/worker or VM role instances.
这篇关于客户端:是否正在访问Windows Azure驱动器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!