5 ms·
I'm curious, for anyone that has experience with .NET on Linux, for new stuff that you're writing, is it better to go with this or with Mono? How about if you
by supercheetah 10y ago
I'm curious, for anyone that has experience with .NET on Linux, for new stuff that you're writing, is it better to go with this or with Mono? How about if you wanted to give it a GUI interface?
- benaadams 10y agoFor server loads .NET Core is better on Linux; if you want GUI then Mono. (Unless you do an Electron web embed for GUI or similar) Also Mono is full framework compatible; whereas .NET Core doesn't have the same api surface area as full framework (a lot of the Win specific stuff dropped, some older apis dropped etc). So it depends on the feature set you need also.
- judah 10y agoYes, the team I work on has experience with both, and .NET Core is the way to go. I work on RavenDB[0], a NoSQL database for .NET. We tried porting our database technology to Linux using Mono, and we encountered many serious bugs. We have since abandoned that port and moved to .NET Core. It is successful, and we will be releasing that in the next major version of our software, RavenDB 4.0. [0]: http://ravendb.net http://ravendb.net
- spriggan3 10y ago> How about if you wanted to give it a GUI interface? There is no GUI support for .net core, there is no plan to support GUI apps AFAIK, it will be mostly ASP.NET. Sure somewhere in the future WPF might be ported, but right now if you want GUI you need to use Mono and GTK+. .net core is really asp.net core right now. Keep in mind that microsoft doesn't maintain 3rd party DB drivers or ORM adapters for Entity Framework, aside from sqlite maybe. I wasn't able to run PostGres with EF with the RC1 on .net core, while it worked when targeting mono.