What’s next for .NET MAUI? Roadmap and Xamarin Sunset Revealed – Visual Studio Magazine
What’s next for .NET MAUI? Roadmap and Xamarin Sunset revealed
.NET MAUI, which evolves Xamarin.Forms by adding support for desktop apps, has arrived in .NET 6 and Visual Studio 2022, but what’s next?
The development team’s plans for the .NET Cross-Platform Application UI in .NET 7, as well as the end of support for Xamarin, were unveiled at a recent conference focused solely on Microsoft’s cross-platform UI stack targeting Android, iOS, macOS, and Windows.
.NET MAUI was slow to come, as it was supposed to debut with .NET 6 last November, but slipped the schedule due to the pandemic and other issues, finally becoming generally available in May. However, it wasn’t until earlier this month that it went GA in Visual Studio 2022 17.3. With that, Microsoft announced a new “visual and live” feature.
“We’ve built tools to help you develop your app without slowing you down or waiting for a rebuild. Hot Reload, Live Visual Tree, and XAML Live Preview speed up your development time by letting you apply code changes and see them immediately,” Microsoft’s Montaquila said in a blog post earlier this month about Visual Studio GA. “With XAML Hot Reload, you can make changes to your UI and immediately see them in the running application along with your actual data. With .NET Hot Reload, you can make changes to your code, save, and see those changes as well without losing your application state.”
Also associated with this VS 2022 release was the .NET Conf: Focus live stream on MAUI, in which hosts David Ortinau and Montaquila revealed the development team’s plans for .NET 7, coming November 8th.
The .NET 7 roadmap
“I want to give you a quick note on the .NET 7 roadmap,” Ortinau said. “We’ve shown you all the cool stuff you have today, and you’re totally going to play with it. level, and make improvements in a big step up there. We’re adding context menus, tooltips, right-click gestures, hover gestures. We’ll see what we can do about customizations in the title bar space and several other things.”
The platform side
“Platform-wise, for our twins, what can we do to make it easier so that you don’t have to do type bindings and C# things that are really complex. That hurts my head.”
“Then on mobile we give you maps. As you can see we have screenshots here, things come together.”
“I also want to quickly mention what our release schedule is, what support looks like and things like that in the future. Of course .NET MAUI ships in .NET 6 and so what that means is than in .NET 7 — guess what? — You get another MAUI. In .NET 8, what do you get? Another MAUI. We’ll ship every .NET.”
“There’s one little thing people need to be aware of about .NET MAUI – we have external dependencies. So when Apple ships new Xcode, when Google ships new Android, when Windows ships new Windows, this aren’t necessarily things we have control over, and so we need the capability as an optional workload in the .NET installer to be able to ship at a separate cadence when needed. when the new Xcode goes to GA, when the new Android goes to GA, we can still keep shipping and servicing that for you.And then every major MAUI release will get patches for another six months.Why? “That’s the cadence you get from Apple and Google and that’s something that’s important to our customers. That level of support is truly unmatched anywhere.”
End of Xamarin support
“Quick note on Xamarin, we get asked all the time, how fast should I move? When will Xamarin stop being supported, etc.? We’re going to ship another version of iOS, so the Xcode SDKs. We’re also going to be shipping our latest version of Android on Xamarin so we’re looking at an update to our support policy that will say by May 2024 that’s end of support. That’s just a date. That’s all you need to worry about, but look, it’s a lot of time. It’s .NET 6, .NET 7, it’s halfway into .NET 8 so that you can move your code forward.
Upgrade process (no rewrite required)
“It’s not a code rewrite. It’s an upgrade process, but you get the latest C#, you get all performance improvements, you get full support, you get bugfixes from security throughout, and the only thing if you haven’t heard anything else from this crazy, rather busy but beautiful slide is that there are no gaps. This is unprecedented in the industry No one else has this level of support, this quality of support, so I hope everyone recognizes that it’s great what Microsoft is able to do for we.”
Microsoft has published guidance such as “Migrating your application from Xamarin.Forms” and provided other resources such as the “Migrating from Xamarin.Forms (Preview)” GitHub repository for .NET 6, but Montaquila promised more help to the documentation in the coming months as .NET 7 AG approaches.
David Ramel is an editor and writer for Converge360.