Microsoft has this week revealed the brand new options in the most recent Home windows App SDK 1.1 particularly created to assist builders construct native, participating, and trendy Home windows purposes. The most recent Home windows App SDK 1.1 has just lately been launched and enhances the you the expertise of model 1.0 launched again in November 2021. For those who are concerned with utilizing the Home windows App SDK and looking out to start on creating your very personal Home windows purposes hop over to the official Microsoft web site by following the hyperlinks under.
Recent options in the most recent Home windows App SDK 1.1 embrace a number of latest and up to date options throughout its element in addition to quite a few stability enhancements in addition to WinUI 3 purposes are actually in a position to use Mica & Background Acrylic supplies. MSIX-packaged, sparse-packaged, and unpackaged apps can now ship Home windows app notifications (additionally referred to as toast notifications) and push notifications to tell customers after they should not at the moment utilizing the app. WinAppSDK 1.1 removes constraints from 1.0 that prevented working an app as an administrator. C# apps will see considerably improved efficiency in many various situations via updates within the WinRT interop layer. In an easy Hey World WinUI 3 app, you’ll be able to count on to see startup instances improved by ~9% in comparison with our earlier WinAppSDK 1.0 launch.
Different options embrace the power for Windowing APIs to now permit you to management the relative z-order of your home windows. This can be a WinRT model of the SetWindowPos’s hWndInsertAfter performance. Every AppWindow represents a top-level window you could transfer above or under different top-level home windows.
Home windows App SDK 1.1
“The Home windows App SDK is the place to begin for constructing and transport Home windows desktop apps (spanning C++ and .NET) with WinUI 3 controls and WebView2 for modernized UI growth. Sustain to this point with latest function updates by taking part within the GitHub repo and following the product roadmap. With Home windows App SDK 1.1, you are actually in a position to programmatically restart your utility and set restoration choices after app termination because of occasions resembling an app replace, app crash, or grasp. This implies you’ll be able to get well app state after surprising restart and your customers are instantly again to interacting and fascinating along with your utility. These capabilities can be found as a part of the brand new AppInstance.Restart() API within the AppLifecycle class. This can be a lifted and synchronous model of the UWP RequestRestartAsync()API now out there for each packaged or unpackaged desktop purposes. Take a look at the Restart API docs on GitHub for utilization & reference data.”
“Template Studio for WinUI (C#) is now out there! Template Studio is an extension for Visible Studio 2022 that accelerates the creation of latest WinUI apps utilizing a wizard-based expertise. Initiatives created with this extension comprise well-formed, readable code and incorporate the most recent growth options whereas implementing confirmed patterns and main practices. The generated code contains hyperlinks to <> documentation and TODO feedback that present helpful perception and steering for turning the generated tasks into manufacturing purposes. For those who’re latest to WinUI/Home windows App SDK or need extra scaffolding like MVVM out-of-the-box in your latest tasks, Template Studio for WinUI (C#) is an ideal solution to start!”
“Home windows App SDK 1.1 introduces help for self-contained deployment the place your app carries the WinAppSDK dependencies with it. This allows you to management the WinAppSDK model and use totally different deployment methods, like xcopy deployment. Be taught in regards to the variations between framework-dependent and self-contained deployment and comply with the self-contained deployment information to start.”
Supply : Microsoft : Start
Filed Beneath: Devices Information