Categories
.NET .NET MAUI Android Blazor C# Desktop Developer Events General Hybrid iOS macOS Mobile Standup Web Windows Xamarin Xamarin.Forms

.NET MAUI Community Standup

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

A clip from the recorded standup discussing the perplexing errors encountered during the testing of .NET MAUI Apps.

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

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer Getting Started Hybrid iOS Learn macOS Mobile Tips Web Windows Xamarin Xamarin.Forms

.NET MAUI – Styles

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.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer Extensions General Hybrid iOS macOS Mobile Templates Visual Studio Web Windows Xamarin Xamarin.Forms

.NET MAUI All-in-One Templates Pack – 20K Installs

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.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer Getting Started Hybrid iOS Learn macOS Mobile Tips Web Windows Xamarin Xamarin.Forms

.NET MAUI – BindableLayout

This is the second article in the newly started series titled Developer Tips, which offers concise hints to enhance productivity. The inaugural article is about Margin and Padding.

The BindableLayout functions as an item repeater, enabling an ILayout to interact with a data-bound IEnumerable.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Developer Getting Started Hybrid iOS Learn macOS Mobile Tips Web Windows

.NET MAUI – Margin and Padding

Starting a new series titled Developer Tips which offers small hints to enhance developer productivity.

We’ll start with the Margin and Padding that effectively position the View.

Both the properties have been appropriately defined at the View level and are of the type Thickness, which is a structure that defines 4 important properties: Left, Top, Right, and Bottom.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer General Hybrid iOS macOS Mobile Preview Templates Visual Studio Web What's New Windows WinUI 3 Xamarin Xamarin.Forms

What’s New in .NET MAUI 9 Preview 2

Yesterday, the second preview release of the .NET MAUI 9 was hot off the press. Here is the changelog.

To install the preview version, please refer to this article: .NET MAUI on .NET 9.

The distinguishing characteristic of .NET MAUI, with its initial design objective, is its single-project architecture.

Categories
.NET .NET 8 .NET MAUI Desktop Developer Preview Visual Studio Windows

.NET 8 SDK – Visual Studio 2022 Compatibility

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.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Desktop Developer Embedding iOS macOS Maps Mobile Quick Fix Toolkit Web Windows Windows 11 WinUI 3 Xamarin Xamarin.Forms

.NET MAUI Community Toolkit Maps in WinUI 3 App

This article provides a comprehensive guide on leveraging the Maps feature from the .NET MAUI Community Toolkit in a WinUI 3 App through the robust Embedding feature.

The CommunityToolkit.Maui.Maps NuGet package provides access to Bing Maps through a WebView on Windows. The Handler definitions for the Windows platform for the .NET MAUI Maps feature are hosted in this package.

To ensure the Maps feature functions correctly on the native WinUI 3 App, it is imperative to slightly adjust the feature initialization in the MAUI pipeline.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer Hybrid iOS macOS Mobile Visual Studio VS Code Web Windows Windows 11 Xamarin Xamarin.Forms

Using WSA for .NET MAUI Android Development

Windows Subsystem for Android™️ (WSA) enables your Windows 11 device to run Android applications.

Even though optimization techniques such as Intel HAXM are available, there is a marginal performance tradeoff when using the Android Emulator.

The Subsystem has been designed to function as an integral OS component, providing superior performance compared to the Android Emulator.

From my perspective, the only drawback of using WSA is the lack of support for Google Play Services (as it works with Amazon Appstore). So any apps that rely on those services, WSA might not be the best fit. So continue to use the Android Emulator or the Physical device.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Code Deep Dive Desktop Developer Embedding Hybrid iOS macOS Mobile Quick Fix Web Windows WinUI 3 Xamarin Xamarin.Forms

.NET MAUI – Native Embedding

The Native Embedding feature in .NET MAUI is a charming capability inherited from the legacy of Xamarin.Forms.

The platform project can make use of abstracted .NET MAUI pages and controls directly, showcasing its enhanced capabilities in this aspect.

To gain further insights, please consult my previous article outlining how to implement Blazor Hybrid in the WinUI 3 project.

When compared with the time of Xamarin.Forms, significant progress has been made in the implementation of this feature, such as the definition of a platform-independent extension method called ToPlatform().