Custom Config File in .NET
- From: "BillGatesFan" <klj_mcsd@xxxxxxxxxxx>
- Date: 11 Apr 2007 14:25:21 -0700
I find this hard to believe but I have put in a good amount of time
researching this issue.
You mean to tell me I can't create a custom config file and do
something like the following:
ConfigurationSettings.AppSettings.Load("app.config");
string connstr = ConfigurationSettings.AppSettings["connstring"].Value
I have a queued component that needs a config file. Inside of MSMQ I
can pass in a path to the config file. So each time the queued
component is called it passes this path inside a function inside the
component.
Now I have to treat that path like an XML doc?
XmlDocument xd = new XmlDocument();
xd.Load(path);
You telling me that Microsoft does not have this functionality yet?
I'm shocked!
.
- Prev by Date: Re: cdoMessage question - sending to verizon phone
- Next by Date: Custom Config File in .NET
- Previous by thread: Database connectivity best practices
- Next by thread: Custom Config File in .NET
- Index(es):
Relevant Pages
|