Reputation: 91
I already read that dotnetstandard is a subset of functionality.
That much I understood.
dotnet framework full > dotnetstandard > dotnetcore
But how is it possible that e.g. Google API sheet supports dotnetcore with dotnetstandard v1.3?
What do I have to install to allow applications using dotnetstandard 1.3 to run under dotnetcore?
Upvotes: 9
Views: 1962
Reputation: 2133
Refer to this Microsoft Magazine website page made in September 2017 by Immo Landwerth.
.NET Standard - Demystifying .NET Core and .NET Standard
This page includes the following image and text.
Here’s how .NET Core and .NET Standard fit into this:
Introduction to .NET Core
.NET Core is a new cross-platform and fully open source .NET implementation that was forked from .NET Framework and Silverlight. It’s optimized for mobile and server workloads by enabling self-contained XCOPY deployments.
Wrapping Up
.NET Standard is a specification of APIs that all .NET implementations must provide. It brings consistency to the .NET family and enables you to build libraries you can use from any .NET implementation. It replaces PCLs for building shared components.
.NET Core is an implementation of the .NET Standard that’s optimized for building console applications, Web apps and cloud services using ASP.NET Core. Its SDK comes with a powerful tooling that in addition to Visual Studio development supports a full command line-based development workflow.
Upvotes: 0
Reputation: 141442
Dotnet Core vs DotNetStandard
The two are not "vs" each other. Rather, .NET Core "contains" an implementation of the .NET Standard Library (as well as extra stuff that is not in .NET Standard). Here it is as a Venn diagram.
...how is it possible that e.g. google API sheet support dotnetcore with dotnetstandard v1.3?
It is possible because .NET Core 1.0 supports version 1.3 of the .NET Standard Library.
In the following table, netcoreapp
is .NET Core, net
is the .NET Framework, and netstandard
is the .NET Standard Library. The .NET Standard Library, as you wrote, is a subset of functionality.
Important: Each platform advertises the highest version of the .NET Standard Library that it supports.
netstandard 1.0 1.1 1.2 1.3 1.4 1.5 1.6 2.0
netcoreapp → → → → → → 1.0 2.0
net → 4.5 4.5.1 4.6 4.6.1 4.6.2 vNext 4.6.1
Here are some examples to check your understanding.
.NET Standarded Library 1.3 is supported by...
...what do i have to install to allow applications using dotnetstandard 1.3 run under dotnetcore?
You have to install .NET Core.
Upvotes: 17