I don’t understand much of the fundamental difference between .Net Standard and .Net Core.
Do I understand correctly that .Net Standard is the same as .Net Core, but without cross-platform?
I don’t understand much of the fundamental difference between .Net Standard and .Net Core.
Do I understand correctly that .Net Standard is the same as .Net Core, but without cross-platform?
On the contrary, .Net Standart is a standard for .NET cross platform. I explain, .NET Standart contains APIs that exist in the .NET Framework, .NET Core, Xamarin. .NET Core, if I'm not mistaken, supports, only MacOS, Win, Linux. Xamarin MacOS, Android, iOS. A standard is a standard, and the library can be used in any given application.
For example, it has some interface, say IList, respectively, this interface or its implementation is in .NET Core, Xamarin, .NET Framework. Or, for example, take DirectoryInfo / Directory. As we all know very well, in different systems, our own concepts of a directory, say, the same path or file extension. But thanks to .NET Standart, we can write applications for working with directories and files in those modes that all platforms support.
So .NET Core includes .NET Standart.
Take it simply for the list of APIs that exist on all platforms on which you can write in C # (probably in F # / VB.NET).
NET Standard is a specification . At the same time, if we have a library that is compiled for some specific version of NET Standard, then it can be used in various implementations of NET Standard (as specifications).Here is a diagram that shows this concept:
.NET Standard is a specification / standard / contract for implementation (Implementation) BCL (Base Class Library)
.NET Standard refers to .NET as the HTML specification refers to the browser. The browser is an implementation of the HTML specification.
or as an interface to the class. The interface, after all, is also a specification for a class.
I.e
each one is a .NET Standard implementation.
information is taken from here: https://www.infoq.com/news/2017/10/dotnet-core-standard-difference
Source: https://ru.stackoverflow.com/questions/931531/
All Articles