News

Windows App SDK 1.2 Lets Devs Create Third-Party Windows 11 Widgets

The ability for developers to create their own Windows 11 widgets headlines the new Windows App SDK 1.2, a kit formerly called "Project Reunion" that consolidates the company's dev tooling for Windows.

The Windows App SDK provides a unified set of of libraries, frameworks, components and tools -- decoupled from Windows and served up via NuGet -- that developers can use to consistently create any desktop app on OS versions ranging from Windows 11 down to Windows 10 version 1809. It was designed to alleviate the complexity of Windows app development that was caused by the emergence of two separate Windows app API schemes, one for older Win32 APIs and one for the more modern Universal Windows Platform (UWP).

As noted, developers can now use it to create their own Windows 11 widgets, those little boxes of text/graphics content that provide users with information generated by installed apps, such as news, weather, traffic, texts and so on. Prior to this, they were off limits to Windows developers.

Widgets
[Click on image for larger view.] Widgets (source: Microsoft).

"With the launch of Windows 11, we introduced the widgets board featuring content curated by Windows," Microsoft said in a blog post today (Nov. 16). "Widgets provide a glanceable view of important information with one touch access from the taskbar or swipe from the left side of a touch screen and are populated by apps currently installed on the device. Now with the launch of Windows App SDK 1.2, we are excited to make this functionality available for third-party developers to create widgets for their packaged Win32 apps and test them locally on the Windows 11 widgets board through our Windows Insider Program. By creating widgets for your apps, your customers can easily and seamlessly stay up to date with information that matters to them."

The update also supports the latest WinUI controls. WinUI 3 is the latest iteration of the native UI interface layer that has evolved into a full user experience (UX) framework leveraging Fluent Design for a consistent control/style experience.

Those new controls include audio/video media playback, said Microsoft, which also noted that the latest controls, styles and behaviors from WinUI 2.8 are now in the v3.

Also receiving updates and improvements were:

  • Voice and video calling via Azure Communication Services
  • Support for High Dynamic Range (HDR) and Auto Color Management (ACM) through the DisplayInformation class
  • Support for Visual Studio Arm64 (see "Visual Studio 2022 17.4 Now Generally Available")
  • Trimming for .NET apps (reducing the disk footprint of an app)
  • Dynamic Refresh Rate, which enables devices to seamlessly switch between a lower refresh rate and a higher refresh rate based on what users are doing on their PC
  • The AppNotificationBuilder, an alternative to XML payload to simplify creating and defining notifications used to inform the user of application status or state changes, or to prompt the user to take action with engaging and rich UI

Going forward, the company foreshadowed upcoming experiences with the SDK: "We are working with several development partners internal and external to Microsoft who are migrating their experiences to WinUI 3 and Windows App SDK. Stay tuned on our social channels for more information about these partnerships."

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube