473,414 Members | 1,947 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,414 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 1387
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.