Answer the question
In order to leave comments, you need to log in
How to save data (Sessions, roamingSettings or similar) in C# WPF?
Good afternoon. Faced another problem.
Previously used roamingSettings and WinJS.Application.sessionState to save the values of variables throughout the work or life of the program, developing applications in JS. In PHP, these are sessions and cookies.
How to implement this in WPF? I found information on the Internet only about development under WIndows 8 (RT).
Thank you very much for another help.
Answer the question
In order to leave comments, you need to log in
Use static class or singleton.
PS
In general, for development under WPF, I would recommend looking at what MVVM, IoC, DI, Singlton are and how to do it all in C #.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question