Kiandra Insights

What’s new in the Microsoft. NET 6 release

Sam Medley - Kiandra Software Development Team Lead
by
Sam Medley
Software Development Team Lead
|
December 1, 2022
Sam Medley
Software Development Team Lead
December 1, 2022
Simple red box with .NET written inside of it

Microsoft continues its innovation in the .Net development platform with the release of .Net 6.

The unification journey it began with its 2020 release of .Net 5.0 continues, now including the SDK, base libraries and runtime for mobile, desktop, IoT and web applications within the Core platform.

.Net 5.0 was released last November and, along with performance and other improvements, took a major step in unifying development, by bringing Windows desktop technologies such as WPF and Windows Forms onto the Core platform.

And, while .Net 5.0 support was 'Current Release', through till May 2022, .Net 6.0 is a Long Term Support release, being supported for the next three years until November 2024.

The last twelve months between releases has been huge for the .Net team. Thanks to their open-source development model via the .Net Foundation, their GitHub repos show the scale of effort with over 6,500 pull requests merged into the development branch through that time.

While we have to wait a little longer for the next instalment in cross-platform application development, in the form of MAUI (Multi-platform App UI), the release of .Net 6 features many exciting improvements including version 10 of the C# programming language, Hot-Reload functionality across Visual Studio and the dotnet command line, and including more uses of Source Generators (generating code at build time in order to reduce the need for reflection), the most notable improvements are to performance. These performance improvements are bound to lead to noticeable impacts for those keeping an eye on system performance metrics and those watching the monthly bill for their business's cloud services.

One major upgrade is implementing Dynamic Profile-guided Optimization in the Just-in-Time compiler, allowing for the performance of code to be inspected at run-time, and, depending on the patterns discovered, take additional steps to optimize code further to improve a function's performance.

This reduces guess-work of applying optimisations at build time when an application’s behaviour is unknown, and instead applies them at runtime when the real behaviour of the application can be determined in production.

Microsoft has migrated some of their cloud services to .Net 6 already and are showing some impressive performance results, for example, the gateway service for Azure Active Directory was migrated from IIS & .Net 5 to Http.sys & .Net 6, showing a 33% reduction in CPU utilisation and a 50% improvement in application efficiency.

Some micro-benchmarks comparing commonly called methods between .Net versions are showing that optimisations are leading to increases in speed over 20% from the previous .Net Core version and over 50% from .Net Framework 4.8, the previous version of the .Net Framework. Added to speed improvements, some optimisations are leading to reduced application size too as more aggressive inlining of function code, allows for yet more optimisations.

Depending on your business's production work-load, these improvements could be enough to tip your hosting tiers down, or reduce the number of instances required, reducing your monthly hosting bills.

To learn more about how .Net 6 can benefit your organisation, Contact Us to discuss.

Share article
LinkedIn.com

More insights

An abstract illustration of a young woman testing software on her laptop

Performance testing is a commitment to excellence

Farzin Karthik
20/11/2023

At Kiandra, we recognise and acknowledge the pivotal role of performance testing in achieving this fine balance. In this blog, we will unravel what performance testing truly means at Kiandra and why it's a cornerstone of our development philosophy.

Read more
OutSystems Premier Partner badge sits on a dark blue background

Kiandra becomes first Premier OutSystems partner in the ANZ region

Meghan Lodwick
10/11/2023

Kiandra are proud to announce that it has attained the status of Premier OutSystems Partner – the most important partnership status from the world’s leading enterprise low-code platform.

Read more
Wreath surrounds the text "OutSystems Partner of the Year 2022"

OutSystems Top Partner ANZ for 2022

Meghan Lodwick
18/9/2023

Kiandra has received the OutSystems Partner of the Year Award for the entire Australia New Zealand region. The custom software solutions provider was recognised at the ‘Top Partner of Australia and New Zealand’.

Read more

Let’s discuss your next project

Whether you’re curious about custom software or have a specific problem to solve – we’re here to answer your questions. Fill in the following form, and we’ll be in touch soon.

Email

Would you like to receive an occasional email showcasing the latest insights, articles and news from our team of software experts?

Thanks for reaching out! One of our software experts will be in
touch soon to help you with your enquiry
Oops! Something went wrong while submitting the form.

This website uses cookies to improve your experience. By browsing our website you consent to the use of cookies as detailed in our Privacy Policy