This month’s .NET MAUI community standup focuses on Mixed Reality, specifically on building MAUI apps for AR and VR devices, featuring Ed Charbeneau, well-known in the Blazor community.
His article about Mixed Reality features in the most recent edition of Code Magazine.
This is the fifth article in the recently started series titled Developer Tips, which offers concise hints to enhance productivity. All the articles in this series can be accessed from here.
A label in .NET MAUI is a simple yet powerful View that presents read-only text, like titles, captions, or descriptions.
The Text property holds the string to be displayed and is also bindable.
.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.
The year 2024 began with an article outlining the improvements in the Shared Toolkit through the optimization of specifying the Binding as a LINQ expression, without requiring an additional getter or setter.
Mainly, the Binding expression is statically typed, providing better control by aiding in identifying errors during compilation. Furthermore, it preserves the default binding behavior of the View, such as the two-way binding in the case of Entry, enabling editing. This behavior can be modified using the BindingMode parameter.
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.
.NET MAUI Project File - Base TFM and Conditional OutputType
The topic for this month’s .NET MAUI community standup is so interesting, Testing your MAUI Apps ft. Gerald Versluis.
Remember to join live on Thu, Apr 4 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.
Update: The community links for this month’s standup are here.
The All-in-One .NET MAUI App templates support this feature out of the box by incorporating the base framework TFM and conditionally configuring the OutputType property 😊.
.NET MAUI Project File – Base TFM and Conditional OutputType
dotnet new mauiapp -o MyApp
Happy coding. Stay connected as we continue to learn and share the experiences from this exciting journey of being a .NET developer.
This is the third article in the recently started series titled Developer Tips, which offers concise hints to enhance productivity. All the articles in the series can be accessed from here.
A style is characterized by a collection of interrelated properties that aim to improve resource management within the application. It is defined as a list of Setters. A Setter has a property and a value.
Styles can be incorporated into the Resources property, of type ResourceDictionary, defined at the VisualElement level.
The .NET MAUI All-in-One Templates Pack Visual Studio 2022 extension has achieved the significant milestone of 20K installations. It’s time to celebrate.🎊🎉🎇🎆
The initial version was released on Jul 18, 2021, and it took 2 years and 8 months to reach this stage with an average of 20 installations every day.
To know more about the features offered, consult this What’s New article.
If you would like to recognize the work, kindly consider sponsoring on the GitHub Sponsor page or Buy Me a Coffee page. Thanks in advance.
Happy coding. Stay connected as we continue to learn and share the experiences from this exciting journey of being a .NET developer.