WCF: Proxy open and close - whaaa?
Posted
by MikeMalter
on Stack Overflow
See other posts from Stack Overflow
or by MikeMalter
Published on 2010-05-14T22:25:46Z
Indexed on
2010/05/14
22:34 UTC
Read the original article
Hit count: 288
wcf
I am maintaing a windows form application using WCF and are using net.tcp internally. The lifecycle of our connections is GET/USE/CLOSE.
We are having a problem with the application pool crashing with no trace. In looking at netstat, I can see when I come into the application as we have a login service. However, even though we are creating the proxy in a using statement, the connection in netstat does not go away until I physically close the application.
Is this right? Should I be doing something diffent on the client to force the connection to close?
So if the connection stays open, does it stay open for the duration of the openTimeout setting and then gets torn down?
Thanks.
© Stack Overflow or respective owner