.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。
| .NET Core 2.0 Preview | Q2 2017 |
| .NET Standard 2.0 Preview | Q2 2017 |
| .NET Core 2.0 | Q3 2017 |
| .NET Standard 2.0 | Q3 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版最低操作系統支持
?
| Windows Client | 7 SP1+ | x64, x86 | ||
| Windows Server | 2008 R2 SP1+ | x64, x86 | Full, Server Core, Nano | |
| Red Hat Enterprise Linux | 7.3+ | x64 | This includes Centos and Oracle Linux | |
| Fedora | 25+ | x64 | ||
| Debian | 8.7+ | x64 | ||
| Ubuntu | 14.04+ | x64, arm32 [C] | This includes Linux Mint 17 for x64 | |
| openSUSE | 42.2+ | x64 | ||
| Tizen ? ? ? ? ? ? ? ? ? ? ? ? | 4+ ? ? ? ? ? ? ? ? ? ? ? ? ? | arm32 [S] ? ? | Tizen .NET Developer Preview | |
| Mac OS X | 10.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 工作正在進行中
| Microsoft.Win32.SafeHandles | 32 |
| System | 1,087 |
| System.CodeDom.Compiler | 14 |
| System.Collections | 292 |
| System.Collections.Generic | 17 |
| System.Collections.ObjectModel | 1 |
| System.Collections.Specialized | 241 |
| System.ComponentModel | 1,499 |
| System.ComponentModel.Design | 520 |
| System.ComponentModel.Design.Serialization | 150 |
| System.Configuration.Assemblies | 13 |
| System.Data | 1,399 |
| System.Data.Common | 701 |
| System.Data.SqlTypes | 882 |
| System.Diagnostics | 772 |
| System.Diagnostics.CodeAnalysis | 2 |
| System.Diagnostics.Contracts | 89 |
| System.Diagnostics.Contracts.Internal | 3 |
| System.Diagnostics.SymbolStore | 144 |
| System.Diagnostics.Tracing | 2 |
| System.Drawing | 681 |
| System.Dynamic | 173 |
| System.Globalization | 188 |
| System.IO | 275 |
| System.IO.IsolatedStorage | 104 |
| System.IO.MemoryMappedFiles | 64 |
| System.IO.Pipes | 124 |
| System.Linq | 351 |
| System.Linq.Expressions | 41 |
| System.Net | 1,271 |
| System.Net.Cache | 50 |
| System.Net.Mail | 279 |
| System.Net.Mime | 69 |
| System.Net.NetworkInformation | 692 |
| System.Net.Security | 147 |
| System.Net.Sockets | 164 |
| System.Net.WebSockets | 165 |
| System.Numerics | 344 |
| System.Reflection | 348 |
| System.Reflection.Emit | 3 |
| System.Resources | 89 |
| System.Runtime | 12 |
| System.Runtime.CompilerServices | 164 |
| System.Runtime.ConstrainedExecution | 22 |
| System.Runtime.ExceptionServices | 6 |
| System.Runtime.InteropServices | 96 |
| System.Runtime.InteropServices.ComTypes | 15 |
| System.Runtime.Remoting.Messaging | 55 |
| System.Runtime.Serialization | 463 |
| System.Runtime.Serialization.Formatters | 13 |
| System.Runtime.Serialization.Formatters.Binary | 28 |
| System.Runtime.Serialization.Json | 64 |
| System.Runtime.Versioning | 33 |
| System.Security | 117 |
| System.Security.Authentication | 11 |
| System.Security.Authentication.ExtendedProtection | 40 |
| System.Security.Claims | 205 |
| System.Security.Cryptography | 684 |
| System.Security.Cryptography.X509Certificates | 67 |
| System.Security.Permissions | 87 |
| System.Security.Principal | 34 |
| System.Text | 56 |
| System.Text.RegularExpressions | 29 |
| System.Threading | 313 |
| System.Threading.Tasks | 66 |
| System.Timers | 36 |
| System.Web | 32 |
| System.Xml | 1,011 |
| System.Xml.Linq | 6 |
| System.Xml.Resolvers | 20 |
| System.Xml.Schema | 924 |
| System.Xml.Serialization | 935 |
| System.Xml.XPath | 244 |
| System.Xml.Xsl | 137 |
?
?
.NET Standard 版本對應
| .NET Core | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 2.0 |
| .NET Framework | 4.5 | 4.5 | 4.5.1 | 4.6 | 4.6.1 | 4.6.1?4.6.2 | 4.6.1?vNext | 4.6.1 |
| Mono | 4.6 | 4.6 | 4.6 | 4.6 | 4.6 | 4.6 | 4.6 | vNext |
| Xamarin.iOS | 10.0 | 10.0 | 10.0 | 10.0 | 10.0 | 10.0 | 10.0 | vNext |
| Xamarin.Android | 7.0 | 7.0 | 7.0 | 7.0 | 7.0 | 7.0 | 7.0 | vNext |
| Universal Windows Platform | 10.0 | 10.0 | 10.0 | 10.0 | 10.0 | vNext | vNext | vNext |
| Windows | 8.0 | 8.0 | 8.1 | |||||
| Windows Phone | 8.1 | 8.1 | 8.1 | |||||
| Windows Phone Silverlight | 8.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/
原文地址:http://www.cnblogs.com/linezero/p/netstandard.html
.NET社區新聞,深度好文,微信中搜索dotNET跨平臺或掃描二維碼關注
總結
以上是生活随笔為你收集整理的.NET Core 2.0及.NET Standard 2.0的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 深夜福利, 小试linuxkit
- 下一篇: asp.net ajax控件工具集 Au