I am using Blazor wasm that connects to the "Netcore" server. I made this from the default template which has "Client", "Server", and "Shared". I use MAC Visual Studio 2022. I have tried to:
- Close VS
- Delete "bin" and "obj" folder from "Client" and "Server"
- Clean all (clean solution)
- Rebuild the app by right click the "Server" project and publishing to folder
- Compress (zipped) the published folder
- Upload the folder to my hosting provider with IIS (Interserver) and extract it
This is the error I got:
Failed to find a valid digest in the 'integrity' attribute for resource '' with computed SHA-256 integrity 'xV9SflNt5Ex5gP7OznQorlp2VkdJXkcAiopU h5DRzY='. The resource has been blocked.
I have followed all the solutions I found online, including disabling the Blazor cache compression:
<PropertyGroup>
<BlazorEnableCompression>false</BlazorEnableCompression>
</PropertyGroup>
But it does not work. Same error happens.
CodePudding user response:
The problem is actually from my hosting provider. There is a firewall rule which prevents .dll
access. After I contacted the hosting provider support, they disable the firewall rule. Now it works fine.