What is .NET Framework?
.NET Framework is a software development framework for building and running applications on Windows.
.NET Framework is a software development framework for building and running applications on Windows.
We recommend that all new product development uses .NET 6 or later. These newer .NET versions are cross-platform, support more application types, and deliver high performance.
You should only download .NET Framework if one of the following is true:
.NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
There are various implementations of .NET. Each implementation allows .NET code to execute in different places—Linux, macOS, Windows, iOS, Android, and many more.
.NET Standard is a formal specification of the APIs that are common across .NET implementations. This allows the same code and libraries to run on different implementations.
The two major components of .NET Framework are the Common Language Runtime and the .NET Framework Class Library.
.NET applications are written in the C#, F#, or Visual Basic programming language. Code is compiled into a language-agnostic Common Intermediate Language (CIL). Compiled code is stored in assemblies—files with a .dll or .exe file extension.
When an app runs, the CLR takes the assembly and uses a just-in-time compiler (JIT) to turn it into machine code that can execute on the specific architecture of the computer it is running on.
Version | Release date | End of support |
---|---|---|
.NET Framework 4.8.1 | August 9, 2022 | |
.NET Framework 4.8 | April 18, 2019 | |
.NET Framework 4.7.2 | April 30, 2018 | |
.NET Framework 4.7.1 | October 17, 2017 | |
.NET Framework 4.7 | April 5, 2017 | |
.NET Framework 4.6.2 | August 2, 2016 | |
.NET Framework 3.5 SP1 | November 18, 2008 | January 9, 2029 |
The following releases have reached end of life, meaning they're no longer supported. We recommend moving to a supported release.
Version | Release date | End of support |
---|---|---|
.NET Framework 4.6.1 | November 30, 2015 | April 26, 2022 |
.NET Framework 4.6 | July 20, 2015 | April 26, 2022 |
.NET Framework 4.5.2 | May 5, 2014 | April 26, 2022 |
.NET Framework 4.5.1 | October 17, 2013 | January 12, 2016 |
.NET Framework 4.5 | August 15, 2012 | January 12, 2016 |
.NET Framework 4.0 | April 12, 2010 | January 12, 2016 |
.NET Framework is used to create and 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.
Software developers and the users of their applications both use .NET Framework:
You need .NET Framework installed to run applications on Windows that were created using .NET Framework. It's already included in many versions of Windows. You only need to download and install .NET Framework if prompted to do so.
.NET Framework applications are written in C#, F#, or Visual Basic and compiled to Common Intermediate Language (CIL). The Common Language Runtime (CLR) runs .NET applications on a given machine, converting the CIL to machine code. See Architecture of .NET Framework for more info.
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 and types for common functionality. See Architecture of .NET Framework for more info.
.NET and .NET Framework share many of the same components and you can share code across the two. Some key differences include:
See .NET vs. .NET Framework for server apps for more details.
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 share the same CLR version.
For example, installing .NET Framework 4.8 on a machine with .NET Framework 4.7.2 and 3.5 installed will perform an in-place update of the 4.7.2 installation and leave 3.5 installed separately.
.NET Framework version | CLR version |
---|---|
.NET Framework 4.x | 4.0 |
.NET Framework 2.x and 3.x | 2.0 |
.NET Framework 1.1 | 1.1 |
.NET Framework 1.0 | 1.0 |
.NET Framework is free, like the rest of the .NET platform. There are no fees or licensing costs, including for commercial use. See .NET is free for more details.
In most cases, you should use the latest stable release. Currently, that's .NET Framework 4.8.1 .
Applications that were created with any 4.x version of .NET Framework will run on .NET Framework 4.8.1 . 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 list.
.NET Framework 4.8.1 is the latest version of .NET Framework and will continue to be distributed with future releases of Windows. As long as it is installed on a supported version of Windows, .NET Framework 4.8.1 will continue to also be supported.
See the .NET Framework support policy for more details
Learn .NET easily with our step-by-step tutorials.