I have a Blazor WASM (Client) project, where I have a javascript file interop.js. I copied this in the wwwroot folder and called this way in the _Host.cshtml:
<