i have a potential problem with a .NET (2.0) web application that calls a web service on another server. the call can be spawned by every client page request, and i have encountered a "deadlock" error in the event log a few times, MS recommended increasing the value of "maxconnection" for such applications.
i was browsing a question about where can you change the value of "maxconnection" parameter, and the answer was to do in machine.config, using this section:
<add address="*" maxconnection="10"/>
my questions regarding that:
1) does it have to be in machine.config? can I create it for one specific app, using its web.config?
2) how do i know (programmaticaly) that .NET is actually using the value i set?
3) MS declares that you can add multiple maxconnection, example:
<add address="*" maxconnection="2"/>
in this case would there be a way for me to know that .NET is actually using the value i set for that specific address?