Английская Википедия:.NET

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description Шаблон:For-multi Шаблон:Use American English Шаблон:Use mdy dates Шаблон:Infobox software The .NET platform (pronounced as "dot net") is a free and open-source, managed computer software framework for Windows, Linux, and macOS operating systems.[1] The project is mainly developed by Microsoft employees by way of the .NET Foundation and is released under an MIT License.[2]

History

Шаблон:See also

In the late 1990s, Microsoft began developing a managed code runtime and programming language (C#) which it billed together as part of the ".NET platform", with the core runtime and software libraries comprising the .NET Framework.

At the heart of the .NET Platform is the .NET Framework, a high-productivity, multilanguage development and execution environment for building and running Web services with important features such as cross-language inheritance and debugging.[3]

Soon after the announcement of the C# language at the Professional Developers Conference in 2000 and previews of its software became available, Microsoft began a standardization effort through ECMA for what it dubbed the Common Language Infrastructure. The company continued development and support of its own implementation as proprietary, closed source software in the meantime.

On November 12, 2014, Microsoft introduced .NET Core—an open-source, cross-platform[4] successor[5] to .NET Framework—and released source code for the .NET Core CoreCLR implementation, source for the "entire [...] library stack" for .NET Core,[6] and announced the adoption of a conventional ("bazaar"-like) open-source development model under the stewardship of the .NET Foundation. Miguel de Icaza describes .NET Core as a "redesigned version of .NET that is based on the simplified version of the class libraries",[7] and Microsoft's Immo Landwerth explained that .NET Core would be "the foundation of all future .NET platforms". At the time of the announcement, the initial release of the .NET Core project had been seeded with a subset of the libraries' source code and coincided with the relicensing of Microsoft's existing .NET reference source away from the restrictions of the Ms-RSL. Landwerth acknowledged the disadvantages of the formerly selected shared license, explaining that it made codename Rotor "a non-starter" as a community-developed open source project because it did not meet the criteria of an Open Source Initiative (OSI) approved license.[8][9][10]

Шаблон:Not a typo 1.0 was released on June 27, 2016,[11] along with Microsoft Visual Studio 2015 Update 3, which enables .NET Core development.[12] Шаблон:Not a typo 1.0.4 and .NET Core 1.1.1 were released along with .NET Core Tools 1.0 and Visual Studio 2017 on March 7, 2017.[13]

.NET Core 2.0 was released on August 14, 2017, along with Visual Studio 2017 15.3, ASP.NET Core 2.0, and Entity Framework Core 2.0.[14] Шаблон:Not a typo 2.1 was released on May 30, 2018.[15] NET Core 2.2 was released on December 4, 2018.[16]

.NET Core 3 was released on September 23, 2019.[17] NET Core 3 adds support for Windows desktop application development[18] and significant performance improvements throughout the base library.

In November 2020, Microsoft released .NET 5.0.[19] The "Core" branding was abandoned and version 4.0 was skipped to avoid conflation with .NET Framework, of which the latest releases had all used 4.x versioning for all significant (non-bugfix) releases since 2010.

It addresses the patent concerns related to the .NET Framework Шаблон:Citation needed.

In November 2021, Microsoft released .NET 6.0,[20] and in November 2022 released .NET 7.0,[21] but only the former is a long-term support (LTS) release.

Version Release date Released with Latest update Latest update date Support ends[22]
Шаблон:Version Шаблон:Dts[23] Visual Studio 2015 Update 3 1.0.16 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[24] Visual Studio 2017 Version 15.0 1.1.13 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[14] Visual Studio 2017 Version 15.3 2.0.9 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[15] Visual Studio 2017 Version 15.7 2.1.39 (LTS) Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[16] Visual Studio 2019 Version 16.0 2.2.8 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[25] Visual Studio 2019 Version 16.3 3.0.3 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[26] Visual Studio 2019 Version 16.4 3.1.32 (LTS) Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[27] Visual Studio 2019 Version 16.8 5.0.17 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[28] Visual Studio 2022 Version 17.0 6.0.23 (LTS) Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[21] Visual Studio 2022 Version 17.4 7.0.12 Шаблон:Dts Шаблон:Dts
Шаблон:Version Шаблон:Dts[29] Visual Studio 2022 Version 17.8 8.0.0 (LTS) Шаблон:Dts
Шаблон:Version Шаблон:Dts (projected) Шаблон:Dts (projected)
Шаблон:Version

Alpine Linux, which primarily supports and uses musl libc,[30] is supported since .NET Core 2.1.[31]

Windows Arm64 is natively supported since .NET 5. Previously, .NET on ARM meant applications compiled for the x86 architecture and run through the ARM emulation layer.[27]

Language support

Файл:Overview of the Common Language Infrastructure 2015.svg
.NET uses the Common Language Infrastructure (CLI)

.NET fully supports C# and F# (and C++/CLI as of 3.1; only enabled on Windows) and supports Visual Basic .NET (for version 15.5 in .NET Core 5.0.100-preview.4, and some old versions supported in old .NET Core).[32]

VB.NET compiles and runs on .NET, but as of .NET Core 3.1, the separate Visual Basic Runtime is not implemented. Microsoft initially announced that .NET Core 3 would include the Visual Basic Runtime, but after two years the timeline for such support was updated to .NET 5.[33][34]

Architecture

Шаблон:Main .NET supports the following cross-platform scenarios: ASP.NET Core web apps, command-line/console apps, libraries and Universal Windows Platform apps. Prior to .NET Core 3.0, it did not implement Windows Forms or Windows Presentation Foundation (WPF), which render the standard GUI for desktop software on Windows.[35] However, from .NET Core 3 on, it started implementing them along with Universal Windows Platform (UWP).[36] It is also possible to write cross-platform graphical applications using .NET with the GTK# language-binding for the GTK widget toolkit.

.NET supports use of NuGet packages. Unlike .NET Framework, which is serviced using Windows Update, .NET used to rely on its package manager to receive updates.[35] Since December 2020, however, .NET updates started being delivered via Windows Update as well.[37]

The two main components of .NET are CoreCLR and CoreFX, which are comparable to the Common Language Runtime (CLR) and the Framework Class Library (FCL) of the .NET Framework's Common Language Infrastructure (CLI) implementation.[38]

As an implementation of CLI's Virtual Execution System (VES), CoreCLR is a complete runtime and virtual machine for managed execution of CLI programs and includes a just-in-time compiler called RyuJIT.[39]Шаблон:Efn Шаблон:Not a typo also contains CoreRT, the Шаблон:Not a typo runtime optimized to be integrated into AOT compiled native binaries.[40]

As an implementation of CLI's Standard Libraries,[41] CoreFX shares a subset of Шаблон:Not a typo APIs, however, it also comes with its own APIs that are not part of the Шаблон:Not a typo.[35] A variant of the .NET library is used for UWP.[42]

The .NET command-line interface offers an execution entry point for operating systems and provides developer services like compilation and package management.[43]

Файл:UML dotnet streams.svg
UML package diagram of the stream hierarchy in .NET

.NET MAUI

.NET Multi-platform App UI (.NET MAUI, introduced with .NET 6) is a cross-platform framework for creating native mobile and desktop apps with C# and Extensible Application Markup Language (XAML),[44] which also supports Android and iOS.

Mascot

Файл:Dotnet-bot.svg
dotnet bot, the community mascot for .NET

The official community mascot of .NET is the .NET Bot (stylized as "dotnet bot" or "dotnet-bot"). The dotnet bot served as the placeholder developer for the initial check-in of the .NET source code when it was open-sourced.[45] It has since been used as the official mascot.

Notes

Шаблон:Reflist

References

Шаблон:Reflist

Further reading

External links

Шаблон:Wikibooks Шаблон:Wikiversity

Шаблон:.NET Framework Шаблон:Common Language Infrastructure Шаблон:Microsoft APIs Шаблон:Microsoft development tools Шаблон:Microsoft FOSS