From 8880e0efec7462f6865e528f01b9973c6e722e8b Mon Sep 17 00:00:00 2001 From: transtrike Date: Sat, 19 Dec 2020 16:32:14 +0200 Subject: Blazor Template added --- src/DevHive.Blazor/Pages/Error.cshtml | 42 +++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 src/DevHive.Blazor/Pages/Error.cshtml (limited to 'src/DevHive.Blazor/Pages/Error.cshtml') diff --git a/src/DevHive.Blazor/Pages/Error.cshtml b/src/DevHive.Blazor/Pages/Error.cshtml new file mode 100644 index 0000000..9e1d3fa --- /dev/null +++ b/src/DevHive.Blazor/Pages/Error.cshtml @@ -0,0 +1,42 @@ +@page +@model DevHive.Blazor.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