edandersen / blazor-desktop-crossplatform-sample

Example of an actual cross platform web and desktop hybrid Blazor app using the .NET 6 Blazor Desktop implementation
168 stars 46 forks source link

MAUI Blazor Hybrid support? #9

Open Eagle3386 opened 2 years ago

Eagle3386 commented 2 years ago

Awesome sample, but since I'm struggling with getting SignalR running in my MAUI Blazor Hybrid sample, would you be willing to take this 1 step further & add a MAUI Blazor Hybrid sample?

I'm asking, because Blazor Desktop - at least from what I understood - was renamed Blazor Hybrid & is supposed to be implemented via MAUI Blazor.

edandersen commented 2 years ago

I'm probably not going to take a good look at MAUI until its finished. I think it would be quite a bit of overhead for something like this and I think the value of Blazor here is not as a "mix" of native UI and web if thats what they mean by Hybrid rather than cross-platform.

It's a shame this component system doesn't look like its going out of preview.

Eagle3386 commented 2 years ago

It's a shame this component system doesn't look like its going out of preview.

By saying that, you mean MAUI or Blazor Hybrid?

Regarding your decline: that's a pity, as I'm struggling to port a working Blazor WASM video call app over to MAUI Blazor.

Nonetheless, to make it at least clear: with "Blazor Hybrid" they mean to use HTML/CSS for UI building while offering to access native hardware (which WASM can't) at the same time. In other words, it's basically an alternative to build MAUI apps with web technologies instead of XAML.

edandersen commented 2 years ago

I mean the Microsoft.AspNetCore.Components.WebView.* nuget packages as still being in preview.

Regarding your decline: that's a pity, as I'm struggling to port a working Blazor WASM video call app over to MAUI Blazor.

I don't work for Microsoft and am not an MVP. I don't owe them anything - I created this repo for fun (!). I might take a look at MAUI for this when I have time and would enjoy it. Sorry I can't be of more help.

Eagle3386 commented 2 years ago

I mean the Microsoft.AspNetCore.Components.WebView.* nuget packages as still being in preview.

Ah, I see. Well, with MAUI that might be "obsolete" anyway - from MS POV, that is. ;)

I don't work for Microsoft and am not an MVP. I don't owe them anything - I created this repo for fun (!). I might take a look at MAUI for this when I have time and would enjoy it. Sorry I can't be of more help.

I apologize for my wording "Regarding your decline" which wasn't intended to suggest your decline, but that you've declined (or rather rejected) to provide further help - the fact that you can't for the reasons you stated yourself was something I didn't know and/or didn't take into account. Again, I apologize for possibly sounding rude while I neither intended to do so, thought like that & wasn't even aware of maybe appearing to be such a bad person.