5 ms·
Somewhat disappointing that it's just a console app. I'd love to be able to do cross platform C# desktop development. There shock be something equivalent to Win
by ZanyProgrammer 10y ago
Somewhat disappointing that it's just a console app. I'd love to be able to do cross platform C# desktop development. There shock be something equivalent to WinForms/WPF on OSs other than Windows.
- ohitsdom 10y agoThis is now possible with the new .NET Core. https://docs.microsoft.com/en-us/dotnet/articles/core/index https://docs.microsoft.com/en-us/dotnet/articles/core/index
- revelation 10y agoThe one thing they explicitly do not have on the roadmap for .NET Core is any sort of desktop environment / UI stuff. There won't be a Forms or WPF port.
- flamedoge 10y agoSure there won't be shared UI development support, but you can easily encapsulate app logic from UI. If you're brave enough you can try using Gtk# from http://www.mono-project.com/docs/gui/ http://www.mono-project.com/docs/gui/
- egeozcan 10y agoI got the impression that Xamarin was going in that direction?
- nbarbettini 10y agoXamarin is specifically for app and UI on Android/iOS/Windows Phone.
- michaeldwan 10y agoThey released Mac bindings for Xamarin Forms recently. Not a stretch to imagine unified UI for desktops.
- egeozcan 10y agoActually that's exactly what I imagined to happen. What would be so fundamentally different in desktop development compared to mobile UI development that would exclude it from Xamarin? I don't see it.
- sandyarmstrong 10y agoAre you quite sure? I don't think this is correct. Xamarin.Mac provides C# bindings to Mac desktop APIs, and has nothing to do with Xamarin.Forms.
- sandyarmstrong 10y agoAnd Mac. You could write shared business logic in C# for your Windows, Mac, and mobile apps, with a combination of .NET and Xamarin, and still use C# for each native UI. But it sounds like you are actually thinking of Xamarin.Forms, which allows sharing UI code on mobile platforms as well as UWP. You are correct that there is no Mac support for that.
- nbarbettini 10y agoAh, makes sense. Thanks for clarifying.
- nick_ 10y agoI've been looking at EdgeJs, specifically one version which was compiled to run in Electron. The idea being to make a bridge between electron and C# view-models (or whatever) so people can build cross-plat C# and HTML5 desktop apps.
- grokys 10y agoPersonal plug: we're working on it! https://github.com/AvaloniaUI/Avalonia https://github.com/AvaloniaUI/Avalonia
- zabracks 10y agoMono provides an implementation of Windows.Forms that can be used cross platform.
- piaste 10y agoI've also heard good things about Eto.Forms.