Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4279

Integrity check fails on mobile platforms in Blazor Wasm App

$
0
0

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

enter image description here

I tried these steps:

  • deleted bin and obj folders
  • added attributes BlazorEnableCompression and BlazorCacheBootResources
  • 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?


Viewing all articles
Browse latest Browse all 4279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>