Last post May 03, 2013 04:54 AM by sukumarraju
May 02, 2013 03:32 PM|StevieWright|LINK
HTTP Rest... (WebInvoke) Is there a way of detecting on server side if and when a client receives a timeout ??? I'm implementing a WCF long polling service, and would like to know when the client receives a timeout and restarts the long polling HTTP call..
May 02, 2013 05:26 PM|sukumarraju|LINK
On the client side:
On the service side:
Timeouts in binding in Service
May 03, 2013 04:18 AM|StevieWright|LINK
Hi .. thx for the effort, but not what I was looking for. I am looking for an EVENT on SERVER side (so, not client), that a channel has timed out.
I've looked at OperationContect.Current.Channel.Closed and Faulted, but they don't get triggered on timeout.
May 03, 2013 04:54 AM|sukumarraju|LINK
ooking for an EVENT on SERVER side (so, not client), that a channel has timed out.
configuration for the Service and Client suggested above. Note that below configuration is for the Service (copied from above), which impact the service timeout behavior.
By configuring above it is quite feasible to increase/decrease the timeouts for the service. Note that same can be done at client side, BUT the service has to support/have the same configuration.
can read more at http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/84551e45-19a2-4d0d-bcc0-516a4041943d/