What is .Net Standard
-
Upload
pratik-khasnabis -
Category
Software
-
view
95 -
download
1
Transcript of What is .Net Standard
What is .NET StandardPRATIK KHASNABIS
@SOFTVEDA
DDD BY NIGHT 2017
Flavours of .Net
.Net Standard
.NET FRAMEWORK .NET CORE XAMARIN
AP
PM
OD
ELS
BA
SELI
BR
AR
IES
Compilers Languages Runtime components
COMMON INFRASTRUCTURE
Interface vs Realisation
.Net Standard
.NetFramework
4.6.1.Net Core 1.1 Xamarin
Future Platforms
(UWP, Tizen)
PCL vs .Net Standard
.Net 4.0
SL 5.0Windows
8.0
.NetStandard
2.0
Profile5
Profile14
Profile47
.Net Core 2.0
Xamarin
.Net 4.7
UWP
.Net Platform Support
.NET Standard 1.0 1.1 1.2 1.3 1.4 1.5 1.6 2.0
.NET Core 1.0 1.0 1.0 1.0 1.0 1.0 1.0 2.0
.NET Framework (with tooling 1.0)
4.5 4.5 4.5.1 4.6 4.6.1 4.6.2
.NET Framework (with tooling 2.0 preview)
4.5 4.5 4.5.1 4.6 4.6.1 4.6.1 4.6.1 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
Versions
More APIs
More Platforms
Ver
sio
n
Target the lowest version of .NET Standard possible
1.0
1.1
1.2 .. 1.6
2.0
Improvements with .NET Standard 2.0
Api Browsing
Under the Hoods – Compile TIME
Your .Net Standard Class Library
NetStandard.dllReference
C:\Users\<xxx>\.nuget\packages\netstandard.library\2.0.0-preview2-25401-01\build\netstandard2.0\ref
No method implementation, satisfies compiler
Telerik just decompiler
Under the Hoods – Run TIME
Your .Net 4.6.1 application
.Net 4.6.1 BCL assemblies
Reference
C:\Program Files\dotnet\sdk\2.0.0-preview2-006497\Microsoft\Microsoft.NET.Build.Extensions\net461\lib\netstandard.dll
Your .Net Standard Class Library
Referen
ce
NetStandard.dll(.net framework)
Reference
Type Forwarding
https://t.co/mvEFI1EILe
Links
https://github.com/dotnet/standard