Skip to content

Error.razor should always be a static server rendered page #51031

@danroth27

Description

@danroth27

If you create new Blazor Web App with interactive WebAssembly rendering enabled globally, then the Error.razor page will get included in the client project. But this doesn't really make sense. The error page uses the HttpContext, which isn't available on the client. The error page should always be a statically rendered page from the server.

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