Does anyone have smart solutions that they used to enable customErrors for everyone except "us", where us = everything on our network, IP range, etc.
Therefore, the outside world: a friendly error page. Us: unpleasant yellow screen.
How about a friendly page with additional information for internal guys (stack trace, line numbers, etc.)
You can easily add ip address verification to your error page and hide unpleasant data from external visitors.
Global.asax Application_Error, , , , - .
MSDN
Try using ELMAH .
ELMAH stands for error logging modules and error handlers, as well as an application error logger.
Source: https://habr.com/ru/post/1711013/More articles:How do I branch and tag before and after release? - svnList all alerts on a SharePoint site without using the SharePoint API? - web-serviceshow can I resolve relative path in web / windows application in c # - c #Test IDs for test automation in HTML markup? - htmlКак извлечь HTML-img-источники с регулярным выражением? - regexJQuery SSN mask - jqueryhow do you show page load time in php? - performanceFlex apps for iPhone - flexCan my website contain GPL code if I provide an API? - apiIs there anything that makes memory management easier for programming iPhone / iPod Touch applications? - memory-managementAll Articles