Internal Server Error 500 is not returned in Http Response using Kestrel Web Server (White Screen of Death) AspNet 6

Question: How to handle status code 500 when the application is in production. This seemingly is very annoying error when the Application is deployed in production and a 500 Server Error happens, the User sees a White Screen of Death. How to solve this problem? I need to handle Response code 500 so the application can route to an error page. This does not seem to be the case, only Status Code 404 and others seem to be handled by the appliction.

 

Do you know someone who can answer this question?


Edit this Article
Internal Server Error 500 Kestel Error 500 AspNet 6 cant handle error 500 Questions published
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.
Your Session is Ending
Login to Continue


© 2021 - ErnesTech - Privacy