What’s new in Microsoft .Net Framework

The upgrade to the .Net Framework brings dependency injection for ASP.Net web forms, as well as other new features

Become An Insider

Sign up now and get FREE access to hundreds of Insider articles, guides, reviews, interviews, blogs, and other premium content. Learn more.

Microsoft released the Version 4.7.2 of the .Net Framework 4.7.2 in early May 2018.

Current version: The new features in .Net Framework 4.7.2

Already popular in technologies such as the Spring Framework, dependency injection lets one object supply dependencies of another object. .Net Framework 4.7.2 makes it easier to use this capability in ASP.net web forms. Setter-, interface- and constructor-based injection are supported, and other dependency injection frameworks can be plugged in.

Other new features in .Net Framework 4.7.2 include:

  • The SameSite property is added to the ASP.Net web framework, to assert that a cookie ought not be sent with cross-site requests. The goal of the SameSite attribute is to reduce information leakage and protect against cross-site forgery attacks. The property is added in HttpCookieType. It also is featured in the FormsAuthentication and SessionState cookies.
  • To improve security and compliance, Azure Active Directory authentication is supported via an interactive authentication keyword added to multifactor authentication. It is an extension of the SqlClient Connection String.
  • APIs are added to standard collection types, enabling new functionality such as HashSet constructors that let HashSets be constructed with a capacity. This offers a performance benefit when it is known what the size of the HashSet is.
  • Cryptographic improvements simplify the creation of RSA and DSA objects and calling ImportParameters.
  • Windows Presentation Foundation (WPF) has added the StaticResource references feature letting a diagnostic assistant be notified when a StaticResource reference is resolved. For example, a diagnostic assistant such as Visual Studio’s Edit-and-Continue facility might want to update uses of a resource when it changes or a replaces a value in a resource dictionary.
  • The WorkflowDesignerColors class has been added to improve UI experiences in high-contrast mode.
  • Through Zlib decompression, throughput has been improved for decompressing Zip archives by using a native implementation of Zip.
  • .Net Framework workloads now can generate certificate-signing requests, enabling request generation to be staged into existing tools.
  • Per-monitor support has been added for Windows Presentation Foundation and HDPI-aware VSTO (Visual Studio Tools for Office) applications deployed using ClickOnce.
  • Support is improved for .Net Standard 2.0.
  • Diagnostic assistants can locate ResourceDictionaries created from a given source URI.

Where to download .Net Framework 4.7.2

To continue reading this article register now