You should not have your .dll reliant upon a .config file, .config files are
for applications.
In your .dll, the object that requires the URL should expose a method for
passing the URL in, whether it is a function, or a property is moot.
Then, in your web.config file you can place your URL in the <appsettings>
<configuration>
<appSettings>
<add key="URL1" value="http://greyskin.co.uk" />
<add key="URL2" value="http://www.greyskin.co.uk" />
<appSettings>
<configuration>
look in the help files for some help on how to read these values, there are
objects there ready for you to use :o))
--
Of all words of tongue and pen, the saddest are: "It might have been"
Bill.Richards @ greyskin .co .uk
http://greyskin.co.uk
"Bill Gauvey" wrote:
I have created a dll in vs2005, this dll has a webservice call. I set the
url to dyna,ic and vs2005 added the code for the settings and added an
app.config for the url. I created a web project and consumed the dll. Now,
where in the web.config do I place the dynamic url settings for the dll?