Categories
.NET .NET 8 .NET MAUI Android Code Desktop Developer iOS Mobile MVVM NuGet Toolkit What's New Windows WinUI 3 Xamarin

Data and Command Bindings – Made Easy with Shared Toolkit

First things first, wishing you all a very happy, healthy, and prosperous new year 2024.

2023 wrapped with the release of a newer version of VijayAnand.Toolkit.Markup (aka SharedToolkit), which comes with the wrapper method that allows specifying the Binding as a LINQ expression without the need to specify an additional getter or setter.

Categories
.NET .NET 8 .NET MAUI Android Code Desktop Developer Mobile NuGet Quick Fix Toolkit Xamarin

Trusting Microsoft and .NET MAUI Toolkit NuGet Packages

While trying to restore the recent release of .NET MAUI Community Toolkit v6.0.0 and Markup Toolkit v3.3.0, faced this issue This package is signed but not by a trusted signer.

A similar signing issue came up while installing the workload of .NET MAUI on .NET 8 RC1. However a workaround was provided to overcome the signing issue by bypassing the sign check by trusting NuGet as the package source.

Categories
.NET .NET 8 .NET MAUI Blazor Code Desktop Developer Hybrid Windows WinUI 3 Xamarin

.NET MAUI – Blazor Hybrid – WinUI 3

.NET MAUI and Blazor – Best of both modern technologies for Mobile, Desktop, and Web solutions from a single codebase.

But app development is of two categories: Existing ones and Greenfield development. New features can be part of the latter quite easily as they’re done from scratch but definitely not that easy on the former as existing investments need to be protected. Changes can be quite expensive as they need to be thoroughly validated before rolling out to production use.

Categories
.NET 8 .NET MAUI Blazor Code Desktop Developer Hybrid Mobile What's New Xamarin

.NET MAUI – Blazor Hybrid – StartPath

Providing a hybrid solution is uber cool as it paves way for the reuse of components across the Web, Mobile, and Desktop solutions.

But the Mobile world has matured a lot with native features such as Deep linking, App links, etc … So it’s necessary for the Apps developed in the Hybrid model to support these to stay up to date.

Whenever a link is clicked that is shared via social media or received through messaging apps, it’s expected to open in the associated app, if installed to provide the best possible user experience.

Categories
.NET MAUI Code Desktop Developer Getting Started Mobile Toolkit Xamarin

.NET MAUI – CommunityToolkit – MediaElement

The most requested feature from Xamarin.CommunityToolkit package, MediaElement, is now ported to the .NET MAUI CommunityToolkit following the MAUI’s very own handler-based implementation.

Due to the dependencies involved, this is released as a separate NuGet package titled CommunityToolkit.Maui.MediaElement. The NuGet package is now available to access from the public NuGet feed. The stable version supports only .NET 7 and .NET 6 backward compatibility supported in the earlier developer preview version is now out of context.

It is highly recommended to update to this latest v1.0.1 release as this aligns with the .NET MAUI’s implicit Windows AppSDK package dependency.

Categories
.NET MAUI Code Desktop Developer Getting Started Mobile Toolkit Xamarin

.NET MAUI – CommunityToolkit – MediaElement – Preview Release

The most requested feature from Xamarin.CommunityToolkit package, MediaElement, is now getting ported to the .NET MAUI CommunityToolkit following the MAUI’s very own handler-based implementation.

Peter Foot and other members of the repository are hard at work to make it available by the .NET 7 GA release timeframe scheduled early next month during the .NET Conf 2022.

This package is now released as a stable release in Jan 2023, and details have been covered in a separate article here.

Categories
.NET MAUI Blazor Code Deep Dive Desktop Developer Hybrid Mobile Web Xamarin

Blazor – All along the way – Hybrid Apps

This is the fourth article in the .NET MAUI – Blazor series and have provided links for the other 3 articles previously published.

This article primarily focuses on the Blazor Hybrid scenarios.

The reason is the potential of Blazor, the modern web UI stack based on Razor SDK and allows to work with C# language constructs which can be used across multiple frameworks with the introduction of BlazorWebView, now officially supported on .NET MAUI, classic Windows desktop application frameworks such as Windows Forms (WinForms) and WPF.

Categories
.NET .NET 8 .NET MAUI C# Code Deep Dive Desktop Developer General Learn Made Easy Mobile MVVM Xamarin

MVVM – Made Easy with Microsoft MVVM Toolkit – Part 2

This article is the second part of this MVVM – Made Easy series. The first part of this article, covering the basics, is linked here.

As seen in the first part, INotifyPropertyChanged (INPC) is the interface that defines the event which raises the notification whenever the value of the property gets changed.