News for hackers. Stuff that matters.
Re:.NET 5 by manigandham on Monday May 06, 2019 @01:51PM (#19841943)
There's no point since .NET Core 3.0 can run desktop applications now.
Re:.NET 5 by cm2187 on Monday May 06, 2019 @01:55PM (#19841976)
It will run desktop applications developped for .net core. I don't believe that .net core can run a full framework desktop executable.
Re:.NET 5 by testvox on Monday May 06, 2019 @02:09PM (#19842107)
It can using the compatibility shim depending on what framework capabilities it requires.
Re:.NET 5 by pjmlp on Monday May 06, 2019 @03:50PM (#19843085)
WCF, Remoting, Web Forms, ODP.NET, EF6 UI designers certainly not.

Yes, some of those items are legacy, but not everyone enjoys paying to rewrite stuff from scratch.

Re:.NET 5 by lol768 on Monday May 06, 2019 @01:54PM (#19841962)
All the desktop stuff is only on Windows though, right? If I'm not mistaken this is the first major .NET Core component that is not cross-platform, which is confusing in itself.
Re:.NET 5 by manigandham on Monday May 06, 2019 @02:09PM (#19842105)
Yes, since it's using Windows components like WPF. I dont think they ever had a plan for a cross-platform desktop UI kit.
Re:.NET 5 by nbevans on Monday May 06, 2019 @03:21PM (#19842797)
Xamarin Forms is that.
Re:.NET 5 by seanmcdirmid on Monday May 06, 2019 @08:54PM (#19845449)
Isn’t that a clone of WinForms and not WPF?
Re:.NET 5 by thrower123 on Monday May 06, 2019 @10:19PM (#19845833)
That's probably a good thing. WinForms is still the nicest GUI development experience out there, sadly...
Re:.NET 5 by pjmlp on Tuesday May 07, 2019 @02:54AM (#19847180)
Not at all, it uses XAML and the same ideas behind WPF.
Re:.NET 5 by solarkraft on Monday May 06, 2019 @02:47PM (#19842505)
They explicitly won't support cross-platform efforts for the GUI stuff, as stated on GitHub (though maybe, one day ...).

I suppose their rationale is damage control ("Okay, they get the server, but the desktop is still firmly ours"), but it would certainly keep me from starting a personal project with a Microsoft Framework.

Re:.NET 5 by MikeTheGreat on Monday May 06, 2019 @03:28PM (#19842863)
> but the desktop is still firmly ours

At this point I'm guessing that it's because there isn't a strong future for desktop apps written in native code. Even VSCode is written on top of Electron. Good, bad, or indifferent I think that there isn't a lot of point in developing a native GUI framework at this point.

(To be clear - I'm 100% sure that there are a lot of use cases that I'm blithely waving away, but I'm also sure that those use cases are currently being addressed with WinForms, Qt, GNOME, etc, etc, so why should MS invest in Yet Another GUI Framework?)

Re:.NET 5 by tracker1 on Monday May 06, 2019 @06:12PM (#19844470)
I wouldn't mind seeing WPF, or a descendent, ported to other platforms. Xamarin Forms, Eto Forms, and a lot of other wrappers already do a lot of that though, if you want cross platform gui from .Net. (god that looks sloppy)

I also tend to agree that for good, or bad, that Electron will probably grow significantly as an application base. Like I see node becoming the defacto runtime for WebAssembly, I see Electron taking that place for WebAssembly + UI. And I don't think it's all that bad.

Even with MS, Electron seems to be their unified UI target for a lot of apps. VS Code, Teams, Azure SQL Studio (or whatever the name is now), and don't see that space shrinking. I'm only surprised that Teams doesn't have an official Linux version.

Re:.NET 5 by jodrellblank on Monday May 06, 2019 @07:54PM (#19845106)
WinForms is outdated, "replaced" by WPF and I think apps on the Microsoft App Store have to use WPF instead of WinForms.

So it would make sense if they're pushing .Net Core to be cross-platform, that they want to eventually push the Microsoft App Store "buy" button to be cross-platform as well, with a GUI framework to support those apps. Speculation, but .. of course they will want to.

Re:.NET 5 by BuckRogers on Tuesday May 07, 2019 @03:34AM (#19847315)
You can't publish WinForms or WPF applications to the Microsoft Store, they've both been replaced. It's only UWP or using MS's tooling to convert Electron apps to UWP.
Re:.NET 5 by pjmlp on Monday May 06, 2019 @03:48PM (#19843063)
Only partially, try to run any desktop application that depends on WCF or ODP.NET with it.
Re:.NET 5 by merb on Monday May 06, 2019 @04:00PM (#19843180)
wcf works under core (at least most of it), core 3.0 + wcf + windows desktop shim actually makes everything under wcf working again.
Re:.NET 5 by pjmlp on Monday May 06, 2019 @04:10PM (#19843290)
Most of it is not good enough.

I don't want to be the one stating on RFP "it kind of works".

Re:.NET 5 by cwyers on Monday May 06, 2019 @05:35PM (#19844136)
The implication I took from this was that it's not good enough now, but they anticipate it being good enough by the point this is released.
Re:.NET 5 by pjmlp on Tuesday May 07, 2019 @01:01AM (#19846737)
Those customers want the existing apps to just run. Some of them, as sometimes happens, don't want to rewrite them.
Re:.NET 5 by manigandham on Monday May 06, 2019 @04:36PM (#19843568)
What is not good enough?
Re:.NET 5 by pjmlp on Tuesday May 07, 2019 @12:55AM (#19846711)
Pick random .NET app using WCF and run it with zero changes on .NET Core.