.NET Framework (4)

最新版本 .NET Framework Version 4.7.2

.NET Framework Version 4.7.2

.NET Framework 是微軟全面而一致的編程模型,用於構建具有視覺效果令人驚嘆的用戶體驗,無縫和安全通信的應用程序,以及模擬一系列業務流程的能力。 Microsoft .NET Framework 4 可再發行組件包將安裝.NET Framework 運行時和運行和開發應用程序所需的關聯文件,以將目標.NET Framework 4.6 和更高版本的 Framework Framework 並行工作。基於早期版本框架的應用程序將繼續在默認的目標版本上運行。版本 4.5.1 建立在前一個里程碑版本 v4(這使得開發人員能夠優化他們的並行計算或分佈式系統的應用程序)和 v4.5(第一次使開發人員開始開發 Metro 風格的應用程序對於 Windows 8,Windows RT 和 Windows Phone 軟件環境).

.NET Framework for PC 是用於構建 Web,Windows,Windows Phone,Windows Server 和 Microsoft Azure 應用程序的開發平台。它由公共語言運行庫(CLR)和.NET 框架類庫組成,其中包括對許多行業標準的廣泛的功能和支持.

Microsoft.NET 框架提供了許多服務,包括內存管理,類型和內存安全性,安全性,網絡和應用程序部署。它提供了易於使用的數據結構和抽象級別較低的 Windows 操作系統的 API。您可以在.NET Framework 中使用各種編程語言,包括 C#,F#和 Visual Basic.6235896
.NET Framework 隨 Windows PC 一起提供,使您可以運行.NET Framework 應用程序。您可能需要 Windows 版本以後的.NET Framework 版本

ScreenShot

軟體資訊
檔案版本 .NET Framework Version 4.7.2

檔案名稱 NDP472-KB4054530-x86-x64-AllOS-ENU.exe
檔案大小 68.29 MB
系統 Windows 8 / Windows 10 / Windows 8 64 / Windows 10 64
軟體類型 免費軟體
作者 Microsoft Corporation
官網 https://docs.microsoft.com/en-us/dotnet/framework/index
更新日期 2018-05-01
更新日誌

What's new in this version:

CORE:
- The .NET Framework 4.7.2 features a large number of cryptographic enhancements, better decompression support for ZIP archives, and additional collection APIs

New overloads of RSA.Create and DSA.Create:
- The DSA.Create(DSAParameters) and RSA.Create(RSAParameters) methods let you supply key parameters when instantiated a new DSA or RSA key

Rfc2898DeriveBytes constructors accept a hash algorithm name:
- The Rfc2898DeriveBytes class has three new constructors with a HashAlgorithmName parameter that identifies the HMAC algorithm to use when deriving keys. Instead of using SHA-1, developers should use a SHA-2-based HMAC like SHA-256

Support for ephemeral keys:
PFX import can optionally load private keys directly from memory, bypassing the hard drive. When the new X509KeyStorageFlags.EphemeralKeySet flag is specified in an X509Certificate2 constructor or one of the overloads of the X509Certificate2.Import method, the private keys will be loaded as ephemeral keys. This prevents the keys from being visible on the disk. However:
- Since the keys are not persisted to disk, certificates loaded with this flag are not good candidates to add to an X509Store.
- Keys loaded in this manner are almost always loaded via Windows CNG. Therefore, callers must access the private key by calling extension methods, such as cert.GetRSAPrivateKey(). The X509Certificate2.PrivateKey property does not function.
- Since the legacy X509Certificate2.PrivateKey property does not work with certificates, developers should perform rigorous testing before switching to ephemeral keys.

Programmatic creation of PKCS#10 certification signing requests and X.509 public key certificates:
- Starting with the .NET Framework 4.7.2, workloads can generate certificate signing requests (CSRs), which allows certificate request generation to be staged into existing tooling. This is frequently useful in test scenarios

New SignerInfo members:
- Starting with the .NET Framework 4.7.2, the SignerInfo class exposes more information about the signature. You can retrieve the value of the System.Security.Cryptography.Pkcs.SignerInfo.SignatureAlgorithm property to determine the signature algorithm used by the signer. SignerInfo.GetSignature can be called to get a copy of the cryptographic signature for this signer
- Leaving a wrapped stream open after CryptoStream is disposed
- Starting with the .NET Framework 4.7.2, the CryptoStream class has an additional constructor that allows Dispose to not close the wrapped stream

Decompression changes in DeflateStream:
- Starting with the .NET Framework 4.7.2, the implementation of decompression operations in the DeflateStream class has changed to use native Windows APIs by default. Typically, this results in a substantial performance improvement.
- Support for decompression by using Windows APIs is enabled by default for applications that target .NET Framework 4.7.2. Applications that target earlier versions of .NET Framework but are running under .NET Framework 4.7.2 can opt into this behavior by adding the following AppContext switch to the application configuration file: <AppContextSwitchOverrides value="Switch.System.IO.Compression.DoNotUseNativeZipLibraryForDecompression=false" />

Additional collection APIs:
- The .NET Framework 4.7.2 adds a number of new APIs to the SortedSet<T> and HashSet<T> types

ASP.NET:
Support for dependency injection in Web Forms:
Dependency injection (DI) decouples objects and their dependencies so that an object's code no longer needs to be changed just because a dependency has changed. When developing ASP.NET applications that target the .NET Framework 4.7.2, you can:
- Use setter-based, interface-based, and constructor-based injection in handlers and modules, Page instances, and user controls of ASP.NET web application projects
- Use setter-based and interface-based injection in handlers and modules, Page instances, and user controls of ASP.NET web site projects
- Plug in different dependency injection frameworks

Support for same-site cookies:
- SameSite prevents a browser from sending a cookie along with a cross-site request. The .NET Framework 4.7.2 adds a HttpCookie.SameSite property whose value is a System.Web.SameSiteMode enumeration member. If its value is SameSiteMode.Strict or SameSiteMode.Lax, ASP.NET adds the SameSite attribute to the set-cookie header. SameSite support applies to HttpCookie objects, as well as to FormsAuthentication and System.Web.SessionState cookies

NETWORKING:
Implementation of HttpClientHandler properties:
The .NET Framework 4.7.1 added eight properties to the System.Net.Http.HttpClientHandler class. However, two threw a PlatformNotSupportedException. The .NET Framework 4.7.2 now provides an implementation for these properties. The properties are:
- CheckCertificateRevocationList
- SslProtocols

SQLCLIENT:
- Support for Azure Active Directory Universal Authentication and Multi-Factor authentication
- Growing compliance and security demands require that many customers use multi-factor authentication (MFA). In addition, current best practices discourage including user passwords directly in connection strings. To support these changes, the .NET Framework 4.7.2 extends SQLClient connection strings by adding a new value, "Active Directory Interactive", for the existing "Authentication" keyword to support MFA and Azure AD Authentication. The new interactive method supports native and federated Azure AD users as well as Azure AD guest users. When this method is used, the MFA authentication imposed by Azure AD is supported for SQL databases. In addition, the authentication process requests a user password to adhere to security best practices.
- In previous versions of the .NET Framework, SQL connectivity supported only the SqlAuthenticationMethod.ActiveDirectoryPassword and SqlAuthenticationMethod.ActiveDirectoryIntegrated options. Both of these are part of the non-interactive ADAL protocol, which does not support MFA. With the new SqlAuthenticationMethod.ActiveDirectoryInteractive option, SQL connectivity supports MFA as well as existing authentication methods (password and integrated authentication), which allows users to enter user passwords interactively without persisting passwords in the connection string.
- Support for Always Encrypted version 2

NET Framework 4.7.2 adds supports for enclave-based Always Encrypted. The original version of Always Encrypted is a client-side encryption technology in which encryption keys never leave the client. In enclave-based Always Encrypted, the client can optionally send the encryption keys to a secure enclave, which is a secure computational entity that can be considered part of SQL Server but that SQL Server code cannot tamper with. To support enclave-based Always Encrypted, the .NET Framework 4.7.2 adds the following types and members to the System.Data.SqlClient namespace:
- SqlConnectionStringBuilder.EnclaveAttestationUrl, which specifies the Uri for enclave-based Always Encrypted
- SqlColumnEncryptionEnclaveProvider, which is an abstract class from which all enclave providers are derived
- SqlEnclaveSession, which encapsulates the state for a given enclave session
- SqlEnclaveAttestationParameters, which provides the attestation parameters used by SQL Server to get information required to execute a particular Attestation Protocol

WINDOWS PRESENTATION FOUNDATION:
Finding ResourceDictionaries by Source:
- Starting with the .NET Framework 4.7.2, a diagnostic assistant can locate the ResourceDictionaries that have been created from a given source Uri. (This feature is for use by diagnostic assistants, not by production applications.) A diagnostic assistant such as Visual Studio’s “Edit-and-Continue” facility lets its user edit a ResourceDictionary with the intent that the changes be applied to the running application. One step in achieving this is finding all the ResourceDictionaries that the running application has created from the dictionary that’s being edited. For example, an application can declare a ResourceDictionary whose content is copied from a given source URI: <ResourceDictionary Source="MyRD.xaml">
- A diagnostic assistant that edits the original markup in MyRD.xaml can use the new feature to locate the dictionary. The feature is implemented by a new static method, ResourceDictionaryDiagnostics.GetResourceDictionariesForSource. The diagnostic assistant calls the new method using an absolute Uri that identifies the original markup, as illustrated by the following code: IEnumerable<ResourceDictionary> dictionaries = ResourceDictionaryDiagnostics.GetResourceDictionariesForSource(new Uri("pack://application:,,,/MyApp;component/MyRD.xaml"));

Finding ResourceDictionary owners:
- Starting with the .NET Framework 4.7.2, a diagnostic assistant can locate the owners of a given ResourceDictionary. (The feature is for use by diagnostic assistants and not by production applications.) Whenever a change is made to a ResourceDictionary, WPF automatically finds all DynamicResource references that might be affected by the change.
- A diagnostic assistant such as Visual Studio’s “Edit-and-Continue” facility may want extend this to handle StaticResource references. The first step in this process is to find the owners of the dictionary; that is, to find all the objects whose Resources property refers to the dictionary (either directly, or indirectly via the ResourceDictionary.MergedDictionaries property). Three new static methods implemented on the System.Windows.Diagnostics.ResourceDictionaryDiagnostics class, one for each of the base types that has a Resources property

Finding StaticResource references:
- A diagnostic assistant can now receive a notification whenever a StaticResource reference is resolved. (The feature is for use by diagnostic assistants, not by production applications.) A diagnostic assistant such as Visual Studio’s “Edit-and-Continue” facility may want to update all uses of a resource when its value in a ResourceDictionary changes. WPF does this automatically for DynamicResource references, but it intentionally does not do so for StaticResource references. Starting with the .NET Framework 4.7.2, the diagnostic assistant can use these notifications to locate those uses of the static resource.

CLICKONCE:
- HDPI-aware applications for Windows Forms, Windows Presentation Foundation (WPF), and Visual Studio Tools for Office (VSTO) can all be deployed by using ClickOnce. If the following entry is found in the application manifest, deployment will succeed under .NET Framework 4.7.2: <windowsSettings> <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware></windowsSettings>
- For Windows Forms application, the previous workaround of setting DPI awareness in the application configuration file rather than the application manifest is no longer necessary for ClickOnce deployment to succeed

.NET Framework Version 4.7.2 相關參考資料
.NET Framework 版本和相依性| Microsoft Docs

NET Framework 版本和相依性.NET Framework Versions and Dependencies. 2017/10/17; 參與者. Ron Petrusha &middot; olprod &middot; Nobuko &middot; OpenLocalizationService &middot; Saisang Cai&nbsp;...

https://docs.microsoft.com

Announcing .NET Framework 4.7.2 Early Access build 3052! | .NET Blog

Today, we are happy to share the .NET Framework 4.7.2 Early Access build 3052 for your feedback. .NET Framework 4.7.2 is the next version of the .NET Framework. It is currently feature-complete and i...

https://blogs.msdn.microsoft.c

Announcing the .NET Framework 4.7.2 | .NET Blog

Today, we are happy to announce the release of the .NET Framework 4.7.2. It&#39;s included in the Windows 10 April 2018 Update. .NET&nbsp;...

https://blogs.msdn.microsoft.c

Download .NET Framework 4.7 - Microsoft

Download .NET Framework 4.7 to run existing .NET applications on Windows. Visit our main Downloads page for all .NET downloads, including Linux and macOS.

https://www.microsoft.com

Download .NET Framework 4.7.1 - Microsoft

Download .NET Framework 4.7.1 to run existing .NET applications on Windows. Visit our main Downloads page for all .NET downloads, including Linux and macOS.

https://www.microsoft.com

Download .NET Framework 4.7.2 - Microsoft

Download .NET Framework 4.7.2 to run existing .NET applications on Windows. Visit our main Downloads page for all .NET downloads, including Linux and&nbsp;...

https://www.microsoft.com

Download Microsoft .NET Framework 4.7.1 (Offline Installer) for ...

The Microsoft .NET Framework 4.7.1 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, and 4.7. The offline package can be used in situati...

https://www.microsoft.com

Download Microsoft .NET Framework 4.7.1 (Web Installer) for ...

The Microsoft .NET Framework 4.7.1 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 and 4.7. The web installer is a small package that a...

https://www.microsoft.com

Microsoft .NET Framework 4.7.2 Offline Installer - iTechtics

NET Framework 4.7.2 comes pre-installed in Windows 10 Version 1803 which has been recently released by Microsoft. While there is no need&nbsp;...

https://www.itechtics.com

Microsoft .NET Framework 4.7.2 offline installer for Windows

1 天前 - NET Framework 4.7.2, see What&#39;s new in .NET Framework 4.7.2. For known issues with .NET Framework 4.7.2 see Known issues for .NET Framework 4.7.2. This version of .NET Framework runs side-...

https://support.microsoft.com

Microsoft.NET Framework 4.7.2 語言套件的Windows (離線安裝程式)

本文說明4.7.2 的Microsoft.NET Framework 語言套件。您必須擁有.NET Framework 4.7.2 安裝在電腦上,才能安裝語言套件的英文版。下載,並從「&nbsp;...

https://support.microsoft.com

Windows 的Microsoft.NET Framework 4.7.2 web 安裝程式

本篇文章將探討Microsoft.NET Framework 4.7.2 web 安裝Windows 7 Service Pack 1 (SP1),Windows 8.1、 Windows 10 週年紀念日更新、 10&nbsp;...

https://support.microsoft.com

Windows 的Microsoft.NET Framework 4.7.2 離線安裝程式

Microsoft.NET Framework 4.7.2 是高度相容、 就地的更新,以4、 4.5、 4.5.1、 4.5.2、 4.6、 4.6.1、 4.6.2、 4.7 和4.7.1 的.NET Framework。

https://support.microsoft.com

Windows.NET Framework 4.7 離線安裝程式 - Microsoft Support

說明Windows 7 Service Pack 1 (SP1)、 Windows 8.1、 Windows 10 版本1607年、 Windows Server 2008 R2 SP1、 Windows Server 2012、 Windows Server 2012 R2 和Windows 伺服器2016年的.NET Framework 4.7 離線安裝程式。

https://support.microsoft.com

Windows.NET Framework 4.7.1 離線安裝程式 - Microsoft Support

說明Windows 7 SP1、 Windows 8.1、 Windows 10 週年紀念日更新、 10 建立者的Windows 更新,Windows Server 2008 R2 SP1、 Windows Server 2012、 Windows Server 2012 R2 和Windows 伺服器2016年的.NET Framework 4.7.1 離線安裝程式。

https://support.microsoft.com

安裝適用於開發人員的.NET Framework | Microsoft Docs

安裝適用於開發人員的.NET FrameworkInstall the .NET Framework for developers. 2018/03/23; 參與者. Ron Petrusha &middot; olprod &middot; qimu &middot; OpenLocalizationService &middot; Nobuko &middot; 全部&nbsp;...

https://docs.microsoft.com