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?





Mark said:

Did you resolve this issue?

Posted On: April 02, 2023 14:42:32 PM

© 2024 - ErnesTech - Privacy
E-Commerce Return Policy