Microsoft Rolls Out .NET Framework 4.5.2, Loaded With ASP.NET Enhancements And More

The Redmond based, software giant, via its MSDN website, recently announced the availability of its .NET Framework 4.5.2. It is an improved version of Microsoft .NET Framework 4, 4.5 and 4.5.1 and is packed with several ASP.NET improvements, high DPI improvements and several other enhancements.

The firm claims that the recent release brings new APIs for the ASP.NET apps along with bringing more robust profiling, enhanced activity tracing support in the framework and runtime and options for distributed transactions improvements.

Listed below are the new features and improvements:
  • ASP.NET improvements
  1. New HostingEnvironment.QueueBackgroundWorkItem method that lets you schedule small background work items. ASP.NET tracks these items and prevents IIS from abruptly terminating the worker process until all background work items have completed. These will enable ASP.NET applications to reliably schedule Async work items.
  2. New HttpResponse.AddOnSendingHeaders and HttpResponseBase.AddOnSendingHeaders methods are more reliable and efficient than HttpApplication.PreSendRequestContent and HttpApplication.PreSendRequestHeaders. These APIs let you inspect and modify response headers and status codes as the HTTP response is being flushed to the client application. These reliability improvements minimize deadlocks and crashes between IIS and ASP.NET.
  3. New HttpResponse.HeadersWritten and HttpResponseBase.HeadersWritten properties that return Boolean values to indicate whether the response headers have been written. You can use these properties to make sure that calls to APIs such as HttpResponse.StatusCode succeeds. This enables shared hosting scenarios for ASP.NET applications.
  • High DPI improvements are an opt-in feature to enable resizing according to the system DPI settings for several glyphs or icons for the following Windows Forms controls: DataGridView, ComboBox, ToolStripComboBox, ToolStripMenuItem and Cursor.
  • Distributed transactions enhancement enables the promotion of local transactions to Microsoft Distributed Transaction Coordinator (MSDTC) transactions without the use of another application domain or unmanaged code. This has a significant positive impact on the performance of distributed transactions.
  • More robust profiling with new profiling APIs that require dependent assemblies that are injected by the profiler to be loadable immediately, instead of being loaded after the app is fully initialized. This change does not affect users of the existing ICorProfiler APIs. Before this feature, diagnostics tools that do IL instrumentation via profiling API could cause unhandled exceptions to be thrown, unexpectedly terminating the process.
  • Improved activity tracing support in runtime and framework - The .NET Framework 4.5.2 enables out-of-process, Event Tracing for Windows (ETW)-based activity tracing for a larger surface area. This enables Application Performance Management vendors to provide lightweight tools that accurately track the costs of individual requests and activities that cross threads. These events are raised only when ETW controllers enable them.
To learn more about the new features in the .NET Framework 4.5.2, click here. And the official announcement can be reached by clicking here.

Download the .NET Framework 4.5.2 Web Installer
Download the .NET Framework 4.5.2 Offline Installer
Download the .NET Framework 4.5.2 Language Packs
Download the .NET Framework 4.5.2 Developer Pack