Embracing the Future of Desktop Applications: What’s New in WPF and WinForms with .NET 9 at .NET Conf 2024
Peter Smulovics
Executive Director at Morgan Stanley, Microsoft MVP, Vice Chair of Technical Oversight Committee, Chair of Open Source Readiness, InnerSource, Emerging Technologies in The Linux Foundation, FSI Autism Hackathon organizer
.NET Conf 2024 is bringing a wave of excitement, particularly for desktop developers working with Windows Presentation Foundation (WPF) and Windows Forms (WinForms). With the release of .NET 9, Microsoft is introducing significant updates to these frameworks, making it easier to bring a modern, sleek, and accessible experience to desktop applications. Here’s a breakdown of what’s new and how these improvements can bring a fresh look and enhanced functionality to your WPF and WinForms applications.
WPF: Bringing Windows 11 Aesthetics to Your Desktop Apps
WPF has long been the go-to for developers seeking a high-performance, versatile desktop app experience. As part of .NET 9, Microsoft is introducing substantial updates to bring WPF apps up to modern design standards, aligning closely with Windows 11’s look and feel.
Key Enhancements:
The new Fluent theme was showcased at Build 2024 and is now generally available, adding a modern edge to WPF apps running on Windows 10, Windows 11, and Windows Server 2019.
WPF Gallery App: A Hands-On Demo Tool
To demonstrate the power of these updates, Microsoft has released the WPF Gallery App, a sample tool that allows developers to see WPF controls and styles in action under .NET 9. It showcases the new Fluent theme in both light and dark modes, providing a valuable reference for anyone looking to incorporate these elements into their own projects. The source code is freely available on GitHub , allowing developers to explore and adapt the code for their needs.
WinForms: Modernizing Legacy Applications with New Capabilities
While WPF has brought high-performance graphics to desktop applications, WinForms remains a favorite in the enterprise space, particularly for line-of-business applications. With the .NET 9 release, WinForms is now equipped with several long-awaited updates, blending the simplicity of WinForms with the power of modern .NET capabilities.
Key Enhancements:
These updates empower WinForms developers to create versatile, modern applications while still supporting legacy systems. This is particularly important for organizations looking to modernize their existing line-of-business applications without needing to rewrite them from scratch.
Building the Next Generation of Desktop Apps
The enhancements in WPF and WinForms with .NET 9 mark a significant step forward in desktop application development. By incorporating modern UI elements, updated controls, and async capabilities, Microsoft continues to bridge the gap between traditional desktop apps and the requirements of today’s advanced, connected experiences.
For developers, this means having the best of both worlds: the ability to maintain and enhance existing applications while adopting modern technologies and practices that keep their apps looking fresh and running smoothly. Whether you’re building new applications or modernizing existing ones, the .NET 9 updates provide the tools to create visually engaging, responsive, and accessible desktop applications that meet the needs of today’s users.
With .NET 9, Microsoft is reaffirming its commitment to the desktop developer community. The updates that would be showcased at .NET Conf 2024 are proof of how WPF and WinForms remain powerful frameworks in the modern software development landscape, allowing developers to craft user experiences that feel right at home on Windows 10 and Windows 11.
As desktop development continues to evolve, now is an exciting time to dive into these frameworks, explore the new Fluent theme, and leverage async programming in your WinForms applications. The future of desktop apps is here, and it’s looking brighter—and sleeker—than ever.
For more details, do check out these sessions from the schedule, and look out for the upcoming WPF Community Calls!
Managing Director and Artist
2 周Insightful as always Peter Smulovics!
CEO at Devox
2 周desktop refresh? count me in. excited possibilities ahead.
Peter Smulovics, yo, .NET 9 sounds like it’s leveling up the game for desktop apps! Fresh looks and smooth functionality are always a plus. What part excites ya most?