Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6199169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T04:08:37+00:00 2026-05-24T04:08:37+00:00

I am using Resource file(.Resx format) to store configuration settings for a WP7 application.

  • 0

I am using Resource file(.Resx format) to store configuration settings for a WP7 application. I want to edit(and optionally create) resource files programatically in code. I googled around, and found that some of the classes are not available in WP7 SDK, which are present as a part of usual .Net framework.
So, my question is that, is there a way to edit the resx files in code?
I am only storing strings (key, value pair) as settings in resource files. So, is there something else I can do to store these values.

Reference:: System.Resources namespace in:
1) .Net framework 4 – http://msdn.microsoft.com/en-us/library/system.resources.aspx
2) WP7 SDK – http://msdn.microsoft.com/en-us/library/system.resources(v=VS.95).aspx

WP7 Newbie Here!!, Help is much appreciated.

Update:
My Use case for the above scenario.
1) It’s a read frequently, update once in a while configuration settings.
2) I need to access about 300+ such settings, and want to do as much minimum (directly invoking I/O functions) as possible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T04:08:38+00:00Added an answer on May 24, 2026 at 4:08 am

    You can store them in IsolatedStorageSettings which is very well managed in WP7 applications.

    IsolatedStorageSettings.ApplicationSettings["Key"] = object;
    

    Just one point, beware that IsolatedStorageSettings is persisted to phone when your application is tombestoned or exitted. In case of unexpected exit it will not persist on the phone. Although you can always enforce persisting it using the following code:

    IsolatedStorageSettings.ApplicationSettings.Save();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a .resx resource file to store some dictionary data, wich i want
For localization I'm using the Resource-file (.resx files) functionality in .NET, but I'm wondering
I'm using Web Developer 2010. I just created a resource file lang.resx with different
My WPF application includes a resource file MyResources.resx, containing several strings and images. Because
With Data Annotations it's now easy to localize error messages using Resource.resx files like
While working a project tonight, I ended up using one .js resource file for
I am trying to read a Resource file in VSTO Shared add-in using the
Greetings all, I'm trying to localize a .NET/C# project. I'm using string resource files
I am able to create alternate dictation grammars using the dictation resource kit or
Localization/Globalization is pretty easy in Visual Studio using RESX files. I just add a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.