C
C#2y ago
Ruttie

✅ Blazor as desktop

This might be a weird question, but I'm curious: Is there a way to make a cross-platform blazor desktop app? It would be like avalonia or maui, but the UI would be made in blazor.
10 Replies
FusedQyou
FusedQyou2y ago
Blazor = .NET .NET = cross-platform Also, Blazor MAUI is a thing as of .NET 7
Ruttie
RuttieOP2y ago
Yeah, but then I'd need a web browser to display my app and I'd need a server to host my app
Patrick
Patrick2y ago
Blazor Hybrid is an option that uses webview to render files
FusedQyou
FusedQyou2y ago
If you need a web browser, you don't need a desktop app
Patrick
Patrick2y ago
if you want a "desktop app" Blazor Hybrid which has existed for a while is an option, otherwise just put those some blazor files onto a Blazor Wasm or Blazor Server website.
FusedQyou
FusedQyou2y ago
Unless you're confused about Blazor, hence the web browser. Blazor MAUI is a variant of Blazor that supports desktop apps, existing as of .NET 7
Patrick
Patrick2y ago
it's existed before .NET 7 and it's not a variant; it's just wrapped in a webview
Ruttie
RuttieOP2y ago
I'm getting confused 😅 What I mean is a UI framework like avalonia, but instead it would use blazor for designing instead of xaml. I have seen Blazor Hybrid before, but I don't know what kind of limitations a WebView component would give. I'll look into Blazor MAUI, but I don't know how well it's linux support is...
Patrick
Patrick2y ago
it's not called Blazor MAUI, it's called Blazor Hybrid they're the same thing it's just a shell app that uses a web view to render razor > I have seen Blazor Hybrid before, but I don't know what kind of limitations a WebView component would give. the same limitations any blazor web app would have, except you can shell out to native commands on the host OS > I'll look into Blazor MAUI, but I don't know how well it's linux support is... there is no linux support
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server