The question says it all,
I have some code like, this code is used very heavily:
using (HttpWebResponse response = _GetHttpWebResponse(requestURIString, msgBody, methodType, contentType, headers)) {
//*** do something with it...
//*** Call response.Close() ???
}
The code works fine today, but the connections to the server stay open for quite some time. (checked using TCPView)
Is there a benefit to calling the Close method? is it recommended, or maybe recommended not to do it, and why?