Add .webmanifest MIME type to Wasm.web.config for PWA support on Azure#121932
Merged
Add .webmanifest MIME type to Wasm.web.config for PWA support on Azure#121932
Conversation
Copilot
AI
changed the title
[WIP] Fix missing manifest after Azure deploy
Add .webmanifest MIME type to Wasm.web.config for PWA support on Azure
Nov 24, 2025
javiercn
approved these changes
Nov 24, 2025
f18c35c to
04c11ae
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds IIS MIME type configuration for .webmanifest files to enable PWA support for Blazor WebAssembly applications deployed to Azure. The change resolves 404 errors that prevent PWA installation when manifest files are not recognized by IIS.
- Added MIME type mapping for
.webmanifestfiles withapplication/manifest+jsonfollowing W3C Web App Manifest specification - Follows existing IIS configuration pattern with
<remove>followed by<mimeMap>entries
akoeplinger
approved these changes
Nov 26, 2025
Co-authored-by: javiercn <[email protected]>
04c11ae to
1821b95
Compare
This was referenced Dec 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blazor WebAssembly PWA apps deployed to Azure fail to load manifest.webmanifest with 404 errors, preventing PWA installation. The IIS web.config lacks MIME type mapping for
.webmanifestfiles.Changes:
<remove fileExtension=".webmanifest" />and<mimeMap fileExtension=".webmanifest" mimeType="application/manifest+json" />tosrc/mono/nuget/Microsoft.NET.Sdk.WebAssembly.Pack/build/Wasm.web.configThe MIME type
application/manifest+jsonfollows the W3C Web App Manifest specification. Pattern matches existing file extension handling in the config (.json,.wasm, etc.).Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.