Microsoft lately introduced vital updates for WinUI 3 and Home windows Presentation Basis (WPF)

Microsoft lately introduced vital updates for WinUI 3 and Home windows Presentation Basis (WPF)

2024-05-23 12:18:00

Throughout Microsoft Construct, the corporate talked regarding how it’s making Home windows higher for builders: it now recommends solely two UI platforms, particularly WinUI 3 and WPF.

WinUI 3, the Home windows consumer interface library, is an integral a part of the Home windows App SDK and stands out as the unique UI platform element for desktop purposes. With current updates, Microsoft has accelerated using WinUI 3 in its personal purposes, comparable to File Explorer, Photographs and Cellphone. These enhancements purpose to supply a smoother and extra built-in consumer expertise, according to the trendy aesthetic of Home windows 11.

In the meantime, WPF, a confirmed framework for desktop purposes, can be receiving appreciable consideration. Microsoft has up to date WPF with Home windows 11 themes and help for hyphen-based ligatures for .NET 9, furthering the dedication of builders who proceed to make use of the know-how.

For purposes involving graphics and multimedia, WinUI 3 is really useful, whereas WPF is most popular for purposes that require a variety of controls and libraries from third-party builders. This advice highlights the pliability and number of instruments out there to Home windows builders.

Microsoft overview

Continued funding in WinUI3 and WPF to assist builders create wealthy, trendy Home windows apps

Home windows is an open and versatile platform that helps a variety of consumer interface applied sciences. If you wish to develop native Home windows purposes utilizing our favourite UI growth language, XAML, we suggest utilizing WinUI 3 or WPF.

WinUI 3 features a trendy native composer and excels in client and industrial purposes targeted on media and graphics. WPF has an extended historical past and advantages from a deep ecosystem of economic merchandise in addition to free and open supply initiatives, lots of that are targeted on enterprise and data-intensive situations. We suggest contemplating WinUI 3 first and, if it meets your software wants, undertake it for probably the most trendy expertise. In any other case, WPF is an effective alternative. Each WinUI 3 and WPF can reap the benefits of all the pieces Home windows has to supply, together with new options and APIs from the Home windows App SDK, so you possibly can confidently construct a contemporary app in both know-how.

WinUI 3 and the Home windows App SDK now help native card management and .NET 8

With the most recent Home windows App SDK 1.5+ updates, we delivered extra options requested by builders, together with help for .NET 8, with quicker startup, smaller footprint, and new runtime options. We additionally introduced one of the crucial requested options to WinUI 3, the map management, powered by WebView 2 and Azure Maps. To study extra regarding WinUI 3 controls and options, go to the interactive WinUI 3 Gallery app.

Microsoft apps comparable to Photographs and File Explorer have migrated to WinUI 3, as have builders comparable to Apple (Apple TV, Apple Music, iCloud, Apple Gadgets) and Yair A (Information App), who’ve additionally adopted WinUI 3.

Different new options or enhancements for builders

New experiences designed to assist all builders be extra productive on Home windows 11

We all know that creating nice AI experiences begins with developer productiveness. That is why we’re excited to announce new options in Dev Dwelling, efficiency enhancements for DevDrive, and enhancements to your favourite instrument PowerToys.

Final yr on the Construct convention, we introduced Dev Dwelling, and since then we have developed Dev Dwelling right into a one-stop store for organising your Home windows machine for growth. We have made some necessary enhancements to Dev Dwelling to additional improve developer productiveness. Dev House is now put in on all Home windows machines, making it simpler to get began. Introducing environments, Home windows customization, and welcoming WSL and a subset of PowerToys instruments to the Dev Dwelling.

Dev Dwelling environments will let you centralize your interactions with all exterior environments. Create, handle, launch and configure growth environments right away from Dev Dwelling.

For builders who continuously use digital machines and distant environments, Environments in Dev House is for you. With help for Hyper-V digital machines and Microsoft developer bins within the cloud, you possibly can create new environments, configure them with repositories, purposes and packages. You’ll be able to carry out fast actions like taking snapshots, beginning and stopping, and even pinning environments to the Begin menu and taskbar, all from Environments in Dev Dwelling. To make this expertise much more highly effective, it is extensible and open supply, so you possibly can add your personal environments. Environments in Dev Dwelling can be found in preview now.

We all know that builders don’t desire any distractions when coding, and it is necessary to customise the event machine to achieve the best state of productiveness. We additionally know that builders need extra management and company over their units. That is why we’re launching the Home windows Personalization function in Dev Dwelling.

Home windows Customization in Dev Dwelling permits builders to customise their system to a super state with as few clicks as potential.

Home windows customization provides builders entry to Dev Drive info, superior file explorer settings, digital machine administration, and the flexibility to disable background processes, giving builders extra management over their Home windows machine. Submit function requests for what you wish to see in Home windows customization on GitHub.

The brand new export function in Dev Dwelling Machine Configuration permits you to shortly create configuration information to share together with your teammates, rising productiveness.

WinGet configuration information are a straightforward approach to configure your machine for growth precisely the way in which you need. For a simplified expertise, attempt Dev Dwelling’s new export function that permits you to generate a configuration file primarily based on the alternatives you made in Dev Dwelling’s machine configuration circulate, so you possibly can shortly create configuration information to share together with your teammates for constant machine configuration.

Lastly, if you clone a repository into Dev Dwelling that incorporates a configuration file, Dev Dwelling can now detect that file and allow you to run it instantly, getting you able to code even quicker than earlier than.

Along with these new options, we’re bringing WSL and a subset of PowerToys instruments to Dev Dwelling, really making Dev Dwelling your one-stop-shop for all of your growth wants. Now you can entry WSL immediately from Dev Dwelling within the Environments tab. Moreover, a subset of PowerToys instruments comparable to Hosts File Editor, Surroundings Variables, and Registry Preview can be found within the new Utilities tab in Dev Dwelling. These options are presently out there in preview.

Conclusion

Microsoft’s dedication to WinUI 3 and WPF marks an necessary step within the evolution of Home windows’ authentic consumer interface platform. By aligning these applied sciences, Microsoft makes it simpler for builders and lays the muse for a unified, superior Home windows consumer expertise.

Supply: Microsoft (1, 2)

And also you ?

What benefits does WinUI 3 supply over older strategies of UI growth on Home windows?
How does the mixing of WPF into the trendy Home windows ecosystem have an effect on builders who’ve used this know-how for a very long time?
How does the WinUI 3 and WPF replace have an effect on your expertise as a Home windows finish consumer?
What implications do these updates have for the way forward for software growth on Home windows?
How can Microsoft guarantee a clean transition for builders when adopting new UI applied sciences like WinUI 3?

1716469106
#Microsoft #introduced #vital #updates #WinUI #Home windows #Presentation #Basis #WPF

Leave a Replay