Error.
-An error occurred while processing your request.
+Error.
+An error occurred while processing your request.
- @if (Model.ShowRequestId) - { -
- Request ID: @Model.RequestId
-
Development Mode
-- Swapping to the Development environment displays detailed information about the error that occurred. -
+ @if (Model.ShowRequestId) + {
- The Development environment shouldn't be enabled for deployed applications.
- It can result in displaying sensitive information from exceptions to end users.
- For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development
- and restarting the app.
+ Request ID: @Model.RequestId
Development Mode
++ Swapping to the Development environment displays detailed information about the error that occurred. +
++ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +