Wednesday, October 16, 2024
HomeCloud ComputingBringing Common Home windows Platform apps to .NET 9

Bringing Common Home windows Platform apps to .NET 9



Microsoft will surely such as you to replace your code to the newest model of the .NET stack, but it surely’s keenly conscious of the difficulties. What’s wanted is a method to take that present code and run it on the newest .NET, altering what you’ll be able to as you could have the time and assets. That’s why it’s launched a set of instruments so as to add UWP help to the upcoming .NET 9.

UWP help for .NET 9 isn’t a “one button” answer. As an alternative, it’s a mixture of instruments that work at completely different layers of the .NET growth stack, in Visible Studio, within the Home windows SDK, and in .NET itself. Collectively they supply the required scaffolding to convey throughout your present C# code and begin the migration course of to the Home windows App SDK, whereas nonetheless letting your customers see a number of the benefits of a extra trendy platform. Updates to newer applied sciences will be incremental, for instance, creating a Win UI consumer expertise whereas retaining some performance in XAML Islands. In consequence you’re truly profiting from a public launch of instruments that Microsoft is utilizing for its personal app updates, with the Microsoft Retailer working with these instruments to ship a local AOT model within the close to future—most definitely in November, after .NET 9 reaches basic availability and will get help.

There’s one other good cause to make use of this software: It removes dependencies on the previous .NET Native tooling. .NET Native lowered entry to newer .NET options, because it hasn’t been up to date past .NET Core 2.0 and .NET Normal 2.0. This transformation ought to let you add newer libraries to your code, giving entry to a wider vary of each .NET and Home windows options.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments