473,387 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Configuration data

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
2 1385
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: serge calderara | last post by:
dear all, I have problem accessing section group in my configuration application file. I got an error saying thta I can have only one section ???? here is my application configuration looks...
4
by: scottrm | last post by:
We have two developers, call them A and B, (on Windows XP) developing a number of asp.net web sites on a shared server (Windows 2003). Everything has been ok but recently for no apparent reason...
1
by: Dan | last post by:
Hi everyone, I have a web application that was built in .net. I received the source code and the DLL files, compiled the application, and when I run it on IIS, I get the following error. ...
1
by: Philip Wagenaar | last post by:
Hi, I used the microsoft configuration block to store settings for applications in the past and this worked fine. But now I have the following situation and I do not know how to solve this: I...
0
by: metaperl | last post by:
A Comparison of Python Class Objects and Init Files for Program Configuration ============================================================================= Terrence Brannon bauhaus@metaperl.com...
9
by: KarlM | last post by:
After reading some articles regarding confuguration data I'm a bit confused. Where is the right place for storing configuration data? - XML-files? - registry? - INI-files? (from a users point...
6
by: Jeff Hegedus | last post by:
I have a dll that requires some configuration data. I put the configuration data in a custom configuration section in a config file that is loaded in the installation folder of the dll. If I...
7
by: Peter Bradley | last post by:
OK. A bit behind the times, I know; but we're just moving over to .NET 2.0. How on earth do you manage configuration settings in a class library in .NET 2.0? In version 1.1, we used a handy class...
4
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An...
1
by: John | last post by:
Hi I am looking for an editor that will allow a user to edit application configuration easily and I have found below; http://www.codeproject.com/KB/cs/configeditor.aspx Unfortunately it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.