Is it necessary to store this to a file and isolated storage, or is there another way to do it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, you do not have to. You can place common data in your ‘application’, which will be accessible everywhere via the Application.Current property. Alternatively, if you use the MVVM pattern, you can set the
DataContextof theRootFrame, this will ensure that all pages shares the same data context.See this blog post I wrote for a nice simple MVVM WP7 example.