.NET Framework is a software development framework for building & running applications on Windows.

Bạn đang xem: Github

.NET Framework is part of the .NET platsize, a collection of technologies for building apps for Linux, macOS, Windows, iOS, Android, và more.


.NET, .NET Framework, và .NET Core

.NET is a developer platkhung made up of tools, programming languages, & libraries for building many different types of applications.

There are various implementations of .NET. Each implementation allows .NET code lớn exexinh đẹp in different places—Linux, macOS, Windows, iOS, Android, & many more.

.NET Framework is the original implementation of .NET. It supports running websites, services, desktop apps, and more on Windows.

.NET Standard is a formal specification of the APIs that are common across .NET implementations. This allows the same code & libraries to lớn run on different implementations.


Architecture of .NET Framework

The two major components of .NET Framework are the Common Language Runtime và the .NET Framework Class Library.

The Common Language Runtime (CLR) is the execution engine that handles running applications. It provides services like thread management, garbage collection, type-safety, exception handling, and more. The Class Library provides a phối of APIs & types for comtháng functionality. It provides types for strings, dates, numbers, etc. The Class Library includes APIs for reading and writing files, connecting lớn databases, drawing, và more.

.NET applications are written in the C#, F#, or Visual Basic programming language. Code is compiled inlớn a language-agnostic Common Intermediate Language (CIL). Compiled code is stored in assemblies—files with a .dll or .exe tệp tin extension.

When an ứng dụng runs, the CLR takes the assembly & uses a just-in-time compiler (JIT) to turn it into lớn machine code that can exexinh đẹp on the specific architecture of the computer it is running on.

Read more: What is the .NET Framework

The following releases have reached end of life, meaning they"re no longer supported. We recommkết thúc moving to a supported release.

.NET Framework FAQ

What is .NET Framework used for?

.NET Framework is used to lớn create & run software applications. .NET apps can run on many operating systems, using different implementations of .NET. .NET Framework is used for running .NET apps on Windows.

Xem thêm: 0976 Là Mạng Gì? Ý Nghĩa Đầu Số 0976 Là Của Mạng Nào ? Khám Phá Ý Nghĩa Đầu Số 0976

Who uses .NET Framework?

Software developers và the users of their applications both use .NET Framework:

Why bởi I need .NET Framework?

You need .NET Framework installed in order lớn run applications on Windows that were created using .NET Framework. It is already included in many versions of Windows. You only need lớn download và install .NET Framework if prompted lớn vì chưng so.

How does .NET Framework work?

.NET Framework applications are written in C#, F#, or Visual Basic và compiled to Common Intermediate Language (CIL). The Comtháng Language Runtime (CLR) runs .NET applications on a given machine, converting the CIL to machine code. See Architecture of .NET Framework for more info.

What are the main components/features of .NET Framework?

The two major components of .NET Framework are the Common Language Runtime (CLR) and the .NET Framework Class Library. The CLR is the execution engine that handles running applications. The Class Library provides a set of APIs & types for comtháng functionality. See Architecture of .NET Framework for more info.

What is the difference between .NET Core and .NET Framework?

.NET Chip Core and .NET Framework tóm tắt many of the same components & you can tóm tắt code across the two. Some key differences include:

.NET bộ vi xử lý Core is cross-platsize and runs on Linux, macOS, và Windows. .NET Framework only runs on Windows. .NET Chip Core is open-source và accepts contributions from the community. The .NET Framework source code is available, but does not take direct contributions. The majority of .NET innovation happens in .NET Vi xử lý Core. .NET Framework is included in Windows & automatically updated machine-wide by Windows Update. .NET Vi xử lý Core is shipped independently.

See Choosing between .NET Chip Core and .NET Framework for more details.

Can you have sầu multiple .NET Frameworks installed?

Some versions of .NET Framework are installed side-by-side, while others will upgrade an existing version (known as an in-place update). In-place updates occur when two .NET Framework versions mô tả the same CLR version.

For example, installing .NET Framework 4.8 on a machine with .NET Framework 4.7.2 và 3.5 installed will persize an in-place update of the 4.7.2 installation và leave sầu 3.5 installed separately.

CLR version used by .NET Framework versions .NET Framework version CLR version
.NET Framework 4.x 4.0
.NET Framework 2.x và 3.x 2.0
.NET Framework 1.1 1.1
.NET Framework 1.0 1.0

How much does .NET Framework cost?

.NET Framework is không tính phí, lượt thích the rest of the .NET platkhung. There are no fees or licensing costs, including for commercial use. See .NET is không tính tiền for more details.

Which version of .NET Framework should I use?

In most cases, you should use the lademo stable release. Currently, that"s .NET Framework 4.8 .

Applications that were created with any 4.x version of .NET Framework will run on .NET Framework 4.8 . To run an application that was created for an earlier version (for example, .NET Framework 3.5), you should install that version. See Download .NET Framework for a complete danh sách.

What is the support policy for .NET Framework?

.NET Framework 4.8 is the lachạy thử version of .NET Framework & will continue khổng lồ be distributed with future releases of Windows. As long as it is installed on a supported version of Windows, .NET Framework 4.8 will continue khổng lồ also be supported.