Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Windows RT / Windows Store App answer to App.config?

Tags:

What is the best way to go about reading and writing simple configuration data like we used to use App.config and Web.config <appsettings /> available through ConfigurationManager before, for use within your Windows 8 / Windows RT / Windows Store / Windows Modern UI App?

like image 205
GONeale Avatar asked Oct 13 '12 01:10

GONeale


People also ask

What is Window Store app?

Microsoft Store has nearly everything for your Windows device, including the latest games, films and TV programmes, creativity software and apps1.

How do I fix Windows Store app?

Run the troubleshooter: Select the Start button, and then select Settings > Update & Security > Troubleshoot, and then from the list select Windows Store apps > Run the troubleshooter.

Where is the Windows Store app located?

To search for it: In the search box on the taskbar, type Microsoft Store. If you see it in the results, select it. To make sure you can find it easily later, press and hold (or right-click) the Microsoft Store tile and select Pin to Start or More > Pin to taskbar .

Can install apps on Windows RT?

A Windows RT-based device cannot download or install Windows Store apps or updates for Windows Store apps.


1 Answers

LocalSettings

http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.localsettings

OR

RoamingSettings

http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.applicationdata.roamingsettings.aspx

The main difference is that RoamingSettings will be saved to the cloud and thus, can be transferred across different devices for the same user profile. LocalSettings is device-specific.

like image 68
Akinwale Avatar answered Sep 26 '22 17:09

Akinwale