.NET 9, the next major version of .NET following the annual release cadence, will be a Short-Term Support (STS) release, which will be supported for 18 months from release.
This release is packed with a broad set of features. The primary highlight is the support for Native AOT across app models.
In this article, we’ll explore the high-level features of .NET MAUI 9.
This September, the .NET MAUI monthly community standup discusses the.NET MAUI 9 release enhancements. The HybridWebView and amazing TitleBar for Windows are just the tip of the iceberg.
Remember to join live on Thu, Sep 5 at 17:30 UTC. Click the link to access the timing in your local or preferred time zone.Note, that it’s half an hour behind the usual schedule.
Update:Ā The community links for this monthās standup areĀ here.
Happy coding. Stay connected as we continue to learn and share the experiences from this exciting journey of being a .NET developer.
Back in February, an article was published on the efficient utilization of Item Templates through the use of script automation. The article, titled .NET MAUI ā Item Templates ā Made Easy on CLI and VS Code, provides a detailed focus on this topic.
That article addressed two issues:
Better namespace resolution
Do more with fewer keystrokes
Now, the namespace resolution issue has been partially supported within the .NET SDK, eliminating the requirement for additional script files. A PR was submitted to the .NET Templating source repository, underwent review, and was subsequently merged into the main branch. This enhancement was then included in the release of .NET 9 Preview 6.
.NET MAUI All-in-One Templates - Support for NuGet CPM and Nightly Builds
Firstly, .NET MAUI 9 Preview 5 has just been released. The changelog can be found here. Notably, a new Blazor Hybrid Web template has been introduced in this version.
In short, this new template abstracts the Razor components into a distinct Razor Class Library (RCL). Furthermore, it provides the ability to create Blazor Web projects within the same solution and refers to the shared RCL.
The concept of abstracting the Razor components is already facilitated by the Hybrid project templates within the All-in-One template pack.
dotnet new mauiapp -o MyApp -dp Hybrid -rcl
Will review the modifications and cover them in a distinct article.
Abstracts the Shared components as a separate .NET MAUI Class Library
As we all know .NET MAUI is an evolution of Xamarin.Forms. The underlying architecture transitioned from Renderers to Handlers. The project structure is unified. But for the projects that are getting migrated and developers coming from Xamarin.Forms background would feel at home with the classic multi-project solution structure.
To effectively support this, the All-in-One project templates introduced an option to abstract the Shared components as a separate .NET MAUI Class Library.
The topic for this June monthās .NET MAUI community standup is VS Code Updates.
Of late, VS Code has incorporated many new features, such as XAML IntelliSense and Hot Reload, as the end of support for VS for Mac is quickly approaching (Aug 31, 2024).
Update: The community links for this monthās standup are here.
David highlighted using MAUI Nightly Builds in the standup. Projects in the All-in-One templates pack already support utilizing the Nightly builds from version 4.6 onwards. However, setting up the package source from the CI feed involves a few manual steps as detailed in the earlier article.
But, automation is the need of the hour. The upcoming release of templates pack v5.6, scheduled for this week, will streamline the process by eliminating manual steps, ensuring seamless functionality when selecting the Nightly builds option upon project creation. Cool š.
Update: v5.6 has just been released. Consult this article for further details.
Remember to join live on Thu, Jun 6 at 17:00 UTC. Click the link to access the timing in your local/preferred time zone. Note, itās back at the same time.
Happy coding. Stay connected as we continue to learn and share the experiences from this exciting journey of being a .NET developer.
It’s the month of May, so it’s time for Microsoft Build, its annual developer conference, where it’ll showcase the innovative features to the community.
It’s the age of AI, which is disrupting the status quo. So most of the sessions are scheduled along that line as expected.
For .NET MAUI, Blazor, and C#, these are the highly recommended sessions to watch.
Today being the second Tuesday of the month marks the occurrence of Patch Tuesday, signifying the release of a new set of updates.
The second preview for .NET 9 is now available in the Preview channel, while Quality updates have been made accessible in the stable channel.
Quite like the SDK, Visual Studio 2022 has also received updates. The latest update includes VS2022 17.10.0 Preview 2.0 and 17.9.3 in the Stable channel.
Note: The stable version 17.9.3 release incorporates .NET MAUI 8.0.7 (SR2) workload update, which was previously available as a NuGet package update.
At first, .NET 6 and .NET 7 versions of .NET MAUI were released only via SDK Workloads whereas from .NET 8 onwards (Preview 4 to be precise), it is now distributed as a base workload and suite of NuGet packages on top of it.
This NuGet-based release process allows trying different versions of .NET MAUI which are released on top of a base workload on the same machine without the complexities of moving between different workload versions.
A detailed blog post describing the Vision for .NET 9 is here. Moving forward, preview releases will be published in the GitHub discussion and for Preview 1 here.
And what’s changed in this .NET MAUI 9 Preview 1 is here. Have a look at the tentatively planned features on .NET 9 here and Roadmap here.