If my web method throws an exception, what is the best practice for passing that exception to the client?
SoapException
and filling the Detail property. FaultException<T>
. As far as the catching is concerned a good place to do this is a custom IErrorHandler that would provide the appropriate fault to the client.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With