Jump to content

bashis

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by bashis

  1. I've heard many times that it is possible to use Blazor for the UI, but I'm struggling to get it working. I'm trying to create a Blazor WebAssembly app and run it under CEF. From what I see during the initialization Blazor tries to fetch a configuration file blazor.boot.json and to do that it uses the same URL root as the one that is currently running in CEF. However the fetch operation does not support the package:// protocol that is used when the browser window is created and this results in the following error: blazor.webassembly.js:1 Fetch API cannot load package://package_name/wwwroot/_framework/blazor.boot.json. URL scheme "package" is not supported. (anonymous) @ blazor.webassembly.js:1 blazor.webassembly.js:1 TypeError: Failed to fetch at Function.<anonymous> (blazor.webassembly.js:1) at blazor.webassembly.js:1 at Object.next (blazor.webassembly.js:1) at blazor.webassembly.js:1 at new Promise (<anonymous>) at blazor.webassembly.js:1 at Function.initAsync (blazor.webassembly.js:1) at blazor.webassembly.js:1 at blazor.webassembly.js:1 at Object.next (blazor.webassembly.js:1) Is there any workaround for this issue? Is Blazor actually supported?
×
×
  • Create New...