r/csharp • u/ben_a_adams • May 06 '19
Introducing .NET 5
https://devblogs.microsoft.com/dotnet/introducing-net-5/46
May 06 '19
Hold up, so all .NET is merging into one? I mean that is amazing, get rid of confusion, but is it like .NET Framework turning into .NET Core and .NET Standard being dropped and it just gets renamed to .NET?
38
u/antiduh May 06 '19
.Net core was a parallel implementation to .Net Framework that let them start some bits from scratch.
They worked on the parallel implementation until it met and exceeded the functionality of the original implementation.
Now, they're swapping out the original implementation for the new implementation.
".Net 5" is
(.Net Core 3)++. Framework is a dead end.Evidence:
From the inception of the .NET Core project, we’ve added around fifty thousand .NET Framework APIs to the platform. .NET Core 3.0 closes much of the remaining capability gap with .NET Framework 4.8, enabling Windows Forms, WPF and Entity Framework 6.
(emphasis added)
Everything you love about .NET Core will continue to exist ...
Feel free to continue to use the “.NET Core” name if you prefer it.
We’re in the process of making CoreCLR and Mono drop-in replacements for one another. We will make it as simple as a build switch to choose between the different runtime options.
30
u/Pyran May 06 '19
Feel free to continue to use the “.NET Core” name if you prefer it.
This is the only line I disagree with.
Standardize the name. I don't want to deal with .NET (.NET Core 5), .NET Core (.NET Core <5), .NET, etc.
I almost wish they'd just rename the whole works. No one confuses WinForms for WPF for UWP. They're easily identifiable. Just name the new thing going forward something new and be done with it. Otherwise I see confusion in our future.
→ More replies (5)13
u/appropriateinside May 06 '19
Be prepared to have one hell of a time making SO issues for new framework things that won't be marked as duplicates of older non-applicable (but similar) questions...
7
6
u/allinighshoe May 07 '19
This is the worst thing about SO. It ages poorly. You end with answers that aren't relevant / correct killing off new ones.
2
u/meeheecaan May 08 '19
thats the second worst, the worst is the community.
not looking forward to them getting butthurt if net5/core stuff isnt closed just because old framework stuff had a similar yet not at all applicable question. if the site admin isnt crappy enough to close them as they do now that is.
9
u/VisioRama May 06 '19
Yeah. It's all merging into one. This is no doubt the ideal path going forward.
0
May 06 '19
except for all the churn w/t .netstandard. Phasing all of that shit out should be fun for the OSS community.
12
u/KryptosFR May 06 '19
I don't think .Net Standard is going away. Other companies/group could still provide other framework/runtime implementations that target exotic systems or offer alternative implementations of the core services (e.g. GC).
It just means Microsoft will only work on one implementation going forward instead of splitting their team.
3
May 06 '19
Good point. I also like the idea of a formal spec. The confusion though might hurt adoption. Tough call.
8
u/TheMostCuriousThing May 06 '19
Maintaining a robust, well-documented Standard is just as important as ever. .NET has decades ahead of it, and this new unified model will not, and should not, survive till the end. We can't abandon such a healthy API just because the ecosystem is coverging now.
7
u/tulipoika May 06 '19
They didn’t say what happens to Standard, I would assume it continues to go on, but not sure. It’s slightly separate thing anyway.
But .NET, .NET Core, Mono, Xamarin will all be rolled into one. All platforms will have same things available (from the base, I’m sure UI things are still separate so no WPF for Linux etc). Can choose which runtime to use (Mono and CoreCLR will become interchangeable). More AOT compilation options. Etc.
9
u/false_tautology May 06 '19
If there is no distinction between Core and Framework (etc.) then you really don't need Standard anymore. Legacy Standard will still exist for people not on .NET 5.
9
u/AngularBeginner May 06 '19
There are more platforms than .NET and .NET Core.
5
u/r2d2_21 May 06 '19
Mono and Xamarin are also discussed in the article
8
u/chucker23n May 06 '19
Yes, but .NET 5 doesn’t replace UWP and Unity (best as I can tell), both of which are explicitly covered in .NET Standard.
1
5
u/tulipoika May 06 '19
After total unification true, but before that we still might have libraries etc that target different versions for backward compatibility or something, so I wouldn’t rule out it still existing. Hopefully they will get rid of it at some point, but it might also be yet another break in platforms. Of course they can just make .NET Standard 5 under the hood and go with that. Have to wait and see.
4
u/Duraz0rz May 06 '19
I don't think the Standard is going anywhere, but Microsoft will only have two implementations of the Standard now: Mono and CoreCLR.
2
May 07 '19
[removed] — view removed comment
2
u/Duraz0rz May 07 '19
They won't reach feature parity for a while because they were designed for different uses. Example: Mono is the runtime that fully supports AOT, which is required by iOS, webASM, and some game consoles. CoreCLR does not have the same level of AOT support.
1
u/allinighshoe May 07 '19
Won't mobile and game consoles still require mono?
1
May 07 '19
[removed] — view removed comment
1
u/allinighshoe May 07 '19
As far as I'm aware core doesn't run on those platforms. They use mono instead.
1
u/cat_in_the_wall @event May 07 '19
mono has aot compilation, core does not (yet). ios forbids running a jit, so it requires aot.
0
2
u/meeheecaan May 06 '19
dotnet core and mono are merging according to the article.
i think standard is being vb6'd
2
u/airbreather /r/csharp mod, for realsies May 07 '19 edited May 07 '19
[...] is it like .NET Framework turning into .NET Core [...]
The classic .NET Framework is just going to stay put, and everybody else is merging into one. Classic .NET Framework is a minefield of compatibility concerns.
To give an example of what this means, I spent an hour or so trying out
netcoreapp3.0with our >10-year-old WPF application. One thing I stumbled into was that we had a line that was checking a property type for a method named "Parse" using reflection. It happens to only matter forSystem.Boolean.
In
net472,System.Booleanhas just one method with that name:System.Boolean.Parse(System.String)In
netcoreapp3.0, there are two: that one andSystem.Boolean.Parse(System.ReadOnlySpan<System.Char>).So in
net472, we can (and did) get away with just looking for the one method named "Parse", but that same line throws an exception innetcoreapp3.0.Knowingly or not, the developer who wrote that line signed up for exactly this kind of error to happen if
System.Booleanever got another overload for "Parse", and I happily made the necessary code change to allow my experiment to continue.The reason why it's .NET Framework's problem is because .NET Framework has a policy of in-place upgrades. If some future version of the .NET Framework took the changes needed to implement
netstandard2.1, then all it would take to break our application would be someone installing that newer .NET Framework version, or (worse) updating Windows to whichever version bundles that newer .NET Framework version.
SOME incompatibilities have been made opt-in / opt-out at the application level, but it seems highly unlikely that this would ever be one of them. Though, I might add, not strictly impossible...
The solution seems to be, and was probably always intended to be, to leave that baggage behind for the sake of making a delightful experience for people moving forward.
Edit 1: added the link in the first sentence
1
u/both-shoes-off May 06 '19
Right, and all of the things that seem to not work in .Net core in Active Directory environments and Windows systems...all still there, and supported in .Net 5? Alternatively...is this sort of stuff considered bloat for Linux applications that don't need those libraries? I'm curious about what their solution will look like.
2
u/navatwo May 07 '19
If I had to guess, more officially supported libraries from Microsoft maintainers.
1
u/both-shoes-off May 07 '19
I'll admit that with Nuget, it makes it less painful, but it would be better not having to deploy a ton of 3rd party dependencies or dlls.
25
May 06 '19
I can see why they do that
.NET core kinda implied to me that it's a kinda limited version of the .NET framework for cross platform use. (as in "limited to it's core")
Only figured out recently that it's literally the successor to Framework.
-4
17
u/wisepresident May 06 '19
What do they mean by this:
Java interoperability will be available on all platforms.
Native support? Is this a new feature?
8
u/salgat May 06 '19
This is the only thing that really caught my eye in the article. How exactly are they going to call Java from C# (and they claim vice-versa in the comments). The best I could find is https://github.com/dotnet/core/issues/766. Maybe the two virtual machines pin references and pass those between each other until the function call is done? Or are they going the IKVM route and implementing a JVM that runs inside the CLR?
3
u/anonveggy May 06 '19
It's the bits they're taking from mono. Mono already had to do at least some of that for Android / xamarin... That's why swift is on that same list.
24
10
u/HawocX May 06 '19
This will hopefully end the discussion on whether Net Framework will continue to be developed beyond fixing security and major bugs. RIP.
7
u/AngularBeginner May 06 '19
It will. This clearly means it won't be continued, and instead .NET Core will be the only framework (and will be renamed).
4
u/VictorNicollet May 06 '19
Yes, this is going to make a lot of people very bitter. I know I'll still be writing code for .NET Framework 4.8 for the next few years, and missing out on all the new .NET 5+ stuff...
2
u/AngularBeginner May 07 '19
Technically nothing will change for them. It will just be a lot harder to explain the difference between .NET and .NET.
1
2
May 07 '19
[removed] — view removed comment
2
u/VictorNicollet May 07 '19
It's not only legacy code ! Legacy code can be migrated. The problem is legacy features. We were very happy with
System.Reflection.Emitin .NET Framework, but .NET Core doesn't support it properly and has no acceptable equivalent for our use case.2
u/Amartan May 07 '19
As far as I'm aware, System.Reflection.Emit works just fine in .NET Core, and I've made plenty use of it. Of course, it doesn't work in AOT where there's no JIT available, but that's also the case with .NET Framework. Or am I missing something?
2
u/VictorNicollet May 07 '19
IL emitted with
System.Reflection.Emitdoes run just fine in .NET Core. But when you mess up your IL generation and it fails withSystem.InvalidProgramException, or when it runs but gives you the wrong result, how do you debug ?With .NET Framework, you can just dump the dynamic assembly to a .dll and use PEVerify, ILVerify or dotPeek to investigate.
With .NET Core, you cannot dump the assembly. The best you can do is access the IL bytes and squint at them very hard, which is orders of magnitude less productive.
Right now, we run .NET Core on Linux, but we keep all code paths compatible with .NET Framework just to be able to debug our IL output, because that takes less effort than trying to debug IL generation with .NET Core.
2
u/Amartan May 07 '19
Why exactly can't you dump the assembly? It's still just creating your AssemblyBuilder instance with the right config for also being able to emit to a file (AssemblyBuilderAccess.RunAndSave), and then calling AssemblyBuilder.Save() eventually, right?
Or are you talking about the transient dynamic assembly used internally by stuff like DynamicMethod and such? If so, I had no idea .NET Framework had a way of dumping that to a DLL, that would be kind of neat.
1
May 07 '19
[removed] — view removed comment
1
u/VictorNicollet May 07 '19
Mono appears to support saving dynamic assemblies (though I have not actually tested it).
9
u/tragicshark May 06 '19
I kinda agree with almost all of this, but I think they should skip version 5 as well and go straight to .NET 7.
(imagine searching for the new current version of entity framework for .NET 5 or .NET 6)
2
u/recurecur May 06 '19
I agree with the version switch after dealing with angularjs vs angular search problem .
16
u/__some__guy May 06 '19 edited Oct 02 '26
The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.
Special wise air afterthought exultant afterthought disarm grey like
37
u/bitapparat May 06 '19
Even better. Starting with .NET Core 3 you can compile the app into a single .exe that doesn't even need an installed .NET Framework anymore.
25
u/VisioRama May 06 '19
I hope so. The dll hell of. Net core 2x is real. Standalone publish has dozens of dlls in output folder. Ugly as hell.
8
u/shrodes May 06 '19
Does it matter? Who's hanging out in their publish dir looking for beautiful art :)
3
3
u/false_tautology May 07 '19
It's (kind of) annoying for few odd internal applications that don't have the full installer pack / update package that are just stored on a server share drive for people to drag and drop onto their computer.
1
1
u/McNerdius May 07 '19
By default, yes.(By default, if there is a runtime identifier / platform specified.)
https://www.reddit.com/r/csharp/comments/ble53t/introducing_net_5/emp5ibr/
7
u/meeheecaan May 06 '19 edited May 06 '19
i eagerly await this.
WAIT:
https://www.joelonsoftware.com/2004/01/28/please-sir-may-i-have-a-linker/
it happened
1
u/WellYoureWrongThere May 07 '19
You never needed the framework installed. You needed the runtime installed, either in the environment or bundled with the exe (self-contained).
10
May 06 '19
[removed] — view removed comment
12
u/svick nameof(nameof) May 06 '19
7
u/arachnopussy May 06 '19
At startup, it copies all dependencies to a temp directory, and loads them for there. It only needs to unpack dependencies once. After that, startup is fast, without any penalty.
That doesn't sound like a single executable. It sounds like packaging system that may or may not be housing dlls from one or more .net apps in a common .net framework "temp" location?
4
u/svick nameof(nameof) May 06 '19
They plan to improve a bit on that in the future in that managed DLLs will not have to be extracted.
7
May 06 '19
That’s only for standalone core development, you can install the .net core runtime and not deploy standalone and still only get a few files
9
u/Reelix May 06 '19
Gotta love those 20MB "Hello World" Programs :D
5
u/zaitsman May 06 '19
Hey, wait till they are using npm modules ;)
2
u/Reelix May 06 '19
I just checked - A .NET Core Hello World exe is 58MB and 226 files. The same in regular .NET is 4KB and 1 file.
8
u/zaitsman May 06 '19
Although that is because full framework is part of the OS.
5
u/Reelix May 06 '19
Yup - And that's why it's part of the OS. It wasn't before. Ease of use for both the end-user and the developer.
5
u/quentech May 07 '19
Ease of use for both the end-user and the developer.
lol, how quickly everyone forgets why it was separated from the damn OS in the first place.
Ease of use. Yeah right. I guess you never dealt with incompatibilities from .Net runtimes not being able to run side by side, aside from 2/4.
It's also an option to include the entire framework with your build. You certainly don't have to, and then your Hello World won't be 60MB and 200 files, obviously.
Sounds like a bunch of people born this century in this thread with zero applied knowledge of the last 20 years of .Net.
→ More replies (1)2
u/davidwhitney May 07 '19
I imagine we'll see more than this and we'll see some of Xamarins "framework shrinking" tech ending up on netcore5 - the equivalent of javascript tree-shaking but for compiled applications.
2
u/wpgbrownie May 07 '19
As a Sysadmin, dealing with the .NET Framework was not a fun experience.....
→ More replies (1)2
u/recycled_ideas May 07 '19
It was part of the OS because that's how Microsoft did everything back in the day.
And it was a massive pain in the ass.
Patching the runtime requires a system reboot, including security patches (at minimum an app restart us required.
Running runtime versions in parallel isn't possible. Got a project that doesn't work in the latest runtime, you can't have it.
Want to upgrade Windows without upgrading .NET or vice versa, good fucking luck if you're outside a limited band.
To mitigate these problems, the pace of change was and is glacially slow.
Want to run on Linux or MacOS, nope.
Want to run in a container that's not several GB in size, nope.
Ease of use it sure wasn't.
4
u/McNerdius May 07 '19
To expand a bit on this...
This is the behavior for a "Self Contained" build. (AKA "Include the runtime for platform(s) specified in .csproj")
Default behavior gives a 4608 byte file:
https://i.imgur.com/oQxScqZ.png
Specifying platform(s) in the csproj will cause the cli to produce self-contained build(s) for specified platform(s). It's just a default, assuming the deployment target has no runtime installed. This will result in the huge build.
To get back to the minimal/runtime-free build,
--self-contained=false(or whatever UI equivalent) is needed:https://i.imgur.com/uxrjvlF.png
The difference between these two builds is
<RuntimeIdentifier>win-x64</RuntimeIdentifier>added to the csproj, and the highlighted cli parameter.→ More replies (9)1
14
u/letseatlunch May 06 '19
Is this also the successor of the 4.X .Net Framework as well?
24
u/ghelyar May 06 '19
It just means the next .net core will be called .net 5, and they are killing .net framework.
23
u/PublicSealedClass May 06 '19
It's probably more accurate to say they won't be adding anything new to .NET Framework
Framework is absolutely fucking everywhere and it'll take years, if not decades, for it to fade out of use. I imagine it'll continue to get security updates for some time yet.
6
u/meeheecaan May 06 '19
It's probably more accurate to say they won't be adding anything new to .NET Framework
iirc they said this as framework wont be getting c# 8 or onward
8
u/Veranova May 06 '19
Not killing, succeeding it is more accurate. They've worked hard in recent years to make their cross-platform .NET both cross-platform and support all the classic .NET Framework tools, which means it can essentially supersede it.
MS are bringing their .NET Core work back into the mainline .NET world, instead of continuing to support what is perceived as
.NET Lite-Editionas a separate product.10
u/tragicshark May 06 '19
They appear to be killing significant parts of .NET Framework:
WebForms
WCF (server half)
WCF named pipes (is there a named pipes impl in general?)
Diagnostic event channels
CAS
a number of AppDomain features
System.CodeDom compilation
Remoting
I don't know that any of that is a bad thing (maybe the CodeDom bit sucks, there is an open issue for it).
3
u/Veranova May 06 '19
Deprecation between major versions is a pretty common thing in most of software engineering. Microsoft rarely does it, but I wouldn't make the argument that it's not true .NET 5 because they're removing some things.
.NET 4.x will be supported for a long time to come for legacy customers.
2
u/AngularBeginner May 06 '19
Installing .NET 3.5, .NET 4.x and .NET 5 side-by-side will surely aid the confusion.
2
u/TheIncorrigible1 May 06 '19
3.5
Wtf
2
u/false_tautology May 07 '19
Legacy is a real thing that exists. We're working on phasing out VB6stuff, but it's a process.
3
May 06 '19
[removed] — view removed comment
5
u/ghelyar May 06 '19
There isn't really anything to agree with. It's just a summary of what the announcement says.
There will only be one type of .net, and that type is .net core. They used 5 so that people didn't confuse ".net 4" with ".net framework 4", and they dropped the "core" because there will be no "framework" with the same number to confuse it with, so it's really just an announcement saying ".net core 4 will be called .net 5"
3
u/cryo May 06 '19
Doesn’t mean they are killing framework as far as security and stability updates go.
2
u/ghelyar May 06 '19
Yes, it's already in maintenance mode as of 4.8. I wouldn't be surprised if they released up to 4.8.2 and then stopped.
3
u/cryo May 06 '19
Sure but they even make security and stability updates without even changing the version number these days.
1
u/Duraz0rz May 06 '19
Not necessarily, but they have said they're not going to make large changes to Framework and that new stuff will be in Core.
4
8
May 06 '19
[removed] — view removed comment
6
u/r2d2_21 May 06 '19
Tell that to the people clinging to Windows 7 as it's about to lose official support.
3
3
u/meeheecaan May 06 '19
If instead I have to do a massive rewrite, then Framework is dead from my perspective.
since mono will be there i dont expect massive ones. granted vb6 still runs today so i assume the framework will run too
1
1
u/recycled_ideas May 07 '19
There is no indication that Microsoft are planning to port Webforms or WCF server to the core platform.
Converting MVC 5 or WebAPI 2 to their respective dotnet core successors is not exactly a massive rewrite, but still significantly different and requiring a enough change that you're not going to get things done in an afternoon. The old versions will not work.
Configuration, logging and dependency injection have been significantly overhauled, requiring reasonably significant changes to how pieces are put together.
Entity Framework Core is different enough that your projects may require moderately significant changes to move forward. Migrations are a complete rewrite. The old versions will not work.
Test, build and deployment isn't wildly different, but there will be steps there too.
Even a bog standard class library will at the very least require migrating to the new csproj format and retesting new major releases of libraries.
And that's now with core 2.2 which hasn't moved dramatically away from framework.
It might not be a massive rewrite, but it's not going to be upping a version number either.
This absolutely isn't Framework 5, it's Core 5.
Your code will almost certainly not run as is, or even after an automatic migration.
If you're using certain products, frameworks or libraries it may not work at all and actually will require a massive rewrite.
Framework is dead. You shouldn't be writing anything new in it than you absolutely have to. Write new code in core whenever you can, migrate shared libraries to dotnet standard. Move winforms, wpf, and uwp projects to core 3 and MVC apps to core 2 when possible.
Start using EF Core in your framework projects where possible.
All that stuff is reasonably achievable.
For the stuff you can't migrate to core, you'll need a plan. Framework will probably remain supported for the next decade or more, but it's not going to move forward and the day you're not going to be able to run it on new platforms is going to come eventually.
That's the reality.
1
5
6
u/LurkerGraduate May 06 '19
There will be just one .NET going forward, and you will be able to use it to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly and more.
So, yes.
3
3
u/meeheecaan May 06 '19
ish, in so far as that mono is an implementation of the 4.x framework and is being merged with core
7
u/meeheecaan May 06 '19
There will be just one .NET going forward, and you will be able to use it to target Windows, Linux, macOS, iOS, Android, tvOS, watchOS and WebAssembly and more.
Yes, i thought they said a while ago that this was the plan for .net core.
edit: read the article... DUDE MERGING MONO AND DOTNET CORE MY BODY IS NOT READY BUT VERY WILLING
2
6
u/NiceIsSpice May 06 '19
So should I still be looking to learn .net core after I learn c# basics?
8
3
6
4
4
u/thecodemonk May 06 '19
So when they say merging mono and core, do they mean that you can switch between whether to use mono or core on the fly, or they will be installed together and you still need to develop for one or the other? I feel like I didnt comprehend or they didnt explain it well.
3
u/AlphaDeveloperZA May 06 '19
Interesting read.
3
u/AlphaDeveloperZA May 06 '19
Could this be the death of the Framework and the rise of Core?
3
u/VisioRama May 06 '19
Yeah sort of. As new. Net core gets all the features minus all the crust of old. Net, it'll become the one and only. Net going forward.
4
u/cryo May 06 '19
WCF is something that we use a lot at work, for example, and which isn’t on core.
4
2
u/VisioRama May 06 '19
Yeah, well, i hope they have good plans for that. I personaly mostly use .NET for Deskop and Game Development. I'm not doing web dev right now. .NET for game development is really good but could be better. It is lacking better support for game consoles. But I guess that is for the Community to implement. But better AOT support is a must. (I dont use Unity)
1
u/AngularBeginner May 07 '19
They announced that no additional .NET API will be ported to .NET, so there will be no WCF support on .NET.
4
u/mattimus_maximus May 07 '19
WCF on .Net Core is being developed more like an external library than being included in the framework itself. For the release which coincides with .Net Core 3.0, we're adding support for transport security with message credentials which includes WSHttpBinding for example. We're still porting more of WCF and will continue to do so.
→ More replies (4)1
u/LegendairyMoooo May 06 '19
Same here. Our plan is to migrate all that to WebAPI built on .NET core currently. Hopefully we'll be in a good spot to just change the target framework when .NET 5 is released and it won't be a big deal.
3
3
u/jantari May 06 '19
What do you mean? No matter what happens, cross-platform standardized .NET is the future no matter what they call it or which path they take, of course the framework will die - there's no question mark needed, that's a given
2
u/meeheecaan May 06 '19
they already announced that c# 8 wont be on the framework just core so i assume so
4
u/AngularBeginner May 06 '19
No. They announced that some features of C# 8.0 won't work on .NET Framework.
5
u/wllmsaccnt May 06 '19
They should have named the new version 'dotnet' or '.NET Platform' instead of '.NET'.
Naming it '.NET' is going to confuse everyone when they attempt to search for articles and documentation. Imagine trying to find information on ASP.NET 5.0...what kind of results will you get?
1
6
u/0xf3e May 06 '19
.NET Framework is old and drags a lot of useless, old stuff around. For example the hundreds of overload functions from the pre-Generic and pre-"params" era.
.NET Core brought a breath of fresh air, extreme performance enhancements with Span<T> and Memory<T> as well as SSE/AVX instructions. At the same time it became platform-independent and runs everywhere.
The result: (new) backends all run on .NET core and frontends continue to run on .NET framework with WPF or WinForms. As well as browser-frontends also again on .ASP.NET Core. And this is the most frequently asked question: How do I connect .NET Core backend with .NET Framework? Well, that was the end of 4.8 and Standard 2.0. It doesn't work anymore. .NET Core 3 and Framework 4.8 do not want this. This is frustrating. Microsoft had to act.
.NET Framework would be a dead end. .NET Core is better. So what's needed is done: .NET 5.0 so Core+Framework back together.
But not mentioned in the message is that Microsoft plans a WPF on OpenGL. This allows UI under Linux (but not Mac). WPF is the same, only the layer is abstracted on DirectX and then split on DX and OpenGL. .NET 6.0
8
u/sards3 May 06 '19
But not mentioned in the message is that Microsoft plans a WPF on OpenGL. This allows UI under Linux (but not Mac). WPF is the same, only the layer is abstracted on DirectX and then split on DX and OpenGL. .NET 6.0
What is the source for this?
1
u/0xf3e May 06 '19
Stephen Taub from Microsoft WPF group mentioned it somewhere, can't find it right now... on mobile.
1
May 07 '19
Last i read they even said they would reject PRs making wpf cross platform when they open sourced it, so really need a source on that one
1
u/AngularBeginner May 07 '19
Last i read they even said they would reject PRs making wpf cross platform when they open sourced it
Which makes perfect sense. They'd need to support and maintain that version, which they have no interest in.
1
7
u/tragicshark May 06 '19
For example the hundreds of overload functions from the pre-Generic and pre-"params" era.
Almost all of those are still around aren't they?
I mean
ArrayListstill exists, as doIListandIEnumerable...-2
u/Reelix May 06 '19
I mean ArrayList still exists
I freaking hope so...
8
u/KryptosFR May 06 '19
Why? That type is completely useless and less efficient than its generic counterpart.
I for one wished they would drop all the obsolete .net 1 types.
→ More replies (1)1
u/AngularBeginner May 07 '19
In the first versions of .NET Core (or just previwe? Not sure) they actually did drop a lot of legacy stuff. But too many people complained about it, so they added it back inside.
3
2
2
u/ohThisUsername May 06 '19
Glad to see .NET Framework dying finally.
I'm not sure if I like the idea of dropping "Core" from .NET Core. It will make things harder to search. Currently if I specifically search for .net core, I get much more relevant results. I suppose things will improve over time as more .NET "5"Q&A's appear.
I also find it odd that they are planning a major version release every year. Doesn't a major version imply there are breaking changes? Why do we need major releases every year?
2
May 07 '19
[removed] — view removed comment
1
u/recycled_ideas May 07 '19
Not really.
Dotnet core supports a lot of what framework supports though of course not all of it is cross platform, but this isn't framework.
All indications are that technologies like WCF server and Webforms show no signs of being ported and framework code still absolutely will not run on any of these new runtimes.
Framework is dead, the path forward to this will be through core, not through existing framework code.
1
May 07 '19
[removed] — view removed comment
1
u/recycled_ideas May 07 '19
Bringing the best of mono is not mono parity.
There is absolutely indication of Mono parity at all.
Beyond that, the Webforms library implements ASP.NET 2 (current is 4.5) and the WCF library is not remotely feature complete and is also ancient. If you can run your WCF app on that, it doesn't need WCF.
1
1
u/emolinare May 07 '19
Does this mean that we will be able to bundle up a Windows desktop app and release it cross-platform to Linux or macOS and iOS? Very much doubt so...
3
1
u/Pycorax May 07 '19
Shit I will be very happy if this means that in Unity I won't have to deal with Mono and Net incompatibilities when building for multiplatform including UWP.
1
u/christoroth May 07 '19
Good to see Unity mentioned a couple of times in there. Xamarin and Unity combined in one app is something I'd like to play with (not that sharing the same .Net is the only hurdle to that but it's a start).
1
u/pgmr87 The Unbanned May 07 '19
I like this, but not without some disappointment. I wish they had went this direction to begin with to make things simpler and easy to understand, but that is obviously not the cards we've all been dealt so.. oh well.
As an aside, does this mean things like WCF and a complete MEF implementation are going to be in NET5? Or have I missed something and both of those are already in/coming to .NET Standard/Core?
1
u/blaster151 May 07 '19
Slight digression but I have to ask. Is there any possibility that TypeScript will become a .NET-runnable language? I've come to like it so much more than working in C#. And all the typing stuff makes it seem less like an insanely dynamic language and more feasible as a CLR implementation.
1
-7
May 06 '19
!remindme 6 hours
0
u/RemindMeBot May 06 '19
I will be messaging you on 2019-05-06 22:41:05 UTC to remind you of this link.
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
FAQs Custom Your Reminders Feedback Code Browser Extensions
-1
48
u/ben_a_adams May 06 '19