开发者

Share data between users in metro application

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?


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


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.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜