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 MAUI Deep Dive Desktop Developer Migration Mobile MVVM Templates Visual Studio Xamarin

Introducing Shared Class Library – Multi-target Xamarin.Forms and .NET MAUI from a single project

Very happy to announce the availability of the Shared Class Library project template, a library that targets both Xamarin.Forms and .NET MAUI from one single project.

We all know that .NET MAUI is an evolution of Xamarin.Forms targeting .NET 6 (as of this writing), a cross-platform UI stack (native UI) targeting the Android, iOS, macOS, and Windows platforms to complement the .NET toolchain (SDK & Workloads), and a single base class library (BCL).

Categories
.NET MAUI Desktop Developer Mobile Quick Fix Templates Visual Studio Xamarin

.NET MAUI hits GA – Stable Release – VS Install issue – Missing Xamarin.Forms templates

Much to the user’s delight, Microsoft released the stable version of .NET MAUI (General Availablity) a day before the start of its annual developer conference event, MSBuild.

The templates are out of the preview band with version # 6.0.312 and the package is now available to install from the NuGet.

Categories
.NET MAUI Deep Dive Desktop Developer 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.

Categories
.NET MAUI Deep Dive Desktop Developer Mobile Visual Studio VS Code What's New Xamarin

What’s New in .NET MAUI RC2

Yes, another RC in such a short span of two weeks’ time. A more polished version and most importantly Samsung Tizen joins the .NET MAUI bandwagon. And it seems one more RC to follow before the GA release later this month.

Categories
.NET MAUI Deep Dive Desktop Developer Getting Started Mobile MVVM Xamarin

MVVM – Made Easy with Microsoft MVVM Toolkit – Part 1

The Model-View-ViewModel (MVVM) is a software design pattern that is structured to separate program (business) logic and user interface controls. The main advantage is, that the program logic is fully unit-testable as it functions independently of the UI controls (loosely coupled). It is very popular among the developers of XAML-based UI frameworks such as WPF, UWP, Xamarin.Forms, .NET MAUI, WinUI, and even other 3rd Party frameworks such as Uno.

Categories
.NET MAUI Blazor Desktop Developer Extensions Mobile Templates Visual Studio VS Code Web Xamarin

All-in-One .NET MAUI App Project Template – What’s New

This is a follow-up article describing the new features added to the latest release that supports .NET MAUI RC1. For installation and options available in this template, a detailed article is linked here.

This release is now loaded with 4 new features:

Categories
.NET MAUI Desktop Getting Started Mobile Visual Studio Xamarin

.NET MAUI – Steps to Update to Preview 8

First things first, .NET 6 RC1 and .NET MAUI Preview 8 got released this week but the big breaking news is that .NET MAUI will be ready for Production use (General Availability) only by early Q2 of 2022 (next year) and NOT as originally planned with .NET 6 GA by Nov 2021.

This is definitely sad news for all those Xamarin/.NET MAUI developers who wanted to leverage this brand-new architecture. Hopefully by that time, if additional targets such as Linux/Wasm gets onboard, it would be worth waiting.

Categories
.NET MAUI Desktop Mobile Xamarin

.NET MAUI – Manage App Resources

Resource management is one of the key aspects of app development, be it mobile or desktop. The developer has to deal with a variety of resources ranging from images, fonts, splash screen, styles, and raw assets like HTML, PDF, or could be even simple text files.

That too when it comes to cross-platform development, each platform has its own way of managing resources and it’s a daunting task for the development team to know and manage all those things. For example, image requirements in multiple sizes to support devices with various resolutions for a rich experience. Fortunately, icon fonts solve a part of this problem by auto-scaling. But still, font is managed differently in each of the platforms.

Categories
.NET MAUI Developer Windows 11 Xamarin

Windows 11 Update

If you work on Xamarin.Android, Xamarin.Forms or .NET MAUI, then think before you upgrade to Windows 11 on that machine. The reason being Android Emulator fails to start and seems many of them have already reported this issue via Windows Feedback and on other channels. I’m yet to find a solution to this issue. I updated to Windows 11 21H2 OS build 22000.100. And it’s currently running OS build 22000.194 (same as RTM version). The only possibility, for now, is to make use of a physical device. Thanks to Wi-Fi debugging.