在Azure的网站:(/文件夹/文件c)访问特定文件位置

编程入门 行业动态 更新时间:2024-10-28 04:19:08
本文介绍了在Azure的网站:(/文件夹/文件c)访问特定文件位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

一个公司为我提供了许多文件一个.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配置以及升高任务一起。
  • blog.codingoutloud/2011/06/12/azure-faq-can-i-write-to-the-file-system-on-windows-azure/

    更多推荐

    在Azure的网站:(/文件夹/文件c)访问特定文件位置

    本文发布于:2023-10-31 16:50:03,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1546692.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:文件   文件夹   位置   网站   Azure

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!