On a Windows phone, we can store and retrieve everything using
IsolatedStorageSettings.ApplicationSettings.Add("foo", bar); IsolatedStorageSettings.ApplicationSettings["foo"]
Then why do people use the "sharpSerializer" stuff?
- /. , , , . , , -. , , , JSON, XML . , , . , , , , , .
PS - , Windows Phone 7, , .
ApplicationSettings , .
, Dictionary<string, object>, ApplicationSettings. , , .
Dictionary<string, object>
:
IsolatedStorageSettings, , , .
null , .
, .
, IsolStorage. , .
, , , - - ( ) - - . serializiaton, , / . , , . , . ( .)
Another important point that has not yet been mentioned was that when updating the application, sending a newer version to the market, the entire ApplicationSettings will be deleted, since it is assumed that the new application will have its own default values. Therefore, it is always useful to serialize data in IsolStorage and not embed AppSettings.
Source: https://habr.com/ru/post/1791966/More articles:Fly In Animation for GridView - androidHow to make JSF / Seam pages accessible without JavaScript - javascriptJSF structure without JavaScript - jsfTalend tExtractXMLField - javasaving blob field to disk from bash - bashВыполнение pthread на linux - cWhere can I find free Ruby and Python logos for a commercial site? - pythonWPF Manipulation Event Forgery - wpfInitializing D3D9 forces a third-party library to stop working - c ++Cannot find message resources under key org.apache.struts.action.MESSAGE in struts - struts-1All Articles