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

  • SEARCH
  • Home
  • 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 5930973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T14:37:44+00:00 2026-05-22T14:37:44+00:00

I am working on a software and want to create a configuration file for

  • 0

I am working on a software and want to create a configuration file for my application to store configurations that will be used at runtime. I have seen some software use a config.xml file to achieve this. The configuration file I want to use will have:

  1. Cache folder location
  2. Color scheme
  3. Option to toggle caching

How to go about this? I am working with WPF.

  • 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-22T14:37:45+00:00Added an answer on May 22, 2026 at 2:37 pm

    If theses options are user-specific, don’t use app.config – that’s for global application settings and you will clobber other users’ settings. I’m bringing this point up because you mentioned caching options in your question, and in some applications, the choice to cache or not to cache is at the user level.

    Instead, I would recommend that you create a domain object to store the configuration settings to, and serialize the object to a local folder in the current user’s isolated storage folder.

    When the application starts up, just look into the current user’s isolated storage folder, confirm the serialized file exists, and deserialize back to the domain object.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A software application that I'm working on needs to be able to assign tasks
I am working on some software that should be used for a special type
i want that upon opening my N73's camera cover,the camera software keeps working as
I have many folders of images, and I want to create a batch file
want to rewrite urls like site.com/software to wp-content/themes/dir/software.php and something is not working.. Here's
I am working on a software development project that uses code written primarily in
I am working on a software-as-a-service (SaaS) application and I am looking for a
I'm working with a data model stored in XML files. I want to create
I have some software under svn version control. It consists of sources that I
With reference to the Software Project I am currently working on . I have

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.