Home windows App SDK 1.1 provides assist for elevated apps and Mica materials

0
8
Home windows App SDK 1.1 provides assist for elevated apps and Mica materials
Home windows App SDK 1.1 provides assist for elevated apps and Mica materials

Microsoft has launched model 1.1 of the Home windows App SDK, a set of improvement instruments that (unsurprisingly) allow you to construct apps for Home windows 10 and 11. The preliminary launch of the Home windows App SDK got here shortly after Home windows 11 was launched, and it’s a solution to carry collectively fashionable visuals and options in addition to conventional Win32 capabilities in the identical app. This new model comes with some notable enhancements to make the expertise even higher.

Mica is a brand new floor materials Microsoft launched with Home windows 11, and it permits your desktop background to softly shine by means of the app, including a little bit of coloration to the UI. Whereas the preliminary launch of the Home windows App SDK got here after Home windows 11 was already out, you couldn’t construct apps that used the brand new Mica materials this manner. Together with this, the WinUI 3 gallery within the Home windows App SDK has new samples, new controls, and a refreshed interface to align extra with Home windows 11 design ideas.

One other main enchancment is the flexibility to make apps that require elevation (that means they have to be run as an administrator), which was a limitation of the unique launch. Moreover, apps packaged utilizing the MSIX format, sparse-packaged apps, and unpackaged apps may also ship Home windows toast notifications now, together with when the app isn’t working. Which means apps have a solution to alert customers even when the app isn’t getting used.

Microsoft has additionally made efficiency enhancements for apps that use C# because of updates within the WinRT interop layer. Microsoft says a easy “Hi there World” app can see startup instances as much as 9% quicker, and also you also needs to see massive enhancements when utilizing dependency properties in WinUI 3 apps.

On the developer aspect, it’s now attainable to set an app to routinely restart when it closes attributable to an replace or crash. Moreover, you possibly can set restoration choices so the app can carry customers again to the place they have been earlier than the app unexpectedly closed.

Different modifications embody improved bootstrapper APIs, assist for self-contained apps (i.e. apps that comprise the required Home windows App SDK dependencies to make use of them), and the flexibility to alter setting variables with out having to make use of the registry API instantly. Microsoft has additionally launched a brand new windowing API that makes it attainable to set the z-order of your app home windows. Lastly, Microsoft introduced that the Template Studio for WinUI (C#) is now out there within the Visible Studio Market. This extension makes it simpler to create a WinUI app utilizing a wizard-based expertise, producing “well-formed, readable code”, and it’s a great way to get began with WinUI improvement.

To put in the Home windows App SDK instruments for improvement, you’ll have to be utilizing Visible Studio 2022 or 2019, and observe the directions on this web page relying on the type of app you need to construct. You need to routinely be capable to get the most recent model of the instruments this manner. You can even discover the total launch notes right here.


Supply: Microsoft

LEAVE A REPLY

Please enter your comment!
Please enter your name here