News for hackers. Stuff that matters.
Re:Introducing .NET Standard by ep103 on Monday September 26, 2016 @01:47PM (#12583948)
I agree 100%.

So anyone care to take a stab at it? How does this differ from .Net Core?

Re:Introducing .NET Standard by terrajobst on Monday September 26, 2016 @02:51PM (#12584533)
.NET Core is a specific .NET platform while .NET Standard is a specification that many .NET platforms, including .NET Core, implement.

In other words, .NET Standard is POSIX for .NET.

Re:Introducing .NET Standard by Someone on Monday September 26, 2016 @04:32PM (#12585304)
Small correction: .NET Core _will_ implement it. It has to grow quite a bit to get there.

At least, that's my reading, but they manage to be fairly confusing by mixing present tense and future tense with two different names:

"- .NET Standard is a set of APIs that all .NET platforms have to implement. This unifies the .NET platforms and prevents future fragmentation.

- .NET Standard 2.0 will be implemented by .NET Framework, .NET Core, and Xamarin. For .NET Core, this will add many of the existing APIs that have been requested.

- .NET Standard 2.0 includes a compatibility shim for .NET Framework binaries, significantly increasing the set of libraries that you can reference from your .NET Standard libraries.

- .NET Standard will replace Portable Class Libraries (PCLs) as the tooling story for building multi-platform .NET libraries."

So, do we have ".NET Standard" now and ".NET Standard 2.0" in the future? If so, why don't they say ".NET Standard 2.0 will include a compatibility shim for .NET Framework binaries"?

On the other hand https://github.com/dotnet/standard/blob/master/netstandard/p... seems to indicate the two are synonyms, and version 2.0 is the first version of this framework.

Re:Introducing .NET Standard by dragonwriter on Monday September 26, 2016 @06:54PM (#12586316)
> So, do we have ".NET Standard" now and ".NET Standard 2.0" in the future?

There are three key versions (and several others; they have 1.0 through 1.6 and 2.0) of .NET Standard referenced; the key versions are 1.5 (supported by .NET Framework 4.6.2 and later and .NET Core 1.0 and later), 1.6 (supported by .NET Framework vNext and later and .NET Core 1.0 and later), and 2.0 (supported by .NET Framework 4.6.1 and later and .NET Core vNext and later).

Re:Introducing .NET Standard by Someone on Monday September 26, 2016 @07:21PM (#12586446)
So, in a blog post titled "Introducing .NET Standard", it turns out .NET Standard already has 8 different versions?

Also, rereading the article, I notice "When we shipped .NET Core 1.0, we also introduced .NET Standard."

This text really could do with a good editor.

Re:Introducing .NET Standard by dragonwriter on Monday September 26, 2016 @07:53PM (#12586604)
> it turns out .NET Standard already has 8 different versions?

I think the versions prior to v1.6 were retrospectively defined based on the common capabilities of pre-existing platforms; v1.6 was what .NET Core 1.0 supported and .NET Framework vNext will support (2.0 is what .NET Framework 4.6.1 supports and what .NET Core vNext -- and vNext of MS's other platforms -- will support, and beyond 2.0 there will be more synchronous development across different platforms.)

Re:Introducing .NET Standard by terrajobst on Monday September 26, 2016 @08:07PM (#12586662)
That's exactly what happened, yes.
Re:Introducing .NET Standard by terrajobst on Monday September 26, 2016 @08:07PM (#12586666)
That's actually a fair point. I probably should have used a different wording.
Re:Introducing .NET Standard by terrajobst on Monday September 26, 2016 @06:38PM (#12586208)
> Small correction: .NET Core _will_ implement it. It has to grow quite a bit to get there.

.NET Core _already_ implements .NET Standard 1.x. It _will_ implement .NET Standard 2.0.

Re:Introducing .NET Standard by tracker1 on Monday September 26, 2016 @05:50PM (#12585899)
They're considering .Net Framework 4.6.x to be the guideline for Standard 1.x, And that when Core 1.0 hits, it will support .Net Standard 2.0.

My guess is jumping to 2.0 for future implementation base is to avoid conflicts with .Net Core 1.0 (though may exacerbate the issue)

Re:Introducing .NET Standard by ihsw on Monday September 26, 2016 @02:00PM (#12584064)
It's a common API for things like networking, IO, threading, serialization, and so forth.

Library authors need to do refactoring to achieve compatibility across .Net Platform (old stuff, Windows-only) and .Net Core (new stuff, cross-platform).

This is the bridge for library authors to transition from being Windows-only to cross-platform.

Think about library authors that need to write for both Python 2 and Python 3, there needs to be a common API between both, and this is it: .Net Standard.

Meanwhile .Net Core is cross-platform build tooling and a minimal API.

Re:Introducing .NET Standard by 616c on Monday September 26, 2016 @02:34PM (#12584395)
I believe this was discussed a while back by Scott Hunter in his interview on the .NET Rocks Podcast, who is the PM of all the .NET Platform. He explains, almost apologetically, what all this entails. Needless to say this is not news. I do not follow .NET that much until Core meant Linux, so I listen to things like this.

http://dotnetrocks.com/?show=1291

(I apologize in advance for anyone who uses JS blocking like me; open it in your other YOLO browser if you know what's good for you; the .NET Rocks team loves Angular a little too much.)

Re:Introducing .NET Standard by wmccullough on Monday September 26, 2016 @01:49PM (#12583961)
The article literally states the difference.
Re:Introducing .NET Standard by PercussusVII on Monday September 26, 2016 @01:51PM (#12583972)
It's the API definition that will be shared by .net Core/full framework/asp.net/xamarin.
Re:Introducing .NET Standard by davidfowl on Tuesday September 27, 2016 @05:36AM (#12588330)