Bringing Common Home windows Platform apps to .NET 9

Microsoft would definitely such as you to replace your code to the most recent 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 most recent .NET, altering what you may as you’ve the time and assets. That’s why it’s launched a set of instruments so as to add UWP assist to the upcoming .NET 9.

UWP assist for .NET 9 isn’t a “one button” answer. As a substitute, it’s a mixture of instruments that work at completely different layers of the .NET improvement stack, in Visible Studio, within the Home windows SDK, and in .NET itself. Collectively they supply the mandatory scaffolding to deliver throughout your present C# code and begin the migration course of to the Home windows App SDK, whereas nonetheless letting your customers see a few of the benefits of a extra fashionable platform. Updates to newer applied sciences may be incremental, for instance, creating a Win UI person expertise whereas retaining some performance in XAML Islands. Because of this 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—probably in November, after .NET 9 reaches basic availability and will get assist.

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

Leave a Reply

Your email address will not be published. Required fields are marked *