Asp.net Mvc 3 404 Error Handling
Contents |
Protecting Connection Strings and Other Configuration Information (VB)17. You can configure the StatusCodePagesMiddleware adding this line to the Configure method: app.UseStatusCodePages(); By default, this middleware adds very simple, text-only handlers for common status codes. The original exception object is not available, but the original requested URL is in the query string.
Return to the Default Page