Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer F# General Getting Started Hybrid iOS macOS Mobile NuGet Templates Toolkit Visual Studio VS Code Web What's New Windows Xamarin Xamarin.Forms

Getting Started with Syncfusion’s .NET MAUI Toolkit

Yesterday, Syncfusion, a prominent vendor of software components, announced its dedication to contributing to .NET MAUI and the release of the initial set of free and open-source controls for .NET MAUI, which is now available as a NuGet package titled Syncfusion.Maui.Toolkit.

Microsoft has gladly welcomed Syncfusion’s open-source contributions, a gesture seen as a positive step for .NET MAUI confirming the ongoing commitment to the cross-platform framework.

Syncfusion is utilizing its proficiency in developing software components to collaborate with Microsoft, with the objective of significantly enhancing .NET MAUI. Their team is already making a noteworthy impact.

Categories
.NET .NET 8 .NET 9 .NET MAUI Blazor C# Code Desktop Developer General Hybrid Mobile MVVM NuGet Quick Fix Windows Windows 10 Windows 11 WinUI 3 Xamarin Xamarin.Forms

CommunityToolkit.Mvvm: Resolving Windows 10 MVVM Project Build Issues

Undoubtedly, CommunityToolkit.Mvvm, aka Microsoft MVVM Toolkit, has recently become one of the most popular NuGet packages among MVVM developers.

It effectively abstracts away the boilerplate code, enabling developers to concentrate exclusively on the task.

However, after the release of package version 8.3 and later, while building the project referencing this Toolkit has encountered failures, accompanied by perplexing error messages like System.TypeInitializationException or Found conflicts between different versions of 'WinRT.Runtime' that could not be resolved. when targeting the Windows 10 platform.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer F# General Getting Started Hybrid iOS macOS Mobile NuGet Preview Visual Studio Web What's New Windows Xamarin Xamarin.Forms

SLNX – XML-based Visual Studio Solution Files – No more cryptic GUIDs – How to Manage from CLI

Comprehending the intricacies of a system often requires more than just deciphering the code itself. It also involves understanding the web of dependencies that are inextricably linked to it.

This includes navigating through solution files, project files, package references, static asset management, build configuration, and other related components.

With .NET going cross-platform, SDK-style projects have been introduced. The project files have been significantly simplified. They are now more comprehensible. Due to their XML-based nature, they can be easily modified using a basic text editor.

Nonetheless, the restructuring of the Visual Studio solution file is long overdue due to its intricate layout and obscure GUIDs.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Automation Blazor C# Desktop Developer DevOps Extensions General Getting Started Hybrid iOS Mobile NuGet Templates Visual Studio VS Code Web What's New Windows Xamarin Xamarin.Forms

.NET MAUI All-in-One Templates Pack v5.6: NuGet CPM and Nightly Builds Support

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.

Categories
.NET .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer F# Getting Started Hybrid iOS macOS Mobile NuGet Templates Visual Studio Web Windows Xamarin Xamarin.Forms

.NET MAUI on .NET 9

Last Tuesday, the first preview of .NET 9, an STS release, was released along with Visual Studio 2022 17.10 Preview 1.0

Nov 2024 Update: An article has already been published detailing the comprehensive features of .NET MAUI 9.

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.

.NET 9 Preview 2 is available now:

Categories
.NET .NET MAUI Android Automation Blazor Deep Dive Desktop Developer General Hybrid iOS Mobile MVVM NuGet Templates Visual Studio VS Code What's New Windows Xamarin Xamarin.Forms

.NET MAUI – Item Templates – Made Easy on CLI and VS Code

Even though the All-in-One item templates have the same set of features in VS2022 and on the CLI. The CLI has its own limitations and here are the notable ones:

  1. The namespace resolution is not on par with its VS counterpart
    • On CLI – Defaults to the root namespace
    • Whereas in VS to the exact folder where the item is created
  2. A lot of (repeated) typing is required
    • The underlying reason is CLI’s named parameters design
Categories
.NET .NET MAUI Android Blazor Desktop Developer Extensions Getting Started iOS Mobile MVVM NuGet Templates Visual Studio What's New Windows Xamarin Xamarin.Forms

Introducing Xamarin.Forms Templates

Quite like the .NET MAUI All-in-One Templates Pack, there’s a similar template pack for Xamarin.Forms too and is available as both a CLI Template and a VS Extension. Here’s the command to install the CLI part.

Categories
.NET .NET 8 .NET MAUI Android Blazor Code Desktop Developer Hybrid iOS Mobile MSBuild NuGet Quick Fix Templates Windows Xamarin

.NET MAUI 8 Service Releases

After the holidays, the first service release (SR1) of .NET MAUI on .NET 8 was released today. This release is published as a NuGet package rather than a workload update as it tries to address many of the issues faced with the GA release. The changelog is available here. So instead of doing an dotnet workload update, follow the steps given below to pull the latest version so the change is minimal and future-proof for the existing projects.

Categories
.NET .NET MAUI Android Blazor Desktop Developer Hybrid iOS Mobile NuGet Templates What's New Windows Xamarin

Introducing .NET MAUI Generic Item Templates

Working with the .NET MAUI All-in-One Templates Pack is cool. To make it even cooler, now introducing the revolutionary .NET MAUI Generic Item Templates. Available for both XAML and C# on CLI. This feature is now available with the v4.8.0. Update now.

Categories
.NET .NET 8 .NET 9 .NET MAUI Blazor Desktop Developer Extensions General Getting Started Hybrid NuGet Templates Visual Studio VS Code Web What's New Windows Xamarin

.NET Blazor Hybrid – Windows Desktop Templates

Windows Forms and WPF are proven solid frameworks for creating high-performance Windows desktop client applications.

Blazor, a framework for full-stack web development with C# and Razor.

When these two technologies come together, then it’s certainly a delight for the .NET developers as it paves the way to leverage the skills they’re already familiar with and an option to modernize the existing applications.