我想创建一个 Metro 应用程序,允许一群人进行交互。一个人将创建数据并担任所有者,其他多人将被邀请加入并被允许修改该数据。我在 Build 演讲中听说,每个 Metro 应用程序都将获得每用户的 Azure 存储,但是是否可以在多个用户之间共享该数据?有谁可以分享我可以研究这个的链接吗?
I would like to create a Metro application that allows a group of people to interact. One person would create data and serve as the owner, and multiple others would be invited in and be allow to modify that data. I heard from Build talks that each Metro application will get per-user Azure storage, but will it be possible to share that data between multiple users? Does anyone have a link they could share where I could research this?
发布评论
评论(4)
我认为您将 SkyDrive 与 Azure Blob 存储混淆了。
SkyDrive
Azure Blob 存储
I think that you are confusing SkyDrive with Azure Blob Storage.
SkyDrive
Azure Blob Storage
如果您想在用户之间共享私有应用程序数据,最好的方法是通过某种共享服务器。您应该拥有一个服务器(在 Azure、Amazon EC2 或其他任何东西上运行),该服务器公开每个应用程序连接到的 REST-ful Web 服务。然后共享状态存在于该服务器上。
这比尝试使用 skydrive 或某些基于文件的系统来存储共享数据要好。对于 skydrive 上的一个文件,并且多个用户尝试访问该文件,当超过 1 人尝试写入该文件时,您会遇到并发问题。
If you want to share private app data between users, the best way to do so would be via a shared server of some sort. You should have a server (running on Azure, Amazon EC2, or anything really) that exposes a REST-ful web service which each application connects to. The shared state then lives on that server.
This is better than trying to use skydrive or some file-based system for storing shared data. With a file on skydrive and multiple users trying to access it, you would run into concurrency issues when more than 1 person tries to write to it.
你无法通过 Metro 获得 Azure。
通过 Live,您可以获得免费的 SkyDrive,它是个人云存储。比如10GB。可以共享文件,但这是通过发送电子邮件链接来实现的。文件存储无法轻松支持服务器类型应用程序来管理该共享。
Azure 是一个用于文件和数据共享的云平台。 Azure 不是免费的,但存储成本仅为每月 0.125 美元/GB。 10 GB = 1.25 美元/月。使用 SkyDrive 作为共享存储,您将放弃 Azure 附带的大量开发人员和托管工具,从而每月节省 1.25 美元。
You don't get Azure with Metro.
With Live you get a free SkyDrive that is a personal cloud storage. Like 10 GB. Can share files but it is via sending an email link. It is not file storage that would readily support a server type application to manage that sharing.
Azure is a cloud platform for file and data sharing. Azure is not free but storage cost is only $0.125 / GB per month. 10 GB = $1.25 / month. Using SkyDrive as shared storage you are giving up a lot of developer and hosting tools that come with Azure to save $1.25 / month.
现在更新的帮助似乎对此有更正式的定义。他们指的是漫游应用程序数据。我找到了以下提供指导的链接:
http://msdn。 microsoft.com/en-us/library/windows/apps/hh464917.aspx
http://msdn.microsoft.com/en-us/library/windows /apps/hh465094.aspx
一般来说,少量的临时应用程序数据是按每个应用程序、每个用户提供的。您获得的实际大小并不详细,但指导非常明确 - 仅应用程序设置,没有大型数据集,并且不要将其用于即时同步。鉴于这一指导,我的计划不是一个好的计划,将会改变。
It looks like there is a more formal definition of this with the updated help now available. They were referring to roaming application data. I found the following links that provide guidance:
http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/hh465094.aspx
The general is that a small amount of temporary application data is provided on a per-app, per-user basis. The actual size you get is not detailed, but the guidance is pretty clear - app settings only, no large data sets, and don't use it for instant synchronization. Given this guidance, my plan is not a good one and will change.