-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blazor Desktop to replace Electron Client #108
Comments
Seems like a big investment. Since blazor still uses a webview I dont see the appeal. Why not make a proper xaml interface then? You can use Uno platform and support every platform too (edit: and you can do so today! instead of waiting till maui/winui3 is complete). |
I think you misunderstand the architecture of the app. It already works on all platforms, and the UI is all Blazor Web-based, server-deployed. The desktop client is just a container which has some native client-side functionality to allow some native interop. It's a very minimal part of the app. The investment would only be to replace the electron container with something else (webwindow, in this case, because of its smaller memory and deployment footprint). So a few hours max. I've no interest in rewriting the UI (and essentially the app) to use Xaml, that doesn't really make much sense architecturally. Uno looks interesting, but I'm not sure there's a big future for Xaml really. But I'm bemused by your use of the word "proper". 😁 |
You are correct, I didn't check what the current state was. English is not my native language. |
Alternative option - once .Net 7 brings Blazor Hybrid, add WASM to the front end and use https://github.com/KristofferStrube/Blazor.FileSystemAccess to do the file access that the Desktop Client provides today. |
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-1/#blazor-desktop-apps - see https://github.com/dotnet/aspnetcore/issues/27217
The text was updated successfully, but these errors were encountered: