Dot Net Framework



  1. Download.NET Framework.NET Framework is a Windows-only version of.NET for building any type of app that runs on Windows.
  2. Check.NET Framework 4.5 (or later) If Microsoft.NET Framework 4.5 (or later) isn't on the list, follow the steps from Microsoft to install it. If Microsoft.NET Framework 4.5 (or later) is on the list, repair it: In the Programs and Features window, select Microsoft.NET Framework 4.5 (or later). Then select Uninstall/Change.

The.NET Framework 3.5 SP1 offline installer is available on the.NET Framework 3.5 SP1 Download page and is available for Windows versions prior to Windows 10. Install the.NET Framework 3.5 on Demand. You may see the following configuration dialog if you try to run an app that requires the.NET Framework.

-->

.NET Framework is a technology that supports building and running Windows apps and web services. .NET Framework is designed to fulfill the following objectives:

  • Provide a consistent, object-oriented programming environment whether object code is stored and executed locally, executed locally but web-distributed, or executed remotely.

  • Provide a code-execution environment that:

    • Minimizes software deployment and versioning conflicts.

    • Promotes safe execution of code, including code created by an unknown or semi-trusted third party.

    • Eliminates the performance problems of scripted or interpreted environments.

  • Make the developer experience consistent across widely varying types of apps, such as Windows-based apps and Web-based apps.

  • Build all communication on industry standards to ensure that code based on .NET Framework integrates with any other code.

Note

.NET Framework 4.8 is the last version of .NET Framework, and no further versions will be released. However, .NET Framework will continue to be serviced with monthly security and reliability bug fixes. Additionally, it will continue to be included with Windows, with no plans to remove it. You don't need to migrate your .NET Framework apps, but for new development, use .NET 5.0 or later.

.NET Framework consists of the common language runtime (CLR) and the .NET Framework class library. The common language runtime is the foundation of .NET Framework. Think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that promote security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that doesn't target the runtime is known as unmanaged code. The class library is a comprehensive, object-oriented collection of reusable types that you use to develop apps ranging from traditional command-line or graphical user interface (GUI) apps to apps based on the latest innovations provided by ASP.NET, such as Web Forms and XML web services.

.NET Framework can be hosted by unmanaged components that load the common language runtime into their processes and initiate the execution of managed code, thereby creating a software environment that exploits both managed and unmanaged features. .NET Framework not only provides several runtime hosts but also supports the development of third-party runtime hosts.

For example, ASP.NET hosts the runtime to provide a scalable, server-side environment for managed code. ASP.NET works directly with the runtime to enable ASP.NET apps and XML web services, both of which are discussed later in this article.

Internet Explorer is an example of an unmanaged app that hosts the runtime (in the form of a MIME type extension). Using Internet Explorer to host the runtime enables you to embed managed components or Windows Forms controls in HTML documents. Hosting the runtime in this way makes managed mobile code possible, but with significant improvements that only managed code offers, such as semi-trusted execution and isolated file storage.

The following illustration shows the relationship of the common language runtime and the class library to your apps and to the overall system. The illustration also shows how managed code operates within a larger architecture.

The following sections describe the main features of .NET Framework in greater detail.

Features of the common language runtime

The common language runtime manages memory, thread execution, code execution, code safety verification, compilation, and other system services. These features are intrinsic to the managed code that runs on the common language runtime.

Regarding security, managed components are awarded varying degrees of trust, depending on a number of factors that include their origin (such as the Internet, enterprise network, or local computer). This means that a managed component might or might not be able to perform file-access operations, registry-access operations, or other sensitive functions, even if it's used in the same active app.

The runtime also enforces code robustness by implementing a strict type-and-code-verification infrastructure called the common type system (CTS). The CTS ensures that all managed code is self-describing. The various Microsoft and third-party language compilers generate managed code that conforms to the CTS. This means that managed code can consume other managed types and instances, while strictly enforcing type fidelity and type safety.

In addition, the managed environment of the runtime eliminates many common software issues. For example, the runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common app errors, memory leaks and invalid memory references.

The runtime also accelerates developer productivity. For example, programmers write apps in their development language of choice yet take full advantage of the runtime, the class library, and components written in other languages by other developers. Any compiler vendor who chooses to target the runtime can do so. Language compilers that target the .NET Framework make the features of the .NET Framework available to existing code written in that language, greatly easing the migration process for existing apps.

While the runtime is designed for the software of the future, it also supports software of today and yesterday. Interoperability between managed and unmanaged code enables developers to continue to use necessary COM components and DLLs.

The runtime is designed to enhance performance. Although the common language runtime provides many standard runtime services, managed code is never interpreted. A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it's executing. Meanwhile, the memory manager removes the possibilities of fragmented memory and increases memory locality-of-reference to further increase performance.

Finally, the runtime can be hosted by high-performance, server-side apps, such as Microsoft SQL Server and Internet Information Services (IIS). This infrastructure enables you to use managed code to write your business logic, while still enjoying the superior performance of the industry's best enterprise servers that support runtime hosting.

.NET Framework class library

452

The .NET Framework class library is a collection of reusable types that tightly integrate with the common language runtime. The class library is object oriented, providing types from which your own managed code derives functionality. This not only makes the .NET Framework types easy to use but also reduces the time associated with learning new features of the .NET Framework. In addition, third-party components integrate seamlessly with classes in the .NET Framework.

For example, the .NET Framework collection classes implement a set of interfaces for developing your own collection classes. Your collection classes blend seamlessly with the classes in the .NET Framework.

As you would expect from an object-oriented class library, the .NET Framework types enable you to accomplish a range of common programming tasks, including string management, data collection, database connectivity, and file access. In addition to these common tasks, the class library includes types that support a variety of specialized development scenarios. You can use .NET Framework to develop the following types of apps and services:

Dot net framework 1
  • Console apps. See Building Console Applications.

  • Windows GUI apps (Windows Forms). See Windows Forms.

  • Windows Presentation Foundation (WPF) apps. See Windows Presentation Foundation.

  • ASP.NET apps. See Web Applications with ASP.NET.

  • Windows services. See Introduction to Windows Service Applications.

  • Service-oriented apps using Windows Communication Foundation (WCF). See Service-Oriented Applications with WCF.

  • Workflow-enabled apps using Windows Workflow Foundation (WF). See Windows Workflow Foundation.

The Windows Forms classes are a comprehensive set of reusable types that vastly simplify Windows GUI development. If you write an ASP.NET Web Form app, you can use the Web Forms classes.

See also

Introduction

Dot Net Framework 3.5

About the .NET Framework 4.8

The Microsoft .NET Framework 4.8 is a highly compatible, in-place update to the Microsoft .NET Framework 4, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.2.

The offline package can be used in situations in which the web installer cannot be used because of lack of Internet connectivity. This package is larger than the web installer and does not include the language packs. We recommend that you use the web installer instead of the offline installer for optimal efficiency and bandwidth requirements.

When you install this package, you can see following packages or updates installed as per operating system:

  • In Windows 7 SP1 and Windows Server 2008 R2 SP1, Update for Microsoft.NET Framework 4.8 (KB4503548) is displayed as an installed product under Programs and Features in Control Panel.

  • In Windows Server 2012, Update for Microsoft Windows (KB4486081) is displayed under Installed Updates in Control Panel. In Windows RT 8.1, Windows 8.1 or Windows Server 2012 R2, Update for Microsoft Windows (KB4486105) is displayed under Installed Updates in Control Panel.

  • In Windows RT 8.1, Windows 8.1 or Windows Server 2012 R2, Update for Microsoft Windows (KB4486105) is displayed under Installed Updates in Control Panel.

  • In Windows 10 Anniversary Update (Version 1607), Windows 10 Creators Update (Version 1703) and Windows Server 2016, it’s listed as Update for Microsoft Windows (KB4486129) under Installed Updates in Control Panel.

  • In Windows 10 Falls Creator's Update Version 1709, Windows 10 April 2018 Update (Version 1803), Windows 10 October 2018 Update (Version 1809) and Windows Server 2019, it’s listed as Update for Microsoft Windows (KB4486153) under Installed Updates in Control Panel.

Download information

The following files are available for download from the .NET Download site:

For Windows RT 8.1:

For more information about how to download Microsoft support files, see How to obtain Microsoft support files from online services .

Virus Scan Claim: Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Issues that this update resolves

The following problems in .NET Framework 4.8 are fixed in this update.

ASP.NET:

  • Fixed System.Web.Caching initialization bug when using ASP.NET cache on machines without IIS.

Windows Forms:

  • Fixed the ability to select ComboBox edit field text using mouse down+move.

  • Fixed the issue with interaction between WPF user control and hosting WinForms app when processing keyboard input.

  • Fixed the issue with Narrator/NVDA announcing of PropertyGrid's ComboBox expanding and collapsing action.

  • Fixed the issue with rendering '...' button of PropertyGrid control in HC mode to draw button background and dots contrasted.

WPF:

  • Fixed a handle leak during creation of a Window in WPF applications that are manifested for Per Monitor DPI V2 Awareness. This leak may lead to extraneous GC.Collect calls that can impact performance in Window creation scenarios.

  • Fixed a regression caused by the bug fix involving bindings with DataContext explicitly on the binding path.

More information

For more information about Microsoft .NET Framework 4.8, see the .NET Framework 4.8 known issues.

This version of the .NET Framework runs side-by-side with the .NET Framework 3.5 SP1 and earlier versions, but it performs an in-place update for the .NET Framework 4, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 and 4.7.2.

Command-line switches for this update

For more information about the various command-line options that are supported by this update, see the 'Command-Line options' section in the .NET Framework Deployment Guide for Developers.

Restart requirement

You may have to restart the computer after you install this update. We recommend that you exit all applications that are using the .NET Framework before you install this update.

Applies to

Dot Net Framework Download

The .NET Framework 4.8 (Offline Installer) supports the following operating systems:

Dot Net Framework 4.6

Client

  • Windows 10 Version 1809

  • Windows 10 Version 1803

  • Windows 10 Version 1709

  • Windows 10 Version 1703

  • Windows 10 Version 1607

  • Windows 8.1

  • Windows 7 SP1

Server

Dot Net Framework Core

  • Windows Server 2019

  • Windows Server Version 1803

  • Windows Server Version 1809

  • Windows Server 2016

  • Windows Server 2012 R2

  • Windows Server 2012

  • Windows Server 2008 R2 SP1