保持配置信息Win / RT的最佳实践 [英] Best Practice to keep Configuration Information Win/RT

查看:70
本文介绍了保持配置信息Win / RT的最佳实践的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

保持在XAML和C#中开发WinRT应用程序的配置信息的最佳做法是什么。  例如,缓存某些数据片段的时间,休息服务基本URL(在开发过程中我想反对dev URL,最后在应用程序准备就绪时将
转换为生产URL),供应商密钥等。 ..etc ...

What is the best practice to keep configuration information for WinRT application being developed in XAML anc C#.  For example, how long to cache certain piece of data, rest service base url (While in development I want to go against dev URL, and eventually to production URL when application is ready), vendor key, etc...etc...

推荐答案

您可以在本地或漫游中将数据保存在应用程序设置中。请参阅
应用程序数据
文档。

要保留哪些数据以及持续多长时间非常依赖于应用。

Which data to keep and for how long is very app dependent.

参见


这篇关于保持配置信息Win / RT的最佳实践的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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