Azure 文件 storage/indexing 解决方案

Azure file storage/indexing solution

我正在开发一个 Web 应用程序,它 运行 作为 Azure Web 应用程序。此应用程序有一个部分,用户可以在其中导航目录,并允许用户打开文件和浏览所述目录中的子目录。

目前子目录和文件在"~/Content/Documents"里面,我正在使用Directory.GetFiles()Directory.GetDirectories()浏览目录; System.IO.

提供的功能

问题文件每天会被多次检索下载,没办法一个一个手动路径,看数量多,而且随时可能更改。

但是,我不方便将文件存储在web 目录中。所以我的两个问题是:

What Azure service can I use to store and retrieve my files?

Which of these services provides the ability to index/map a path, which would fit with my web-app?

请注意,用户无法编辑或以其他方式上传任何文件,因此该服务无需允许未经身份验证的上传.

新的 Azure 文件存储功能可用于将文件存储在 Azure 存储中,并使它们可以通过 SMB 文件共享进行访问。这将允许需要使用传统文件共享来保存/检索文件的遗留应用程序。这样可以更轻松地集成到现有应用程序中,而无需完全重写文件存储代码。

https://azure.microsoft.com/en-us/blog/azure-file-storage-now-generally-available/