It seems that I have been mistreated with my web application. I assumed that app.UseExceptionHandler("/Error")(by default, my HomeController does not require the host "Home" for / Home / Error) to Startup.csredirect to the error page, but for me it is not.
My main problem was related to a database connection error that caused the POST controller method to fail. I was caught in a response returning 404, not error status.
I will need to learn how error handling works in more detail for the ASP.NET kernel.
Gavin source
share