Recommendations for setting up / configuring a user in a C # client application

I am working on a .NET application that will also work on iphone via monotouch and osx / linux via mono. The application will contain profiles for different users, and the profile used for a particular session will be selected at startup, such as Skype.

To save the settings for each user, I’m considering the possibility of using the application parameter system included with .NET. However, this system seems to rely on thoughts that are not available on the iphone. I am also not sure whether this system will work on platforms other than Windows.

I could also use the sqlite application database, which stores the application data for storing settings and simply collapses my own settings classes, which will be serialized / deserialized into the sqlite database, like all other application data.

Finally, I could minimize my own file solution.

What are the tradeoffs for these approaches? Why does .NET have special support for user settings? It seems like a pretty simple thing that coders should do on their own, and having dedicated support within the .NET framework makes me suspect that I'm missing some complexity.

Thank!

+3
source share
1 answer

- , sqlite, iPhone, . , MonoTouch .NET Objective C , , Windows/Mono, iPhone.

, , , .

.Net , Microsoft .

, , , .

+1

Source: https://habr.com/ru/post/1730758/


All Articles