News

Microsoft Advances Native UI Platform for Windows, WinUI

Microsoft this week launched a new web site for WinUI, its native UI platform for applications running on Windows 10 devices, as a new version 3 is offered in beta.

WinUI is used to build rich .NET and C++ applications and also to power Microsoft properties including the Windows and Xbox OS shells, along with platforms such as Xamarin.Forms and React Native Windows. It was open sourced by Microsoft in 2018. The stable WinUI 2.x series works only with Universal Windows Platform (UWP) applications, providing them with some of the latest XAML controls and Fluent Design functionality.

The new WinUI site mainly extols the virtues of the platform, while also providing a link to try out the WinUI 3.0 alpha offering that improves on the previous UWP-only WinUI 2.x series, which itself is still receiving updates.

WinUI 3.0 will be the full UI stack, including XAML, composition and input, not tied to UWP.

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

"So we have a bunch of goals with this" said a dev team member during last month's regular WinUI Community Call (a March call was in progress during the writing of this article and will probably be posted soon).

With a scheduled delivery time-frame of "2020," the goals sought in WinUI 3.0 include:

  • full UI stack now decoupled from the OS
  • removing barriers between UWP and Win32 (desktop): works with both
  • support .NET 5 and C++
  • backward-compatible on Windows 10

.NET 5, of course, is the unifying project to bundle all things .NET into one platform. Its first preview just shipped ahead of a November GA release date.

While the UWP decoupling is the main new feature being implemented in WinUI 3.0, some other new features planned include:

  • Downlevel support (backward compatibility) for all existing features: new Xaml and Composition features that were added in the Windows May 2019 Update will now work on Creators Update and newer!
  • A new Microsoft Edge (Chromium) WebView Xaml control
  • Input validation support
  • New Visual Studio 2019 app templates for different combinations of app type (Win32, UWP) and language (.NET, C++)

More resources available to explore WinUI include:

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • Full Stack Hands-On Development with .NET

    In the fast-paced realm of modern software development, proficiency across a full stack of technologies is not just beneficial, it's essential. Microsoft has an entire stack of open source development components in its .NET platform (formerly known as .NET Core) that can be used to build an end-to-end set of applications.

  • .NET-Centric Uno Platform Debuts 'Single Project' for 9 Targets

    "We've reduced the complexity of project files and eliminated the need for explicit NuGet package references, separate project libraries, or 'shared' projects."

  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

Subscribe on YouTube