Error handling
Error handling is a particularly important piece in any reliable and stable software application, and ASP.NET Core applications are no different. The error handling strategy differs while the app is under development and when it is deployed. While developing, the developer wants to see highly detailed error messages so that he/she can go to the crux of the issue and fix it.
However, such a level of detailing would not be great in production as the end user would not understand any of that and it would give hackers too much information, which they could utilize to compromise your app. Also, the end user would rather appreciate a user-friendly message than some stack trace, which would be Greek to them.
So, we display a developer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access