473,327 Members | 1,976 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,327 software developers and data experts.

Configuration variables

Hi all,
What is the best way to store the configuration varaibles of the application (E.g: Registry, Web Config file, Xml file , text file etc)?

E.g: of configuration variable is

*Connection string
*Support Links
*# of retiries to SQL Server before exiting.

What i am looking for is the an highly fast way to access the variables( As it will involve disk operation) and also secure.Not inclined to user Registry -- if i have better option.

Thoughts on the above will be appreciated.

Thanx in advance

Regards
Vineet Batta
Nov 18 '05 #1
1 900
in .net mostly people store these settings in web.config file...

--
Thanks and Regards,

Amit Agarwal
Software Programmer(.NET)
"vineetbatta" <an*******@discussions.microsoft.com> wrote in message
news:CE**********************************@microsof t.com...
Hi all,
What is the best way to store the configuration varaibles of the application (E.g: Registry, Web Config file, Xml file , text file etc)?
E.g: of configuration variable is

*Connection string
*Support Links
*# of retiries to SQL Server before exiting.

What i am looking for is the an highly fast way to access the variables( As it will involve disk operation) and also secure.Not inclined to user
Registry -- if i have better option.
Thoughts on the above will be appreciated.

Thanx in advance

Regards
Vineet Batta

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004
Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Famille Delorme | last post by:
Sorry if this discussion are already submited, but I don't find anything really interresting for me. And sorry for my bad english, it is not my native language. I wrote a program in Python for a...
3
by: vineetbatta | last post by:
Hi all, What is the best way to store the configuration varaibles of the application (E.g: Registry, Web Config file, Xml file , text file etc)? E.g: of configuration variable is ...
4
by: Jessard | last post by:
Hi Guys and Girls, I have a situation where I am wishing to deploy a .NET dll onto a number of servers. The classes in the DLL will be used by VBScripts. When one of the classes - Connection -...
4
by: Oliver Stratmann | last post by:
Hello All, does anyone know, where the configuration of a db2-client on a windows-machine is stored? I searched the registry and the filesystem on my machine and couldn't find anything. Is...
4
by: Claire | last post by:
Hi We're newish to visual studio .net. I wanted to store some user defined variables. Normally I'd have written these to the registry but my colleague informed me that Microsoft was trying to...
6
by: chokk | last post by:
All, I am getting the following error when I try to run a form page. Can someone tell me what this is about and show me how to fix it. Thnaks. Server Error in '/' Application...
1
by: QT | last post by:
Hi. Is it possible to use configuration files with a shared add-in component? I have added one to my solution for the add-in, but I can't pick up the values from my config file. If my...
5
by: Jay | last post by:
I want to store various text settings in a configuration file, that I will read into C# and make use of. Here's a simplified example of the file: #comment loop(var=1:5){ deviceundertest ...
4
by: =?Utf-8?B?SmFzb24gUmljaG1laWVy?= | last post by:
Is there a way to catch an application configuration error on startup? I have written a windows service. If there is an error in the configuration file (such as invalid xml) the exception is...
0
by: Thom Little | last post by:
The best source of information I found anywhere on the Configuration is "Unraveling the Mysteries of .NET 2.0 Configuration" at...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.