Repository navigation
Platform Support - Real world #14188
Replies: 4 comments 2 replies
|
Desktop is fairly stable at this point and should be fairly straightforward to port. However all the other platforms you mentioned require a SPA model to present your content (since they have no concept of windows). Which will likely require you to re architect things. Mobile platforms are also usable, but they are also fairly barebones out of the box. EG things like hamburger menus are not included by default. So you need to either make things like that yourself or use third party libraries. EG this one is meant to provide most of the features people expect on mobile: https://github.com/AvaloniaInside/Shell You also likely need some sort of routing system for SPA. It's not too hard to write your own or use an existing one like what is found in ReactiveUI. I personally write my own since it's easier to make it behave how I want. Web assembly is also pretty much the same. On a side note, if you are willing to pay for it: Avalonia also has XPF which is a port of WPF to Avalonia's rendering and input system. Allowing you to run your WPF app without changing much/any code on other platforms. |
|
@thevortexcloud Thanks for your time!
I was pretty sure of this.
As I said, my application runs on a single window. Every new window is treated as a UserControl that is opened inside this main windows in a TabItem or in a ChildWindow (https://github.com/punker76/MahApps.Metro.SimpleChildWindow). Does it solve the SPA problem? Once it is solved, is Avalonia mature enough to mobile (big screens) and WASM? How ready to business is it? Edit:
XPF is out of question by now. Rewrite in Avalonia is cheaper as long term. Thank you again. |
Are you talking about performance?
I did know the component. In my studies I will use Avalonia, Avalonia.DataGrid, Avalonia.Material and DialogHost.
I will use Avalonia.DataGrid, Avalonia.Material and DialogHost, I don't know enough about them on Mobile/Wasm. DataGrid is my Achilles' heel (I think so). That is why I am targeting bigger screens.
My application runs on .NET 8. We use PostgreSQL via Npgsql. It is just an client for a server database, I would guess it works without any problems, I will check this on Npgsql project. |
I will have and do some adjustments. Once it will be build from scratch (UI/UX) it is easier to test in all platforms and make it as smooth as possible for an ERP.
It is better to set aside for now. |
Uh oh!
There was an error while loading. Please reload this page.
Hi folks,
Context:
I have an application written in WPF. It is an ERP application that primarily runs on Windows, with some instances on MacOS powered by Parallels.
I have plans to rewrite the entire UI in Avalonia. The idea is to recreate the same screens from scratch, migrating the entire application from WPF to Avalonia.
My goal is to run this on desktop platforms (Windows, Linux, and MacOS) as well as on mobile devices (specifically larger screens such as iPads and Android tablets). It would be great to have this available on WebAssembly (Wasm).
Question:
How feasible is this? How "business-ready" or "perhaps in the future" are each platform?
I understand that the desktop transition is well-established, but what about iOS and Android (again, focusing on larger screens like tablets/iPads) and WebAssembly (Wasm)?
In order to make it less hard to think, here's some informations of my screens:
I open all my window inside an TabItem.
For searches inside an instead of Show() or ShowDialog() on my Window I put the content inside an SimpleChildWindow (MahApps).
All reactions