I'm creating a WCF service and I need to implement error handling. In ASP.NET it was possible to centralize error handling in the Application_Error
event handler in global.asax
.
Is there a comparable solution for WCF other than ASP.NET compatibility mode? I cannot use AspNetCompatibilityEnabled
because the transport is not guaranteed to be HTTP.