Upload
james-montemagno
View
389
Download
0
Embed Size (px)
Citation preview
James Montemagno@JamesMontemagnoPrincipal PM – Xamarin, Microsoft
.NET Standard Libraries + Xamarin
www.mergeconflict.fmWeekly development and technology podcast.
Shared C# codebase • 100% native API access • High performance
iOS C# UI
Windows C# UIAndroid C# UI
Shared C# Mobile
C# Server
Linux/MonoCoreCLRAzure
Shared C# Client/Server
Xamarin’s Unique Approach
• Product -> .NET on Windows/Linux/macOS• .NET Core Runtime• Implements the .NET Standard Library 1.6• Same as ASP.NET Core or the .NET
Framework
What is .NET Core?
https://www.microsoft.com/net/core
• Specification of .NET APIs for .NET Runtimes• Developers products portable libraries
usable across .NET Runtimes• Reduces/Eliminates conditional compilation
of shared source• Offers different “netstandard” profiles for
platform support
What is .NET Standard?
https://docs.microsoft.com/en-us/dotnet/articles/standard/library
.NET Platforms Support
API Contracts
• Similarities• Defines APIs that can be used for code sharing
• Differences• .NET Standard Library is a curate set of APIs (not an
intersection)• .NET Standard Library has linear versions (PCLs profiles do
not)• PCL profiles represent MS platforms, while the .NET
Standard Library is independent of the platform.
Comparison to Portable Class Libraries
https://docs.microsoft.com/en-us/dotnet/articles/standard/library
PCL Compatibility
Thank you.
JamesMontemagnoPrincipal Program Manager – Xamarin,
[email protected] motzcod.es @JamesMontemagno
Questions?