WASM in .net maui #6178
Replies: 20 comments 15 replies
-
If it supported WASM I'd take it up in a flash! |
Beta Was this translation helpful? Give feedback.
-
I am confused as well. Microsoft invested a lot into Hybrid Blazor, but I don't get why. Things have moved on and people don't want to ship web views as mobile apps anymore. Uno has a really interesting approach in which it even renders the DOM instead of pixels on a canvas, which makes it even a fine candidate for simple websites with the option to expand to other platforms. WASM is the new foundation for browser script languages that replace JS. Blazor, Avalonia, Uno, Flutter, etc. prove that it's possible, the missing part for MAUI is generating the HTML/CSS from a MAUI app. |
Beta Was this translation helpful? Give feedback.
-
I absolutely wish MAUI would target WebAssembly. The problem with MAUI targeting WebAssembly, is MAUI is a handler based UI framework. MAUI is abstract and implementations for the UI come from native OS UI backings. E.g. WinUI(which is interfaced itself even further, and targets UWP, WPF, Win32, etc), Cocoa on MacOS, Androids UI API, etc. I'm sure you can see where I'm going with this here. To target WebAssembly, you need a UI framework to map MAUI handlers to, but AFAIK, there isn't one. It has to be created. Uno renders their way with the DOM, and Flutter renders to a canvas. Flutters UI engine is it's own entire rendering framework. It doesnt rely on any backing. That also requires them to create their own control library in multiple flavors(each OS's theme; Fluent, Cuppertino, Material, etc). Uno targets UWP/WinUI depending on which project template you choose. If, and when, MAUI targets WebAssembly, not only do they have to create a UI implementation to bind handlers to, it has to be created in each theme flavor since there is no UI API on a browser with a specific theme. |
Beta Was this translation helpful? Give feedback.
-
Please give us WASM/Web target in MAUI! |
Beta Was this translation helpful? Give feedback.
-
also dream about it |
Beta Was this translation helpful? Give feedback.
-
I too would like this. It seems like the result would overlap significantly with OpenSilver, would it not? If nothing else, it might be worth referencing as a pixel precise platform for representing XAML in the HTML DOM on WebAssembly. |
Beta Was this translation helpful? Give feedback.
-
I would like this too! |
Beta Was this translation helpful? Give feedback.
-
+1 there. uno.platrorm looks cool. and it would be awesome to see rendering xaml into html and running in browser |
Beta Was this translation helpful? Give feedback.
-
WASM is the missing piece in .net maui |
Beta Was this translation helpful? Give feedback.
-
I am a fan of WASM in Maui A big yes for WASM in Maui |
Beta Was this translation helpful? Give feedback.
-
When will MS support wasm in maui? I focus on maui for a long time, but it does not have web/wasm and linux support even plan. It seems that MS does not want any UI support for linux. I feel confused and disappointed. |
Beta Was this translation helpful? Give feedback.
-
Now that Uno Platform supports 3rd party Maui controls hosted in Maui Islands, there's all the more incentive to get WASM working. |
Beta Was this translation helpful? Give feedback.
-
Please give us MAUI Wasm target! +1 |
Beta Was this translation helpful? Give feedback.
-
I left C# because of JavaScript (good luck finding a C# job that doesn't require JavaScript). MAUI + Wasm could bring me back! |
Beta Was this translation helpful? Give feedback.
-
We are not understanding one another... |
Beta Was this translation helpful? Give feedback.
-
That used to be a dead end. Search engines may have improved so I'll try that again. Somehow it hadn't occurred to me, so I appreciate the suggestion |
Beta Was this translation helpful? Give feedback.
-
For me, running inside wasm means at least I can run inside a browser which is going to use browser to fetch things and enjoys the benefits of browser caching |
Beta Was this translation helpful? Give feedback.
-
I made a POC for a Webassembly Xamarin Forms target years ago: https://github.com/legistek/Xamarin.Forms.Platforms.Webassembly If it works on Xamarin Forms it would work on MAUI. It's 100% feasible. No matter what Microsoft might tell you, this was a business decision on their part not to support this. I can only speculate that this is related to Office - being a cross platform suite with virtually identical desktop and web versions - and not wanting to put out a development platform for the world to use and potentially make apps that can compete with it. And why do I think this? Because I did take the concepts in my POC and we turned it into a proprietary product that I don't want to give away :) (And that's also how I know it's 100% possible). |
Beta Was this translation helpful? Give feedback.
-
Bump, absolutely needed |
Beta Was this translation helpful? Give feedback.
-
@davidortinau Why .net maui does not support wasm to target web platform just like uno or flutter ?
Right now blazor hybird is present for web ,but it is kind of code sharing instead of from single code base
Beta Was this translation helpful? Give feedback.
All reactions