.NET Standards, Compatibility, and Management

.NET Standard libraries are our gateway to writing code that seamlessly spans various .NET platforms, such as .NET Core, .NET Framework, and Xamarin. These libraries provide a standardized way to share code across different environments. Let’s explore it.

Sharing code with legacy platforms using .NET Standard

Before .NET Standard, there were Portable Class Libraries (PCLs). With PCLs, we could create a code library and explicitly specify which platforms we want the library to support, such as Xamarin, Silverlight, and Windows 8. Our library could then use the intersection of APIs supported by the specified platforms.

Get hands-on with 1400+ tech skills courses.