What Is .NET Standard

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 10, 2026

Quick Answer: .NET Standard is a formal specification of .NET APIs that ensures code compatibility across different .NET implementations, released by Microsoft in 2016 with its latest version 2.1 arriving in August 2018. It provides developers with a unified platform abstraction layer, enabling libraries and applications written for .NET Standard to run on .NET Framework, .NET Core, Xamarin, and Mono without modification.

Key Facts

Overview

.NET Standard is a formal specification of .NET APIs created by Microsoft to establish a unified base of functionality across different .NET implementations. Rather than being a runtime or framework itself, .NET Standard acts as a contract—a documented set of APIs that each .NET implementation agrees to support. This specification was introduced in 2016 to solve a fragmentation problem where developers faced incompatible platforms: the Windows-only .NET Framework, the new cross-platform .NET Core, Xamarin for mobile, and Mono for alternative environments.

The specification includes all the common libraries and APIs available across multiple .NET platforms, ensuring that a library or application built targeting .NET Standard can run on any implementation that supports that standard version. .NET Standard 2.0, released in September 2017, became the most widely adopted version, containing over 21,000 APIs. The final major version, .NET Standard 2.1, arrived in August 2018. Since the release of .NET 5 in November 2020, which unified the ecosystem under a single modern platform, .NET Standard has transitioned into maintenance mode, though it remains relevant for maintaining compatibility with legacy applications.

How It Works

.NET Standard functions as a layered compatibility model where each implementation supports different versions of the standard:

Key Comparisons

Aspect.NET Standard.NET Framework.NET Core / .NET
Platform SupportSpecification layer for multiple implementationsWindows onlyWindows, Linux, macOS
Release Date2016 (announcement), 2.0 in 20172002 (v1.0)2016 (Core 1.0)
Primary Use CaseCreating portable librariesLegacy enterprise applicationsModern cross-platform applications
Current StatusMaintenance mode since .NET 5Support ending October 2026Active development and recommended
API Surface21,000+ APIs (2.0)~17,000 APIsSuperset of .NET Standard 2.1

Why It Matters

.NET Standard represents a pivotal moment in .NET history where fragmentation gave way to unified compatibility. While the newer unified .NET platform (version 5+) has become the primary recommendation for new projects, understanding .NET Standard remains crucial for maintaining existing codebases, supporting diverse deployment scenarios, and appreciating how the modern .NET ecosystem solved the interoperability challenges that plagued earlier versions.

Sources

  1. Microsoft: .NET Standard DocumentationCC-BY-4.0
  2. GitHub: .NET Standard RepositoryMIT
  3. Microsoft: Cross-Platform Targeting GuideCC-BY-4.0

Missing an answer?

Suggest a question and we'll generate an answer for it.