Can a DLL read from Web.Config?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an ASP.NET web site that uses a .NET dll. The DLL has a DataSet in
it. Problem is, the DLL uses an app.config file (and worse yet, it uses the
stupid settings.settings file, which in turn builds the app.config). So, now
I have to configure settings in the web.config, settings.settings, and
app.config!

Is there any way to have my DLL use the web.config file and ignore
app.config and the settings.settings files?

Thx in advance.
 
Hello Todd,
If you just place your dll in the bin folder, and place the config info in
the app.config file into web.config file, the dll will read the info from
the web.config as it would do with the app.config file

Regards,
Wessam
 
Back
Top