Azure 中的 IIS 虚拟目录
有人告诉我,您可以在 Azure 上托管的 IIS 中创建虚拟目录,但我很难找到有关此功能的任何信息,因为它是一个相对较新的功能。我想将虚拟目录指向 Azure 驱动器(XDrive、NTFS 驱动器),以便我可以引用驱动器上的资源。
我正在将一个本地网站迁移到 Azure,需要最大限度地减少所需的返工/重新开发量。目前该网站可以访问共享内容文件夹,由于时间紧迫,我正在尝试模仿类似的设置。
有谁对此有任何了解或为我提供指导,因为我找不到有关如何执行此操作的任何信息?
您提供的任何信息/指示都会很棒
谢谢 史蒂夫
I've been told that you can create virtual directories in IIS hosted on Azure but I'm struggling to find any info on this as its a relatively new feature. I'd like to point the virtual directory to an Azure Drive (XDrive, NTFS Drive) so that I can reference resources on the drive.
I'm migrating an on premise website onto Azure and need to minimise the amount of rework / redevelopment required. Currently the website has access to shared content folders and I'm trying to mimic a similar set up due to tight time scales.
Does anyone have any knowledge of this or pointers for me as I can't find any information on how to do this?
Any information / pointers you have would be great
Thanks
Steve
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我没有时间检查自己,但获取了 Windows Azure 平台培训工具包的最新副本。我相当确定它有一个演示新功能的实践实验室。但是,我不认为实验室包括在天蓝色驱动器上创建虚拟目录。即使您可以将其指向那里,您也可能会遇到一些 .NET 安全限制。 http://www .microsoft.com/downloads/en/details.aspx?FamilyID=413e88f8-5966-4a83-b309-53b7b77edf78&displaylang=en
另一个值得研究的资源可能是 Cory Fowler 正在做的事情 http://blog.syntaxc4.net/ 他最近花了一些时间真正深入研究新 1.3 角色的内部结构。所以他也许可以帮助你。
I haven't had a moment to check myself, but get the latest copy of the Windows Azure Platform Training kit. I'm fairly certain that it has a hands on lab that demonstrates the new feature. However, I do not believe that lab includes creating a virtual directory on a azure drive. Even if you can point it there, you may run into some .NET security limitations. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=413e88f8-5966-4a83-b309-53b7b77edf78&displaylang=en
Another resource to look into might be the stuff Cory Fowler is doing http://blog.syntaxc4.net/ He's been spending some time of late really digging into the internals of the new 1.3 roles. So he might be able to lend you a hand.
我已经解决这个问题有一段时间了,我可以将 VHD 上传到 Azure,并且可以在 Azure 中创建一个虚拟目录,该目录指向我的电脑上的物理位置(在 Dev fabic 中运行时),这里是但是。 ...
我找不到任何可以同时执行这两项操作的示例,即安装驱动器然后将虚拟目录映射到它。
我已经查看了 1.3 SDK 并查看了各种博客,但我看不到任何关于此的指示 - 我想我可能掌握了错误的一端。如果有人知道如何或是否可以做到这一点,那就太好了。
I've been kicking this issue around for sometime now and I can upload a VHD to Azure and I can create a virtual directory in Azure that points to a physical location on my pc (when running in Dev fabic) and here is the but....
I can't find any examples on where I can do both at the same time, i.e. mount a drive and then map a virtual directory to it.
I've had a look in the 1.3 SDK and looked at various blogs but I can't see any pointers on this - I guess I may have got hold of the wrong end of the stick. If anyone knows how or if this can be done, that would be great.