From 9764af998a4c91196687b8d27693b935a243ab84 Mon Sep 17 00:00:00 2001 From: Ian C Date: Thu, 21 Mar 2024 14:54:11 +0000 Subject: Initial checkin following project regeneration to make post work --- Pages/Error.cshtml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Pages/Error.cshtml (limited to 'Pages/Error.cshtml') diff --git a/Pages/Error.cshtml b/Pages/Error.cshtml new file mode 100644 index 0000000..6f92b95 --- /dev/null +++ b/Pages/Error.cshtml @@ -0,0 +1,26 @@ +@page +@model ErrorModel +@{ + ViewData["Title"] = "Error"; +} + +

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. +

+

+ 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