Search

Showing posts tagged Blazor.

A Edge bug that can cause WASM apps to crash

A Edge bug that can cause WASM apps to crash

I've been working on a mixed-mode Blazor app for some time, and noticed that every now and then, when it switched from server rendering to WASM, I would see the page content briefly, then the browser tab went black, and I got a crash message. It took some hours of hard work, which ended up being an Edge bug, nothing to do with my code.

OnInitializedAsync() - No suitable method to override

OnInitializedAsync() - No suitable method to override

I've been working on a new Blazor project for a few weeks, and have been bothered by the number of seemingly odd errors reported in the Visual Studio error panel. The main reason they bothered me (other than the unhelpful fact that they all claim to be on line 1 character 1 of the relevant file, which isn't very helpful) is that the code runs fine. Whilst this has been annoying me, as things were working, I didn't spend too much time on it.

However, I just ran into another problem, and the solution turned out to solve this one as well.