Home > Net >  Running Blazor WASM on Internet Explorer just shows "Loading.." instead of a meaningful er
Running Blazor WASM on Internet Explorer just shows "Loading.." instead of a meaningful er

Time:06-12

We've deployed a Blazor WASM app in an org that has access to multiple browsers however the default (for now) happens to be IE 11 which doesn't support WASM.

The issue is the confusion when clicking URLs from notification emails (taking the user to the Blazor app), the user ends up in IE 11 with "Loading.." on the top left corner of the screen. Stays like that without any meaningful feedback.

I tried searching for this "Loading.." message in the source without success, is there a way to show something more meaningful to the user?

e.g. "Loading.. (Notice: this app is not compatible with Internet Explorer)"

CodePudding user response:

The loading message is in your index.html - and you can change it to whatever you like. You can also advise the org to configure Internet Explorer mode in Edge

index.html

<body>
    <div id="app">Loading...</div>

    <div id="blazor-error-ui">
        An unhandled error has occurred.
        <a href="" >Reload</a>
        <a >           
  • Related