I'm currently using Avalonia (with C# and .NET) successfully to produce both Windows and Linux versions of our source code converters and have just started to look at targeting WebAssembly. This would be greatly preferred since it would run anywhere a modern browser exists and would do away with the need for users to install our software.
However, the biggest drawback I've seen so far is regarding file system access (as expected for anything running in the browser). I know that I can (and currently do) use the Avalonia StorageProvider methods, but suppose the user selects a .csproj file (C# project file) using StorageProvider.OpenFilePickerAsync - how do I access all the files explicit or implicit within that .csproj file? Currently, for the Windows or Linux target, I can just use StreamReader with a path to read the file and StreamWriter to write the converted file. How would this be done for the WebAssembly target?
i think for security resons, inside a browser you can NOT access Local files unless you use browser file reading APIs which is abstracted in StorageProvider
you can see in platform compatibility for a browsers you can't use the direct path methods