I created a Blazor Wasm standalone app + an ASP.NET Core 8 Web API with Visual Studio 2022. Both are hosted on the same server.
The app runs fine on a desktop or laptop.
But when I try to open it on mobile it fails. Load progress shows 98% and the Blazor's yellow error message at the bottom. I tried it on Android and iOS, both fails.
I searched for the error. There are many topics on it.Here Microsoft's explain the integrity check - Integrity checkHere discussion about the error - integrity attribute
I tried these steps:
- deleted
bin
andobj
folders - added attributes
BlazorEnableCompression
andBlazorCacheBootResources
- deleted gz and br files
- added MIME types to
web.config
- set web application firewall to "Detection Only" in Plesk
When I compare the integrity key in the console message and in the blazor.boot.json
they are different. I tried to replace the key by adding the key in the message in blazor.boot.json
. It didn't help.
Any suggestions?