Multiple choice technology programming languages

In order to create a Message Logger on the service side what interface will be required?

  1. IDispatchMessageInspector

  2. IAttachMessageInspector

  3. IlogMessageInspector

  4. IMessageInspector

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

IDispatchMessageInspector is the service-side interface for message inspection and logging. It provides AfterReceiveRequest (inspect incoming messages) and BeforeSendReply (inspect outgoing responses) methods. IClientMessageInspector is the client-side equivalent.