473,586 Members | 2,495 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1403
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.confi g
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.Configur ation
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
IsolatedStorag e, 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
2751
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 like: ================================================ <?xml version="1.0" encoding="utf-8" ?>
4
2692
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 whenever developer A builds a particular project (which builds with no errors) and then tries to access the web site they just built they get the error...
1
1393
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. Now, I think I know what may be causing the problem. The project required a DLL called Trinet.DLL, This DLL was not included with the source code,...
1
1171
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 want to write a windows service that stores its settings in a xml file using the configuration block. And I want to write a windows forms...
0
2495
by: metaperl | last post by:
A Comparison of Python Class Objects and Init Files for Program Configuration ============================================================================= Terrence Brannon bauhaus@metaperl.com http://www.livingcosmos.org/Members/sundevil/python/articles/a-comparison-of-python-class-objects-and-init-files-for-program-configuration/view
9
2267
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 of view, ini-files are more comfortable to read and edit) Where should I store user specific config data? Where should I store machine specific...
6
4798
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 install the dll to the same directory as the exe which uses it, everything works as expected but if I load the dll in any other directory, I get the...
7
10314
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 called AssemblySettings that someone (I forget his name) had written. When the class library was finished, you deployed it to the GAC and put the...
4
57050
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and...
1
2872
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 does not read my app.config (given below). Could someone please give me a quick hint as to what can I do to fix this?
0
7915
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7841
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8204
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8339
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7965
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
3838
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1184
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.