Open ClimberBear opened 1 month ago
Those are samples for reference not "follow along"-instructions. Since we don't use it in our project, so there might be missing steps.
Not sure what you mean with b?
The b) is a problem of cut&paste. You duplicated the folder, and forgot to modify the javascript called. It worked because the second one call the first one javascript, and is the same code.
I'm trying to execute the samples for JS interoperability.
I'm having a lot of problems.
a) I miss the
@rendermode InteractiveWebAssembly
in the book (is in the github code only) b) The fileChapter10/MyBlog/SharedComponents/Demo/JSInteropSamplesWasm/JSToStaticNET.razor
has the code pointing to sample inawait JSHost.ImportAsync("nettojs", "../JSInteropSamples/NetToJS.razor.js");
but, on the other hand the fileNetToJS.razor.js
exist in the correct folderJSInteropSamplesWasm/NetToJS.razor.js
Still fighting to get this working in my installation. It's possible new issues arise.