By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,401 Members | 793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,401 IT Pros & Developers. It's quick & easy.

Configuration data

P: n/a
Dear all,

I have a windows application linked to a database.
I was wondering about one point.

Do I have to go for a configuration file anyway or can I
store all my application in this database.

I could use only the database but is it something good
compare to configuration file?

regards
serge
Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
It depends on the needs of your application.

You'll probably want a config file that points to the database to
begin with. Per-user config values can be stored with
IsolatedStorage, unless you want to share them across the network
(like user A gets his preferences, no matter where he logs in). I
think IsolatedStorage is local to the machine.

Global application configuration settings could be stored in a
database.

You just need to sit down and think of the scenarios of how they'd be
used, what if something is moved, etc.

-mike
MVP

"serge calderara" <se*************@maillefer.net> wrote in message
news:09****************************@phx.gbl...
Dear all,

I have a windows application linked to a database.
I was wondering about one point.

Do I have to go for a configuration file anyway or can I
store all my application in this database.

I could use only the database but is it something good
compare to configuration file?

regards
serge

Jul 19 '05 #2

P: n/a
I cannot really catch the use of this ISolateStorege
classe.

I seems there is two things to retrive configuration from.
First in case your applcation require some setting to
start like database path, Debug flag, ... Those then
belongs to the configuration file named MyApp.exe.config
and as far as I understand you need to edit that file
manually with correct section or group of section.
Any other parameter needed to tune my application
behaviour seems to be store or added in this file.

Then why using this isolateStorage for configuration file
if we can easily do something with System.Configuration
nameSpace.

Thnaks to clearup my mind on both
regards
serge

-----Original Message-----
It depends on the needs of your application.

You'll probably want a config file that points to the database tobegin with. Per-user config values can be stored with
IsolatedStorage, unless you want to share them across the network(like user A gets his preferences, no matter where he logs in). Ithink IsolatedStorage is local to the machine.

Global application configuration settings could be stored in adatabase.

You just need to sit down and think of the scenarios of how they'd beused, what if something is moved, etc.

-mike
MVP

"serge calderara" <se*************@maillefer.net> wrote in messagenews:09****************************@phx.gbl...
Dear all,

I have a windows application linked to a database.
I was wondering about one point.

Do I have to go for a configuration file anyway or can I
store all my application in this database.

I could use only the database but is it something good
compare to configuration file?

regards
serge

.

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.