What would be the best approach to prevent sensitive data being shown to the user when an Exception
happens?
I've got an ASP.NET-MVC application which I recently updated to version 5 (not 5.1 yet). And whenever an Exception happens, I see data which I rather not want the user to see.