Half a year after the first preview version, the final release of the .NET framework 4.8 has been released. The fresh version can be installed on Windows 10, Windows 8.1 and Windows 7 SP 1. On the server side it works on all platforms as of Windows Server 2008 R2 SP1.
JIT compiler and security
The .NET Framework 4.8 Common Language Runtime (CLR) now includes a redesigned JIT (Just in Time) compiler based on .NET Core 2.1, which includes its enhancements and bug fixes. In the interests of increased security, the team has redesigned the memory management for the Native Image Generator (NGEN). NGEN images no longer have write or executable sections. This is to prevent the execution of arbitrary code by changing the memory.
To protect against malware, the runtime environment scans all assemblies with Windows Defender or third-party protection software installed. The predecessor also examined regular .NET-loaded assemblies, but those that it read, including Assembly.Load (byte ) , were under the radar. The .NET Framework 4.8 relies on the Antimalware Scan Interface (AMSI) for scanning .
The Windows Communication Framework (WCF) gets ServiceHealthBehaviorservices that rely on the IServiceBehavior interface. They serve as endpoints for testing the state of the communication. When developers add them to ServiceDescription.Behaviors , they allow state retrieval via HTTP response codes through a definable query string for an HTTP / GET request. In addition, you can use the query string to query health servicespecific parameters. By default, the data collected is in HTML format. Extending the query parameter by & xml outputsin XML.
Base classes for cryptography and compression
Cryptographic classes such as SHA256Managed no longer throw an exception if the system’s cryptography libraries are configured in Federal Information Processing Standards (FIPS) mode. Instead, they forward the processing to the respective system libraries. The background of the change is that the exceptions often occur only on production systems, but not on developer systems, since the latter are usually not configured in FIPS mode. In the base classes of the .NET Framework is also the updated ZLib version 1.2.11 as the basis for compression worth mentioning.
Further details and improvements, such as improvements for high-resolution screens (High DPI) can be found in the announcement in the .NET documentation. The .NET Framework 4.8 is available in the runtime variant as a web and offline installation package. Developers will also find the .NET 4.8 Developer Pack, which works with Visual Studio version 2012 and above.