-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Recognize WebAssembly wasm files as a known file type #3681
Copy link
Copy link
Closed
Labels
DoneThis issue has been fixedThis issue has been fixedarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-static-files
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DoneThis issue has been fixedThis issue has been fixedarea-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-static-files
Type
Fields
Give feedbackNo fields configured for issues without a type.