在WinRT中保存用户内容 [英] Saving User Content in WinRT

查看:114
本文介绍了在WinRT中保存用户内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨:)



好​​吧,我喜欢写一些应用程序来了解更多关于WinRT ....我只使用数据库和通常的文本文件来保存内容由用户给出(他的地址信息)。现在我想知道是否有新的或者说更现代的方法来保存用户内容,特别是在WinRT中?!



我想感谢所有人你的帮助!

greetings

Hi :)

well, I like to write some Apps to learn more about WinRT....I only used databases and usual textfiles to save content which was given by the user (f.E. his adress information). Now I like to know if there are new or let´s say more modern methods to save user content, specialy in WinRT?!

I like to say thanks for all your help!
greetings

推荐答案

我自己对WinRT有点新鲜(谁不是?^^)

但我认为你不能在AppA和AppB之间共享文件(至少自动)



但是如果这是相同的应用程序不同设备上的同一用户可以将数据保存在漫游文件夹中。



ApplicationData.Current.RoamingFolder



将为您提供一个StorageFolder,它将通过Windows在所有设备上与此应用程序同步!

好​​嘿! ;)
I''m a bit new to WinRT myself (who isn''t? ^^)
But I think you can''t share file between AppA and AppB (at least automatically)

However if this is the same app for the same user on different device you can save data in the roaming folder.
I.e.
ApplicationData.Current.RoamingFolder

will get you a StorageFolder that will be synchronized by Windows on all device with this app!
Nice hey! ;)


没有没有。

WinRT甚至有限的文件系统访问权限! :〜你不能随便去任何地方写文件!



那说你可以在CodeProject上使用一些文章并使用NoSQL数据库吗?

尝试 RaptorDB [ ^ ]


这篇关于在WinRT中保存用户内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆