BT

.NET Framework 4.6.2 Delivers WPF and Security Improvements

| by Jeff Martin Follow 16 Followers on Aug 05, 2016. Estimated reading time: 1 minute |

The latest release of the .NET Framework provides several new features centered around WPF and security— including some long-awaited improvements to ClickOnce deployed applications.  Microsoft released a preview of .NET Framework 4.6.2 back in late March and now developers can take advantage of the release’s new features in their own projects. 

A notable accomplishment for the Base Class Library (BCL) is elimination of the 260 character file name maximum length requirement.  Often the bane of developers across the .NET universe 4.6.2 removes this historical limitation.  An additional benefit of this enhancement is that it is possible to opt-in to this new behavior for applications targeting a previous version of the .NET Framework that are running on 4.6.2.  This means that an existing application targeting .NET 4 could run on 4.6.2 without the MAXPATH limitation by using an AppContext switch in the application’s configuration file— no recompilation needed.

Moving along to the Base Class Library changes, many developers will be pleased to see that the CLR has laid the foundation to change more information with Visual Studio regarding NullReferenceExceptions.  This should allow the debugger to identify null references and share that information with you.  

Applications deployed via ClickOnce can benefit from the presence of new support for both client certificates and TLS 1.1 & 1.2.  This means applications distributed through ClickOnce can now benefit from modern encryption protocols and the accompanying security that enables. 

Several cryptography enhancements are featured in 4.6.2 including:

  • Support for the FIPS 186-3 digital signature algorithm on X509 certificates
  • Improved usability for the class providing the Elliptic Curve Diffie-Hellman algorithm
  • Support for persisted-key symmetric encrytion
  • SignedXml support for SHA-2 hashing (includes 6 new SHA-2 algorithms)

Details about this release are available from Microsoft’s Stacey Haffner.  Haffner also provides a complete changes for 4.6.2 as well as a diff of API changes.  Microsoft has provided a web installer, offline installer, and a developer package.  Those developers running Windows 10 with Anniversary Update already have 4.6.2 installed on their system.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT