Questions tagged [browser-wasm]

3 questions
4
votes
1 answer

Does the .NET browser-wasm runtime have a virtual file system?

The new (non-Blazor) browser-wasm runtime of .NET 7 allows for .NET projects to be compiled to WebAssembly and run in the browser. There is limited documentation for this, but a lot of the details are still either undocumented or hard to find. If…
curiousdannii
  • 1,658
  • 1
  • 25
  • 40
1
vote
1 answer

What is a MemoryView in the .NET browser-wasm runtime?

In the new (non-Blazor) browser-wasm runtime of .NET 7 there are JSImport attributes for communicating with Javascript imports. Many .NET types are supported for passing as arguments to Javascript functions. If you pass a Span<> or ArraySegment<>…
curiousdannii
  • 1,658
  • 1
  • 25
  • 40
0
votes
0 answers

How to fix Application.LocalUserAppDataPath in the .NET browser-wasm runtime?

I have some existing code which accesses Application.LocalUserAppDataPath which I am porting to .NET's browser-wasm runtime. Dim sPath As String sPath = Application.LocalUserAppDataPath If Not IO.Directory.Exists(sPath) Then…
curiousdannii
  • 1,658
  • 1
  • 25
  • 40