Calling web services from .NET

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have an ASP.NET application that calls web services on another host. Is
there a way that you can control the lifetime of the underlying TCP
connections that .NET uses to make the web service calls? From what I
understand, by default, .NET is configured to use a maximum of two
connections, and those connections stay open for up to 100 seconds after the
last data was sent/received. Is there a way to control the lifetime of
those underlying connections? In other words, can I have .NET use a
different connection for each request, or, time out the existing connection
quickly, so that it needs to create a new connection more often than the 100
second default timeout? Thanks in advance.


.



Relevant Pages

  • Re: How to do a Positive Control Check?
    ... I have a Nimbus 2C which has eight manual connections - six in the fuselage ... I do the control hookups in overlapping stages. ... With the ship well assembled and lubed, I do the classic positive control ... as someone more experienced put their hands on the flight surfaces. ...
    (rec.aviation.soaring)
  • Re: Slightly metalworking related, hospital bed
    ... It wasn't adjusting head and swapping the motor connections ... Well, I took the control board home, probed and traced things and couldn't find a problem. ... I saw power on both field connections all the time in respect to neutral. ... Having had to repair hospital beds too many times, I found that the wire connectors were often at fault. ...
    (rec.crafts.metalworking)
  • Slightly metalworking related, hospital bed
    ... It wasn't adjusting head and swapping the motor connections ... Well, I took the control board home, probed and traced things and couldn't find a problem. ... I saw power on both field connections all the time in respect to neutral. ... So I rig up a test light using one of his kids bed lamps. ...
    (rec.crafts.metalworking)
  • Re: Hacked and remote controlled computer
    ... look for strange connections with netstat... ... > remote control aplication, which I couldn't found. ... on your LAN that blocks all potentially dangerous ports? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: ADO data control, proper use
    ... It is not a good idea to open multiple connections from the same ... > connections is expensive and requires additional resources from the server ... > using ANY bound controls and use ADO library directly. ... > controls, you cannot control opening of the connections and each control ...
    (microsoft.public.vb.database.ado)