From 53921ccea49bd8a7840d5bbc71c57c8691ed92bf Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 6 May 2021 18:29:43 +0300 Subject: Removed unnecessary usings, space identation got updated to tab identation and added authentication in Startup.cs --- ExamTemplate/Web/Views/Shared/Error.cshtml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ExamTemplate/Web/Views/Shared/Error.cshtml') diff --git a/ExamTemplate/Web/Views/Shared/Error.cshtml b/ExamTemplate/Web/Views/Shared/Error.cshtml index 08a315d..5a7ce95 100644 --- a/ExamTemplate/Web/Views/Shared/Error.cshtml +++ b/ExamTemplate/Web/Views/Shared/Error.cshtml @@ -1,6 +1,6 @@ @model ErrorViewModel @{ - ViewData["Title"] = "Error"; + ViewData["Title"] = "Error"; }

Error.

@@ -8,18 +8,18 @@ @if (Model.ShowRequestId) { -

- Request ID: @Model.RequestId -

+

+ Request ID: @Model.RequestId +

}

Development Mode

- Swapping to Development environment will display more detailed information about the error that occurred. + Swapping to Development environment will display more 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. + 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.

-- cgit v1.2.3