.NET Framework各版本特性一览

2023-06-07,,

https://msdn.microsoft.com/en-us/library/bb822049.aspx

.NET Framework version

CL version

Features

Included in Visual Studio version

✓ Included in
+ Can be installed on
Windows

✓ Included in
+ Can be installed on
Windows Server

To determine installed .NET version

.NET 4.6.2 Preview

4

Cryptography enhancements, including support for X509 certificates containing FIS 186-3 DSA, support for persisted-key symmetric encryption, SignedXmlsupport for SHA-2 hashing, and increased clarity for inputs to ECDiffieHellman key derivation routines.

For Windows Presentation Foundation (WPF) apps, soft keyboard support and per-monitor DPI.

ClickOnce support for the TLS 1.1 and TLS 1.2 protocols.

Support for converting Windows Forms and WPF apps to UWP apps.

 

✓ 10 Insider Preview Build 14295

+ 10 November Update

+ 10
+ 8.1
+ 7

+ 2012 R2
+ 2012
+ 2008 R2 SP1

Use ReleaseDWORD:

394747 (Windows 10 Insider Preview Build 14295)

394748 (all other OS versions)

(seeinstructions)

Net 4.6.1

4

Support for X509 certificates containing ECDSA

Always Encrypted support for hardware protected keys in ADO.NET

Spell checking improvements in WPF

More...

 

✓ 10 November Update

+ 10
+ 8.1
+ 8
+ 7

+ 2012 R2
+ 2012
+ 2008 R2 SP1

Use ReleaseDWORD:

394254 (Windows 10 November Update)

394271 (all other OS versions)

(seeinstructions)

.NET 4.6

4

Compilation using .NET Native

ASP.NET Core 5

Event tracing improvements

Support for page encodings

More...

2015, although some .NET libraries are available on NuGet. For more information see, The .NET Framework and Out-of-Band Releases.

✓ 10
+ 8.1
+ 8
+ 7
+ Vista

+ 2012 R2
+ 2012
+ 2008 R2 SP1
+ 2008 SP2

Use ReleaseDWORD:

393295 (Windows 10)

393297 (all other OS versions)

(seeinstructions)

4.5.2

4

New APIs for transactional systems and ASP.NET

System DPI resizing in Windows Forms controls

Profiling improvements

ETW and stress logging improvements

More...

-

+ 8.1
+ 8
+ 7
+ Vista

+ 2012 R2
+ 2012
+ 2008 R2 SP1
+ 2008 SP2

Use ReleaseDWORD: 379893
(seeinstructions)

4.5.1

4

Support for Windows Phone Store apps

Automatic binding redirection

Performance and debugging improvements

More...

2013

✓ 8.1
+ 8
+ 7
+ Vista

✓ 2012 R2
+ 2012
+ 2008 R2 SP1
+ 2008 SP2

Use ReleaseDWORD:

378675 (Windows 8.1)

378758 (all other)

(seeinstructions)

4.5

4

Support for Windows Store apps

WPF, WCF, WF, ASP.NET updates

More...

2012

✓ 8
+ 7
+ Vista

✓ 2012
+ 2008 R2 SP1
+ 2008 SP2

Use ReleaseDWORD: 378389
(seeinstructions)

4

4

Expanded base class libraries

Cross-platform development with Portable Class Library

MEF, DLR, code contracts

More...

2010

+ 7
+ Vista

+ 2008 R2 SP1
+ 2008 SP2
+ 2003

Seeinstructions

3.5

2.0

AJAX-enabled websites

LINQ

Dynamic data

More...

2008

✓ 10✓ 8.1*
✓ 8*
✓ 7
+ Vista

✓2008 R2 SP1*
+ 2012 R2
+ 2012
+ 2008 SP2
+ 2003

Seeinstructions

3.0

2.0

WPF, WCF, WF, CardSpace

-

✓ Vista

✓ 2008 R2 SP1*
✓ 2008 SP2*
+ 2003

Seeinstructions

2.0

2.0

Generics

ASP.NET additions

More...

2005

-

✓ 2008 R2 SP1
✓ 2008 SP2
✓ 2003

Seeinstructions

1.1

1.1

ASP.NET and ADO.NET updates

Side-by-side execution

More...

2003

-

✓ 2003

Seeinstructions

1.0

1.0

First version of the .NET Framework.

Visual Studio .NET

-

-

Seeinstructions

如何:确定安装了哪些 .NET Framework 版本

.NET Framework 由两个采用不同版本的主要组件构成:

一组程序集,它们是为应用提供功能的类型与资源的集合。 .NET Framework 和程序集使用相同的版本号。

公共语言运行时 (CLR),可管理并执行应用的代码。 CLR 由其自己的版本号标识(请参阅 .NET Framework 版本和依赖关系)。

通过查看注册表来查找 .NET Framework 版本 (.NET Framework 1-4)

    在“开始”菜单上,选择“运行”。

    在“打开”框中,输入“regedit.exe”。

    你必须具有管理凭据才能运行 regedit.exe。

    在注册表编辑器中,打开以下子项:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP

    安装的版本将在 NDP 子项的下方列出。 版本号存储在“版本”项中。 对于 .NET Framework 4,“版本”项位于客户端或完整子项下(在 NDP 下),或在两个子项下。

    注意

    注册表中的“NET Framework Setup”文件夹不会以句点开头。

通过查看注册表来查找 .NET Framework 版本(.NET Framework 4.5 和更高版本)

    在“开始”菜单上,选择“运行”。

    在“打开”框中,输入“regedit.exe”。

    你必须具有管理凭据才能运行 regedit.exe。

    在注册表编辑器中,打开以下子项:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full

    请注意,Full 子项的路径包括 Net Framework 子项,而不包括 .NET Framework

    注意

    如果 Full 子项不存在,则表示你尚未安装 .NET Framework 4.5 或更高版本。

    检查名为 Release 的 DWORD 值。 存在 Release DWORD 表明该计算机上已安装 .NET Framework 4.5 或更新版本。

    Release DWORD 的值指示将安装的 .NET Framework 版本。

    Release DWORD 的值

    版本

    378389

    .NET Framework 4.5

    378675

    使用 Windows 8.1 或 Windows Server 2012 R2 安装的 .NET Framework 4.5.1

    378758

    安装在 Windows 8、Windows 7 SP1 或 Windows Vista SP2 上的 .NET Framework 4.5.1

    379893

    .NET Framework 4.5.2

    在 Windows 10 系统上:393295

    在所有其他操作系统版本上:393297

    .NET Framework 4.6

    在 Windows 10 November Update 系统上:394254

    在所有其他操作系统版本上:394271

    .NET Framework 4.6.1

.NET Framework各版特性一览的相关教程结束。

《.NET Framework各版本特性一览.doc》

下载本文的Word格式文档,以方便收藏与打印。