在Azure的网站:(/文件夹/文件c)访问特定文件位置 [英] Access to a specific file location (c:/folder/file) in an Azure website
问题描述
一个公司为我提供了许多文件一个.dll。
采用这种路径的文件DLL的访问时 C:/folder/file.config
。
我工作的IIS 8通过一个专用的服务器,但我想这个项目迁移在Windows Azure上。
A company provides me a .dll with many files.
The dll access to files using this kind of path "C:/folder/file.config
".
I'm working on IIS 8 over a dedicated server BUT I would like to migrate the project on Windows Azure.
我知道Windows Azure提供虚拟机,但我不会用它只是为这一需求。
I know that Windows Azure provides Virtual Machines, But I wouldn't use it just for this need.
在我的梦想,我想用链接到Azure存储以及位于网站的DLL一个网站可以访问它的 C:/folder/file.config
In my dream, I would like to use a web site linked to an Azure Storage and the dll which is located on the web site could access to its "C:/folder/file.config
".
莫非Windows Azure中拥有了支持基本路径存储? ( C:/folder/file.config
)
我怎么能解决这个问题,而无需使用虚拟机?
Could Windows Azure has a storage which support basic path ? ("C:/folder/file.config
")
How could I solved this problem without using a Virtual Machine ?
推荐答案
您需要移动到该解决方案的Azure由于以下原因之前谨慎操作:
You need to exercise caution before moving onto this Azure solution for the following reasons:
- Azure的Web角色将有只读的网站的根文件夹和子文件夹/写访问。没有任何其他。
- 此外,即使你设法获得权限预期的文件夹,请记住,该实例可以随时回收。这意味着你需要重复创建文件夹结构,并把那里的文件,设置权限等你启动任务。
- 最后,在网络的实例是相互独立的与自己的配置文件的副本。所以,你需要采取的任何不同步的问题护理。 (只是只读不构成问题)
- 文件系统访问需要一堆csdef配置以及升高任务一起。
<一个href=\"http://blog.codingoutloud.com/2011/06/12/azure-faq-can-i-write-to-the-file-system-on-windows-azure/\" rel=\"nofollow\">http://blog.codingoutloud.com/2011/06/12/azure-faq-can-i-write-to-the-file-system-on-windows-azure/
这篇关于在Azure的网站:(/文件夹/文件c)访问特定文件位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!