source: PostgreSqlDotnetCore/Areas/Identity/Pages/Error.cshtml@ 2aea0fd

main
Last change on this file since 2aea0fd was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 2 months ago

init commit Elena

  • Property mode set to 100644
File size: 849 bytes
Line 
1@page
2@model ErrorModel
3@{
4 ViewData["Title"] = "Error";
5}
6
7<h1 class="text-danger">Error.</h1>
8<h2 class="text-danger">An error occurred while processing your request.</h2>
9
10@if (Model.ShowRequestId)
11{
12 <p>
13 <strong>Request ID:</strong> <code>@Model.RequestId</code>
14 </p>
15}
16
17<h3>Development Mode</h3>
18<p>
19 Swapping to <strong>Development</strong> environment will display more detailed information about the error that occurred.
20</p>
21<p>
22 <strong>Development environment should not be enabled in deployed applications</strong>, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the <strong>ASPNETCORE_ENVIRONMENT</strong> environment variable to <strong>Development</strong>, and restarting the application.
23</p>
Note: See TracBrowser for help on using the repository browser.