.NET Core and More

TH08 Sharing C# Code Across Platforms

10/11/2018

9:30am - 10:45am

Level: Intermediate

Rockford Lhotka

VP of Strategy

Xebia

At some point you are going to need to get your existing code base running on .NET Core, UWP, Xamarin, or another flavor of .NET. In the past you might have used Portable Class Libraries (PCLs) or Shared Projects to accomplish this goal. The new netstandard 2.0 definition is implemented by .NET Core, Xamarin, full .NET, and UWP, and this means we have a much simpler and more direct way to share and reuse code across all platforms.

You will learn:

  • About netstandard 2.0 and its relationship to all .NET implementations
  • How to use Shared Projects to bridge between legacy code and modern NS 2.0 code
  • Strategies to access per-platform code from cross-platform projects