Skip to content

Blazor Web App is missing an error page #49853

Closed
@danroth27

Description

@danroth27

When deployed to production a Blazor Web App will redirect server errors using app.UseExceptionHandler("/Error");. But there is nothing listening at /Error so you end up with a 404. Typically the error page is handled by a Razor Page, but in a Blazor Web App it should be a Blazor component page.

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions