Hello,
I have developed a small WCF service which handles HTTP request.
I want to be aware of every fault that happens:
- everything that causes 500 Internal Server Error from the contracts view
- everything that causes a CommunicationException from the bindings view (I've written a custom one but am using standard ones also)
The errors should be put into the windows event log.
My question is:
- Is there some possibility to add a central event handler for the whole WCF stack which captures all Exceptions and prints them into the event log?
Greetings.