Skip to content

Recognize WebAssembly wasm files as a known file type #3681

@kumpera

Description

@kumpera

It would be great if asp.net would recognize .wasm files. It took me, an aspnet noob, some debugging to realize that I had to set StaticFileOptions::ServeUnknownFileTypes for aspnet to serve a page using WebAssembly correctly.

This would be a minor quality-of-life improvement for people working with Blazor. 😉

Is your feature request related to a problem? Please describe.

It's a minor nuisance

Describe the solution you'd like

Recognize .wasm as a known file type.

Describe alternatives you've considered

Set the ServeUnknownFileTypes property when configuring your app with UseStaticFiles.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-static-files

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions