Recover from a WCF Service Fault
I’ve been looking for an elegant way to recover from a WCF Service Client’s channel going into a Faulted state, and after searching for some time came across a great simple quick and dirty example:
When creating your WCF Service Client, add an event handler to the ICommunicationObject.Faulted event on your service client:
In the event handler, re-create the channel using the channel factory:
You can re-use the AuthChannel_Faulted event by checking the object type and using the correct ChannelFactory based on type.
Method obtained from : Nahid’s Blog