Using Web Api 2.2 I have these interfaces to do global exception/logging:
IExceptionHandler
IExcceptionLogger
Both interfaces are not present in MVC6 ASP.NET 5
They were probably not ported.
I would like to know what is NOW at the moment a good way for global exception/logging handling?
Should I derive from ControllerActionInvoker and override its InvokeActionAsync method?
I need to differentiate between exception handling/logging when an exception occurs inside an action AND before an action like message handler(middleware)