Home > News content

Microsoft stops updating. Net standard and moves to. Net 5 in the future (Figure)

via:cnBeta.COM     time:2020/9/18 10:06:37     readed:560

In 2016, Microsoft announced. Net standard. It is an API that all. Net platforms must implement. It unifies the. Net platform and prevents future fragmentation.Recent blog updateMicrosoft says it will not release a new version of. Net standard in the future.

visit:

Alibaba cloud launched a special special event for colleges and Universities: 0 yuan experience of entry cloud computing rapid deployment Entrepreneurship Project

9twrt18j.jpg

ezgif.com-optimize(2).gif

. net 5 will be a single product with a unified set of functions and APIs, which can be used for Windows desktop applications, cross platform mobile applications, console applications, cloud services and websites. . net 5 and all future versions will continue to support. Net standard 2.1 and earlier. You can think of. Net 5 as. Net standard vNext.

For developers, what should be. Net standard and. Net 5? Microsoft suggests the following.

● use netstandard2.0 to share code between the. Net framework and all other platforms.

● use netstandard2.1 to share code between mono, xamarin, and. Net core 3. X.

Use net5.0 for code sharing.

Wrote in the blog post

Net5.0 is for code that can run anywhere. It combines and replaces the names of netcoreapp and netstandard. We also have platform specific frameworks, such as net5.0-windows (later net6.0-android, net6.0-ios).

Since there is no difference between the standard and its implementation, you will be able to take advantage of new features faster than using the. Net standard. And because of naming conventions, you'll be able to easily know who can use a given library -- without consulting the. Net standard version table.

Although. Net standard 2.1 will be the last version of. Net standard,. Net 5 and all future versions will continue to support. Net standard 2.1 and earlier. You should see net5.0 (and future versions) as the basis for future shared code.

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments