在 Metro 应用程序中的用户之间共享数据

发布于 2024-12-07 00:59:15 字数 153 浏览 1 评论 0 原文

我想创建一个 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?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

潜移默化 2024-12-14 00:59:15

我认为您将 SkyDrive 与 Azure Blob 存储混淆了。

SkyDrive

  • 属于 Live ID
  • 并非真正意味着作为协作工作的基础

Azure Blob 存储

  • 您可以拥有任何人都可以查看和更新​​的公共文件
  • 您可以拥有文件租约只允许某些人编辑它
  • 由于您拥有 Azure 帐户,您还可以控制内容
  • 您可以学习基础知识 此处

I think that you are confusing SkyDrive with Azure Blob Storage.

SkyDrive

  • Personal to a Live ID
  • Not really meant as a base for collaborative work

Azure Blob Storage

  • You can have public files that anyone can view and update
  • You can have a lease on file that only allows certain people to edit it
  • Since you own the Azure account you also control the content
  • You can learn the basics here
小鸟爱天空丶 2024-12-14 00:59:15

如果您想在用户之间共享私有应用程序数据,最好的方法是通过某种共享服务器。您应该拥有一个服务器(在 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.

只等公子 2024-12-14 00:59:15

你无法通过 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.

如日中天 2024-12-14 00:59:15

现在更新的帮助似乎对此有更正式的定义。他们指的是漫游应用程序数据。我找到了以下提供指导的链接:

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文