If the client app(s) wants to get the reason for the precise exception cause, FaultException
which happens through FaultContract
finds it's place.
Another way to achieve the precise server exception is to set
<serviceDebug includeExceptionDetailInFaults="true" />
In production environment, must should set it to False.
Asked In: Many Interviews |