- 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.
-
+ @if (Model.ShowRequestId)
+ {
+
+ Request ID:@Model.RequestId
+
+ }
+
\ No newline at end of file
diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml
index 72b34ea..5ce9393 100644
--- a/Pages/Index.cshtml
+++ b/Pages/Index.cshtml
@@ -4,12 +4,12 @@
ViewData["Title"] = "Startpage";
}
-