.NET Core and Mono: application development for Linux

Asked

Viewed 278 times

2

Currently I have needed to develop applications (desktop) for Linux, and one of the requirements is that it would have to be using C#.

And researching/testing, I got two options:

  • .NET Core or
  • Mono.

What I used the Mono, I lose a lot of graphic resources (that visual Windows 98), and by FAQ it was possible to notice that the graphic resources (Winforms) can be a little problematic.

Regarding the . NET Core I have no practical experience yet, just a few configuration and installation tests.

What are the main differences between these two approaches (.NET Core or Mono)? There are cases where you are most recommended to each other?

In the Quora and in the Soen found threads interesting on the subject.

  • 1

    https://stackoverflow.com/questions/37738106/net-core-vs-mono

  • I’m not very familiar with GUI on Linux, but I think the way would be a gtk or Qt wrapper, or even a web interface. System.Windows.Forms and WPF are not supported, but there are MS plans to port the interface: https://docs.microsoft.com/en-us/answers/questions/19216/wpf-in-linux.html

1 answer

2


The answer doesn’t make much sense anymore, see The . NET Framework is dead?. Mono’s fate is the same.

I prefer the . NET Core that already has a larger community and Microsoft’s priority support. It has numerous advantages and few disadvantages compared to Mono. And almost everything that has the most in Mono can be transposed to the . NET Core.

Mono should only be used where Core cannot be used, which is very rare nowadays. We have no way of knowing if this is your case, nor can you say it beforehand, but only think of it if you have a good reason.

As for the GUI, it is the same, in Linux the options are identical, that is, all made for Mono. No expectations of using Windows Guis on Linux for obvious reasons.

The rest are minor details that are unimportant. Quora’s answers are questionable. There are errors in the most voted Soen response (at least in the original version). Most are quite complicated.

  • I had not taken into consideration the issue of support for the .NET, is a very important point, thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.