3 ms·
I tried to figure it out from MSDN and couldn't, so maybe someone here knows something I don't: Is there any functional difference between LocalSettings and Lo
by avolcano 14y ago
I tried to figure it out from MSDN and couldn't, so maybe someone here knows something I don't:
Is there any functional difference between LocalSettings and LocalStorage in terms of capabilities? I see the use case for file storage, of course, for special purposes; I see the use case for IndexedDB, for more powerful object storage; I see the use case for RoamingSettings, which syncs between Windows 8 devices; but I don't see the use case for LocalSettings when LocalStorage already exists (or vice versa).
It seems to me that the only reason that they're both usable in WinJS apps is because one comes from the .NET APIs and one comes, of course, from the HTML5 APIs, and no one ever stopped to think they might be redundant.
Of course, I could be totally wrong. MSDN isn't exactly illuminating on this matter, nor on, well, anything related to WinJS.
Oh, and an aside - if anyone's looking for a nice wrapper for IndexedDB that plays nice with WinJS, give db.js (http://aaronpowell.github.com/db.js/ http://aaronpowell.github.com/db.js/) a shot.