Solved

app information storage

Posted on 2006-07-14
2
222 Views
Last Modified: 2010-04-16
Hello Experts,
                    What 's the most common way of storing application information? That is, I would like to have a place where I could put some key information about the application at install and be able to update it leter on such as options, user settings, paths, information lists of the application level, stuff like that. I have heard some use registry, others .ini files. Could you please reflect a bit on that?

Thanks,
Serge
0
Comment
Question by:Autofreak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
athapa earned 250 total points
ID: 17112812
If the settings don't need to be updated during runtime and only gets updated with new release or so then you can you App.config . This is a xml file from where you can easily retrieve those settings.

You can always use plan xml file to save your settings.

Another alternative would be use xml or binary serialization to store you settings and deserialize and load them when your app starts. R

egistry is also quiet easy to deal with in .Net.

You do need to consider the security settings in the user's machine if you are going to save your settings as a file. Sometimes they may not have rights to modify or create new files in the c:\Program files folder so you may need to save those settings to user profile folder or other location.

AT
0
 

Author Comment

by:Autofreak
ID: 17157858
Thanks Man!

Have a nice weekend
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question