M
M
Maxim2018-04-15 19:22:17
.NET
Maxim, 2018-04-15 19:22:17

Class library .Net. What is the difference?

There are different kinds of class libraries in Visual studio.
.Net Framework Standard Core.
What is the difference, which one to choose and is the code the same on them?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Stanislav Makarov, 2018-04-15
@Got_Oxidus

1. .Net Framework and .Net Core - different implementations of interfaces and specifications, which are popularly called "dotnet". There same - Mono.
2.

What is the difference, which one to choose and is the code the same on them?

The difference is in the available APIs. Each of the implementations has its own set of standard classes, somewhere more, somewhere less. The .Net Standard is just the GENERAL standard for available APIs. You will develop under .Net Standard - your library will work on all implementations that support it. Please note that there are several versions of .Net Standard - the older the version, the more APIs are available, but the more likely it is that a certain version of a certain implementation does not support a specific version of .Net Standard (if you need more details, I will look for links).
3.
which one to choose

Choose .Net Standard - you can run it everywhere, but implementation-specific APIs will not be available. Choose the .Net Framework - all APIs of the classic Framework will be available but portability may be lost. Choose .Net Standard until you rest (if at all) that you need an API that is only in the .Net Framework.
What freeExec said about Standard has nothing to do with reality, C++ and native dlls have nothing to do with it.

F
freeExec, 2018-04-15
@freeExec

In general, there is an extended description in the corner of what it is. But I activate the telepath and assume that:
Choose from who she will interact with, .Net Framework, C ++ and others, .Net Core

P
Peter, 2018-04-16
@petermzg

It 's well written here what's the difference

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question