Gone Mobile
00:00:00
/
01:07:15

116: What's new for .NET 9?

August 5th, 2024

In this conversation, Jon and Allan discuss the upcoming features in .NET 9 and Maui. They talk about the challenges faced during the development of Maui and the improvements made in the tooling. They also discuss the new C# language features, including collection expressions and the system threading lock type. They touch on the concept of workloads and the introduction of workload version sets to improve the stability and repeatability of builds. They also mention the new title bar customization feature in Maui. In this conversation, Jon and Allan discuss several topics related to .NET MAUI. They cover the customization of the title bar, the new disconnect handlers feature, the embedding of Maui code into native apps, the upcoming CollectionView handler 2, and the potential switch to using unpackaged templates for Windows. They also mention the importance of having an escape hatch when using external libraries and the benefits of the dev loop on Windows. They conclude by encouraging listeners to leave five-star reviews and recommending the Warp tool for Mac users.

Takeaways

  • The development of Maui faced challenges, but improvements have been made in the tooling.
  • New C# language features in .NET 9 include collection expressions and the system threading lock type.
  • Workloads and workload version sets have been introduced to improve the stability and repeatability of builds.
  • Maui now has a title bar customization feature for windows. The conversation highlights the importance of open and transparent communication in the development process. Customizing the title bar in .NET MAUI allows for the addition of various elements such as icons and menus.
  • Disconnect handlers in .NET MAUI help manage memory leaks and provide control over when resources are released.
  • The embedding feature in .NET MAUI allows developers to integrate Maui code into existing native apps.
  • The upcoming CollectionView handler 2 in .NET MAUI will use newer APIs, improving performance and reducing complexity.
  • There is a potential switch to using unpackaged templates for Windows in .NET MAUI, which would improve the development experience and deployment process.
  • Having an escape hatch when using external libraries allows for flexibility and easier swapping of components.
  • The dev loop on Windows is fast and efficient, making it a preferred platform for development.
  • Leaving five-star reviews and recommending tools like the Warp tool for Mac users helps support the community and discover new resources.

People

  • Hosts: Jon Dick, Allan Ritchie
  • A/V Engineer: Jim Heath

Chapters

  • 00:00 Introduction and Challenges in Maui Development
  • 02:31 New C# Language Features in .NET 9
  • 04:58 Workloads and Workload Version Sets
  • 10:00 Title Bar Customization in Maui
  • 14:20 Importance of Open and Transparent Communication
  • 32:56 Customizing the Title Bar
  • 39:30 Disconnect Handlers
  • 43:35 Embedding Maui Code
  • 49:05 CollectionView Handler 2
  • 55:44 Switching to Unpackaged Templates for Windows
  • 59:04 The Dev Loop on Windows
  • 01:03:52 Having an Escape Hatch
  • 01:05:56 Recommendation: The Warp Tool

Episode Comments