Mocking ASP.NET MVC's ExceptionContext - aka How to mock global exception filter.
The Challenge
Recently at work, I implemented a global exception filter using ASP.NET MVC (System.Web.Mvc) that implements IExceptionFilter to capture and handle any uncaught exceptions. I'm a big fan of this approach for APIs because it allows excep...
quangphan.hashnode.dev3 min read