News

With .NET MAUI Delayed, Xamarin.Forms Remains Mobile Dev Option in .NET 6

With .NET MAUI -- the "evolution of Xamarin.Forms" -- delayed, the latter remains a primary mobile dev option in .NET 6, just released this week.

Microsoft described .NET MAUI (.NET Multi-platform App UI) as the evolution of Xamarin.Forms because it adds desktop app support to the traditional iOS- and Android-focused development framework, among other enhancements. However, the project "slipped the schedule" and missed the Nov. 8 debut of .NET 6 and Visual Studio 2022. Microsoft now says it's coming in Q2 (April-June).

So, with Xamarin.Forms 5.0 still supported through November 2022 [Editor's note: previously this date said 2023, corrected by a reader.] and .NET MAUI sporting incomplete preview bits and being months away from GA, which do you go with right now?

Microsoft made it simple: "If your project development timeline is longer than 4 months or everything you need is ready in .NET MAUI, then we recommend starting there. Otherwise, Xamarin.Forms is your best bet and you can see what lays ahead for you to transition to .NET 6 when you're ready."

That guidance comes from David Ortinau, principal program manager, in a Nov. 8 blog post titled "What's New in Xamarin and Visual Studio 2022."

On the same day, Ortinau penned "Announcing .NET MAUI Preview 10." The new preview has little in the way of big new features or functionality, but does include a whopping 68 changes more of the minor variety.

"This new release includes the merging of the remaining Windows App SDK dependencies, and ongoing progress to complete the remaining controls and control features," he said.

Specifically, new are handler implementations of CollectionView and IndicatorView. The CollectionView class is a flexible and performant view for presenting lists of data using different layout specifications. "CollectionView covers most of the same virtualized list based scenarios as ListView and adds support for other layouts such as horizontal and grid," Ortinau said.

The CollectionView
[Click on image for larger view.] The CollectionView (source: Microsoft).

The GitHub pull request to "Handler-ize CollectionView for Windows" explains that "This is only to get CollectionView into the handler architecture for layout/customization purposes. We'll do a more handler-native version of this at a later date, and port the appropriate parts into Core."

Going forward, the .NET MAUI roadmap shows more handler work on tap for Preview 11 next month, followed by a Release Candidate in Q1 and GA in Q2:

The .NET MAUI Roadmap
[Click on image for larger view.] The .NET MAUI Roadmap (source: Microsoft).

More information on the progress of the .NET MAUI project can be found in the status wiki.

Preview 10 is available in the stable release of .NET 6 and the preview channel of Visual Studio 2022.

"Visual Studio 2022 previews are incrementally enabling new features for .NET MAUI," Ortinau said in conclusion. "As you encounter any issues with debugging, deploying, and editor-related experiences, please use the Help > Send Feedback menu to report your experiences."

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus

Featured

  • 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.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube