I have a DLL that references a web service.
The block it has put into the app.config is (I have changed the names but you'll get the idea):
<applicationSettings>
<DLLName.My.MySettings>
<setting name="DLLName_WebReferenceName_ASMXName"
serializeAs="String">
<value>http://URL/Filename.asmx</value>
</setting>
</DLLName.My.MySettings>
</applicationSettings>
My website references this DLL.
The question is, what do I add to the web.config to override the above setting (alternativly, do I just put the app.config in the BIN directory)?
I need to be able to override the URL for the webservice on the production server because it can't reach the URL specified in the app.config (that is a different issue we wont go into).
See Question&Answers more detail:os