-
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
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.
It would be great if asp.net would recognize
.wasmfiles. It took me, an aspnet noob, some debugging to realize that I had to setStaticFileOptions::ServeUnknownFileTypesfor 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
.wasmas a known file type.Describe alternatives you've considered
Set the
ServeUnknownFileTypesproperty when configuring your app withUseStaticFiles.