From ee80c6ff969b5b4cfc3d1292f15928fc8bd2d667 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 13:54:23 +0200 Subject: Replaced ASP.NET Core MVC with Blazor --- Web/Pages/Error.cshtml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Web/Pages/Error.cshtml (limited to 'Web/Pages/Error.cshtml') diff --git a/Web/Pages/Error.cshtml b/Web/Pages/Error.cshtml new file mode 100644 index 0000000..d6e837b --- /dev/null +++ b/Web/Pages/Error.cshtml @@ -0,0 +1,42 @@ +@page +@model Web.Pages.ErrorModel + + + + + + + + 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