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

B Corp logo against a dark blue background

Kiandra becomes a certified B Corp

Cameron Brookes
15/12/2024

We are beyond proud to announce we have become B Corp certified and joined the growing list of Australian companies who are demonstrating their commitment to sustainability. We consider B Corp certification to be a guide for us to validate that we are doing the right thing and that symbol of trust that our stakeholders should expect.

Read more
A person holds an iPad in their hands, viewing a checklist

Selection Criteria for a Quality Software Company

Cassandra Wallace
9/12/2024

With so many options, how can you ensure you're making an informed decision and truly comparing apples to apples? Our selection criteria checklist is here to guide you. By asking the right questions and focusing on what truly matters, you can streamline the process and set your project up for success from the start.

Read more
Woman looks shocked as she reads an invoice

Fear of being overcharged by a software development company and how to make a good assessment

Cassandra Wallace
9/12/2024

One of the biggest fears technology buyers face is overpaying for a solution from a software development company. It’s a valid concern—nobody wants to invest significant budget only to feel they didn’t get what they paid for.

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