.NET Core 2.0及.NET Standard 2.0

.NET Core 2.0的发布时间,.NET Core 2.0预览版及.NET Standard 2.0 Preview大概在5月中旬或下旬发布。

.NET Core 2.0正式版本发布时间大约在Q3 2017发布,具体我估计大概在8月份左右。同时一起发布的也就是.NET Standard 2.0。

MilestoneRelease Date
.NET Core 2.0 PreviewQ2 2017
.NET Standard 2.0 PreviewQ2 2017
.NET Core 2.0Q3 2017
.NET Standard 2.0Q3 2017

微软计划在5月10日将corefx 中标记为2.0 的bug 完全修复。使其顺利发布 .NET Core 2.0 Preview 和 .NET Standard 2.0 Preview 。

以下为具体链接: Announcement: Driving towards zero 2.0 bugs by 2017/5/10 (ZBB)  ZBB (zero bug bounce)。

大家也可以参与其中,贡献自己的一份力量。

.NET Core 2.0版最低操作系统支持

 

OSVersionArchitecturesConfigurationsNotes
Windows Client7 SP1+x64, x86  
Windows Server2008 R2 SP1+x64, x86Full, Server Core, Nano 
Red Hat Enterprise Linux7.3+x64 This includes Centos and Oracle Linux
Fedora25+x64  
Debian8.7+x64  
Ubuntu14.04+x64, arm32 [C] This includes Linux Mint 17 for x64
openSUSE42.2+x64  
Tizen                        4+                          arm32 [S]               Tizen .NET Developer Preview
Mac OS X10.12+x64 

S 为得到三星支持

C 为得到社区支持

 

那么.NET Core 2.0 及 .NET Standard 2.0 将会带来哪些改变。

降低入门及学习的障碍,.NET Standard 2.0通过标准化共享API,可以轻松地跨.NET Framework,.NET Core和Xamarin共享代码。

.NET Framework 4.6.1支持.NET Standard 2.0

.NET Standard 2.0 添加了许多.NET Framework 4.6.1 支持的API,以及.NET Standard 2.0  自己特有的API

  • .NET Standard 2.0 添加了 14,994 个.NET Framework 4.6.1已经支持的API 
  • .NET Standard 2.0 只有 43 个 .NET Framework 4.6.1不支持的API

.NET Standard 2.0 将是.NET Standard 1.6的超集。 换句话说,.NET Standard 2.0和1.x不会发生突破性的变化。
.NET Framework 4.6.1将允许引用根据.NET Standard 2.0编译的二进制文件。

最终可以理解为.NET Core 2.0 将是等价于 .NET Framework 4.6.1。

 

.NET Standard 2.0 工作正在进行中

Namespace#APIs
Microsoft.Win32.SafeHandles32
System1,087
System.CodeDom.Compiler14
System.Collections292
System.Collections.Generic17
System.Collections.ObjectModel1
System.Collections.Specialized241
System.ComponentModel1,499
System.ComponentModel.Design520
System.ComponentModel.Design.Serialization150
System.Configuration.Assemblies13
System.Data1,399
System.Data.Common701
System.Data.SqlTypes882
System.Diagnostics772
System.Diagnostics.CodeAnalysis2
System.Diagnostics.Contracts89
System.Diagnostics.Contracts.Internal3
System.Diagnostics.SymbolStore144
System.Diagnostics.Tracing2
System.Drawing681
System.Dynamic173
System.Globalization188
System.IO275
System.IO.IsolatedStorage104
System.IO.MemoryMappedFiles64
System.IO.Pipes124
System.Linq351
System.Linq.Expressions41
System.Net1,271
System.Net.Cache50
System.Net.Mail279
System.Net.Mime69
System.Net.NetworkInformation692
System.Net.Security147
System.Net.Sockets164
System.Net.WebSockets165
System.Numerics344
System.Reflection348
System.Reflection.Emit3
System.Resources89
System.Runtime12
System.Runtime.CompilerServices164
System.Runtime.ConstrainedExecution22
System.Runtime.ExceptionServices6
System.Runtime.InteropServices96
System.Runtime.InteropServices.ComTypes15
System.Runtime.Remoting.Messaging55
System.Runtime.Serialization463
System.Runtime.Serialization.Formatters13
System.Runtime.Serialization.Formatters.Binary28
System.Runtime.Serialization.Json64
System.Runtime.Versioning33
System.Security117
System.Security.Authentication11
System.Security.Authentication.ExtendedProtection40
System.Security.Claims205
System.Security.Cryptography684
System.Security.Cryptography.X509Certificates67
System.Security.Permissions87
System.Security.Principal34
System.Text56
System.Text.RegularExpressions29
System.Threading313
System.Threading.Tasks66
System.Timers36
System.Web32
System.Xml1,011
System.Xml.Linq6
System.Xml.Resolvers20
System.Xml.Schema924
System.Xml.Serialization935
System.Xml.XPath244
System.Xml.Xsl137

 

 

.NET Standard 版本对应

.NET Standard
1.01.11.21.31.41.51.62.0
.NET Core1.01.01.01.01.01.01.02.0
.NET Framework4.54.54.5.14.64.6.14.6.1 4.6.24.6.1 vNext4.6.1
Mono4.64.64.64.64.64.64.6vNext
Xamarin.iOS10.010.010.010.010.010.010.0vNext
Xamarin.Android7.07.07.07.07.07.07.0vNext
Universal Windows Platform10.010.010.010.010.0vNextvNextvNext
Windows8.08.08.1     
Windows Phone8.18.18.1     
Windows Phone Silverlight8.0      

 

.NET Standard

 

对于开发人员来说,这意味着他们只需要掌握一个基类库。该库面向.NET Standard 将能够在所有.NET平台上运行。

.NET Standard 的核心使命在于解决 .NET 跨平台时基础链接库不一致的问题。

 

参考文档:

https://github.com/dotnet/core/blob/master/roadmap.md

https://github.com/dotnet/standard/tree/master/docs/netstandard-20

https://github.com/dotnet/standard/blob/master/docs/versions/netstandard2.0.md

https://blogs.msdn.microsoft.com/dotnet/2016/09/26/introducing-net-standard/

转载于:https://www.cnblogs.com/linezero/p/netstandard.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值