Passing message to client without using FAULT CONTRACT
Recently I have been asked in an interview as how to pass exception detail to client
without using FAULT CO开发者_如何学编程NTRACT.
I was not able to answer.
But I need to know it. So looking forward to hear about the same.
I guess they asked you for this:
<behavior>
<serviceBehaviors>
<behavior name="ExceptionBehavior">
<serviceDebug includeExceptionDetailsInFaults="true" />
</behavior>
</serviceBehaviors>
</behavior>
精彩评论