J
Joe Reazor
I have an ASP.Net application that uses some Class Libraries (dll's) that I
created separately. One of these dll's connects to a Web Service. I
created the Web Reference to my web service and doing so creates my
App.Config file. I thought I would then be able to use the config file to
specify where the Web Service existed to connect to. The problem is that I
found out that Class Libraries (dll's) don't have their own config files,
they must use the config files of their containing app. In this case its a
web app. So I try adding the appropriate settings in the Web.Config file
hoping that it would be picked up by my dll, but no luck. Is there
something I am missing? Is this possible in the standard method that
everyone says to use, is there some other way, or am I screwed and I will be
stuck recompiling my dll every time I want to change the host of the web
service.
TIA for any help.
==============
Joe Reazor
Gorbel Inc.
email: joereaATgorbelDOTcom
created separately. One of these dll's connects to a Web Service. I
created the Web Reference to my web service and doing so creates my
App.Config file. I thought I would then be able to use the config file to
specify where the Web Service existed to connect to. The problem is that I
found out that Class Libraries (dll's) don't have their own config files,
they must use the config files of their containing app. In this case its a
web app. So I try adding the appropriate settings in the Web.Config file
hoping that it would be picked up by my dll, but no luck. Is there
something I am missing? Is this possible in the standard method that
everyone says to use, is there some other way, or am I screwed and I will be
stuck recompiling my dll every time I want to change the host of the web
service.
TIA for any help.
==============
Joe Reazor
Gorbel Inc.
email: joereaATgorbelDOTcom