Kerry,

The idea behind the .NET configuration architecture is
that you really only have one configuration file, so you
would simply paste the contents of your Test.exe.config
file into the Web.config file.

You can override this behavior on a per-appdomain basis
however I don't think you can control this in ASP.NET
because you are in charge of AppDomain creation.

----------------------------------------
- Mitch Denny
- [EMAIL PROTECTED]
- +61 (414) 610-141
-

-----Original Message-----
From: The DOTNET list will be retired 7/1/02
[mailto:[EMAIL PROTECTED]] On Behalf Of Kerry Whelan
Sent: Wednesday, 26 June 2002 21:57
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] ConfigurationSettings.GetConfig


When I use the line of code

ConfigurationSettings.GetConfig("sectionName");

in a web application, it automatically looks to the web.config file even
if the section handler is registered in the test.exe.config file (where
test is the name of the project)

How do I tell the code to look in the test.exe.config file for the
section handler?

I am sure I am missing something simple - I just can't see it!

Thanks,

Kerry

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to