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 at Converge 360.

comments powered by Disqus

Featured

  • New 'Visual Studio Hub' 1-Stop-Shop for GitHub Copilot Resources, More

    Unsurprisingly, GitHub Copilot resources are front-and-center in Microsoft's new Visual Studio Hub, a one-stop-shop for all things concerning your favorite IDE.

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

Subscribe on YouTube