Hello fellow programmers,
I am new to Windows 8. Where does Windows Store app's LocalSettings store its serialized file ? I am referring to this one:
Windows.Storage.ApplicationData.Current.LocalSettings
Per WinStore app tutorial here, I can load and save serialized properties to either roaming settings or local settings. The roaming goes to the cloud, but where exactly does the local setting goes to ? Registry? Isolated file?
Thank you in advance.
Look in c:\users\{username}\AppData\Local\Packages\{packageID} where packageID identifies a particular app. In there you'll see a number of folders, and inside the one called Settings you'll see settings.
Open Settings. Go to Apps -> Apps & features. On the right side, look for Microsoft Store and click it. The advanced options link will appear.
An application that is installed for per user can be registered under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths. An application that is installed for all users of the computer can be registered under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths.
Select Start > Settings > Apps. Apps can also be found on Start . The most used apps are at the top, followed by an alphabetical list.
Look in c:\users\{username}\AppData\Local\Packages\{packageID} where packageID identifies a particular app. In there you'll see a number of folders, and inside the one called Settings you'll see settings.dat. That's where the LocalSettings and RoamingSettings are stored. (Roaming settings are stored locally and sync'd with the cloud, so you aren't hitting the cloud every time you want to retrieve one.)
The LocalState, RoamingState, and TempState folders alongside Settings are where you can store your own files if what you want to store in settings gets too complicated for key-value pairs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With