@page "/Error" @layout MainLayout @using System.Diagnostics @using Microsoft.AspNetCore.Mvc @attribute [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] Error - Something Went Wrong
An Error Occurred Sorry, an error occurred while processing your request.
Our team has been notified and is working to resolve the issue.
@if (ShowRequestId) { Request ID: @RequestId Please provide this ID when contacting support to help us track the issue. } Back to Home
@code { [CascadingParameter] private HttpContext? HttpContext { get; set; } private string? RequestId { get; set; } private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); protected override void OnInitialized() { RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; } }