Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Cross Platform NETCORE UI?

Does anyone have any experience/knowledge about this?

Currently, my app is written in C#, it is not netcore due using WPF. I want to convert it to netcore so it could be used cross platform, anyone got any experience with this?

Any ways to do it cross platform, doesn't have to be WPF.
Never tested this Avalonia UI but it says it is a cross platform ui framework.
You can check it their work on github.

Can't post a link at the moment. Sorry

Regards,
Rmdy
Cross platform WPF/WinForms desktop application development using the default features available in .NET Core or .NET 5 without using any other libraries or frameworks is currently not possible because WinForms/WPF applications are limited to Windows only at this point in time.

However, there are solutions that you can use to achieve your goals such as:


And obviously there's Blazor which relies on the browser:
https://dotnet.microsoft.com/apps/aspnet...pps/blazor
[Image: vp6iypF.gif]
(Nov 30, 2020 02:59 PM)MavenGradle Wrote:  Cross platform WPF/WinForms desktop application development using the default features available in .NET Core or .NET 5 without using any other libraries or frameworks is currently not possible because WinForms/WPF applications are limited to Windows only at this point in time.

However, there are solutions that you can use to achieve your goals such as:


And obviously there's Blazor which relies on the browser:
https://dotnet.microsoft.com/apps/aspnet...pps/blazor

You have made a great post buddy and clearly explained the current problem which developers encounter on this issue.From mentioned frameworks my choice would most likely be Avalonia for cross platform development.And I think that Avalonia would be ideal especially for users who have experience in WPF,because Avalonia is literally cross platform version of WPF and uses a derivative of WPF which supports Windows, Linux, Mac, IOS and Android.But it is also important to emphasize that the listed frameworks are still on the way to rise and that they are not stable as well as having a lot of bugs which will be removed over time.But that's my opinion,again you make a great post buddy and thanks for that.
I wish you all the best.
buy me a coffee eth:0x88621A52aa5Eb3b6503628369687111810186c58
As MavenGradle correctly pointed out, your best bet would be one of those options.

I personally use Xamarin.Forms when I need to target iOS, Android and Windows 10 (UWP) at the same time. You can also add WPF or macOS as one of the targets, but my experience tells me it's not really suitable for production.

If you are good with WPF/UWP's XAML flavour, you are better off using Uno framework as it pretty much does the same thing + you can get the WebAseembly as well. I haven't spent much time on it, but the project itself sounds really promising


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by ExaltedNov 12, 2020 06:16 AM 7 434 Nov 12, 2020 06:16 AM
Last Post: Exalted
[C] by testUserMay 14, 2020 05:52 AM 2 169 May 14, 2020 05:52 AM
Last Post: saltycracker
[C#] by ImmortalFeb 26, 2018 10:08 PM 6 225 Feb 26, 2018 10:08 PM
Last Post: SL x TnT