Categories
.NET .NET 10 .NET 8 .NET 9 .NET MAUI .NET MAUI 10 .NET MAUI 9 Android Aspire Blazor C# CLI Desktop Developer Extensions F# General Getting Started Hybrid iOS macOS Mobile NuGet Templates Tools Visual Studio VS Code VS2022 VS2026 Web What's New What's New Windows Xamarin Xamarin.Forms XAML

What’s New in the All-in-One .NET MAUI Templates Pack v8.0

As the name suggests, it has a slew of features under the hood to work with .NET MAUI.

To effectively support the Stable channel release of .NET MAUI 10, both the CLI NuGet package and the Visual Studio extension of the All-in-One .NET MAUI Templates Pack have been updated.

This v8.0 is the key enhancement for .NET MAUI 10. Check out the articles for v7.9, v7.10, and v7.11 for the feature set.

To know more about all the features of this template pack, refer to the series of articles listed here.

And to learn about key features by MAUI version, check these articles:

Categories
.NET .NET 10 .NET 8 .NET 9 .NET MAUI .NET MAUI 10 .NET MAUI 9 Android Aspire Blazor C# CLI Desktop Developer Extensions F# General Getting Started Hybrid iOS macOS Mobile NuGet Templates Tools Visual Studio VS Code VS2022 VS2026 Web What's New What's New Windows Xamarin Xamarin.Forms XAML

What’s New in the All-in-One .NET MAUI Templates Pack v7.11

As the name suggests, has a slew of features under the hood to work with .NET MAUI.

To effectively support the RC release (with Go-Live support) of .NET MAUI 10, both the CLI NuGet package and the Visual Studio extension of the All-in-One .NET MAUI Templates Pack have been updated.

This is the third set of enhancements for .NET MAUI 10. Check out the v7.9 and v7.10 articles for the feature set.

To know more about all the features of this template pack, refer to the series of articles listed here.

And to learn about key features by MAUI version, check these articles:

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

What’s New in the All-in-One .NET MAUI Templates Pack v7.10

As the name suggests, has a slew of features under the hood to work with .NET MAUI.

To effectively support the RC release (with Go-Live support) of .NET MAUI 10 and the latest stable release of .NET MAUI 9, both the CLI NuGet package and the Visual Studio extension of the All-in-One .NET MAUI Templates Pack have been updated.

To learn about key features by version, check these articles:

To know more about all the features of this template pack, consult the articles linked here.

How to Install:

From CLI:

Here’s the command to install the CLI templates pack.

Categories
.NET .NET 8 .NET 9 .NET MAUI .NET MAUI 9 Android Blazor C# Code Developer Getting Started Hybrid iOS macOS Mobile NuGet Toolkit Tools Web What's New Windows Xamarin Xamarin.Forms

Integrated App Hosting Builder Method for .NET MAUI Explained

VijayAnand.MauiToolkit is a toolkit that provides various types and methods to make working with .NET MAUI easier. It’s available as a NuGet package and can be installed using the command below.

dotnet add package VijayAnand.MauiToolkit

The latest addition is the Application, Window, and Page integrated app hosting builder extension method.

Introduction:

From .NET MAUI 9, you need to create your main window to run your app by overriding the CreateWindow() method. Instead of setting the Application’s MainPage, pass the page as a parameter to the constructor of the Window type. Alternatively, set its Page property. This topic has already been covered in detail in an earlier article.

Since the app startup configuration is done in one location, MauiProgram.cs, it’s best to set the main Window while configuring the Application in the UseMauiApp() method. Thus the inherited App type acts as a container for global resources. It also handles app events like Start, Sleep, and Resume.

Categories
.NET .NET 10 .NET 9 .NET MAUI .NET MAUI 10 Android Blazor C# Deep Dive Desktop Developer Getting Started Hybrid iOS macOS Mobile What's New What's New Windows Xamarin Xamarin.Forms XAML

What’s New in .NET MAUI 10: Global and Implicit Namespaces for XAML

.NET MAUI 10 is the fifth major release of .NET MAUI, a cross-platform framework for building mobile and desktop apps.

It’s slated for a GA release during the .NET Conf, an annual virtual developer event, scheduled from Nov 11-13, 2025.

It’s packed with many quality of life improvements. The Global and Implicit Namespace for XAML feature is the pick of the lot.

To learn about the key features of .NET MAUI 10, check out this Overview article.

Categories
.NET .NET 10 .NET 8 .NET 9 .NET MAUI Android Blazor C# Desktop Developer Getting Started Hybrid iOS macOS Mobile What's New Windows WinUI 3 Xamarin Xamarin.Forms XAML

What’s New in .NET MAUI 10 – A Comprehensive Overview

.NET 10, the next major version of .NET, will follow the annual release cadence. It is a Long-Term Support (LTS) release, set to launch during .NET Conf, an annual virtual developer event, scheduled from Nov 11-13, 2025. Support will last for 3 years from release.

This release is packed with a broad set of features. The theme is enhanced security, performance, diagnostics, and developer productivity.

Consult these articles on .NET 10 and C# 14 features:

The STS support policy has recently changed: from .NET 9 onwards, support will last for 2 years instead of 18 months. Support for both .NET 8 LTS and .NET 9 STS will continue until Nov 2026. Full details here.

It’s to be noted that .NET MAUI does not have concept of STS/LTS. Each major version is supported for 18 months after its release, so support for .NET MAUI 9 will be available only till mid-May, 2026. The official support policy is here.

To know more about the key features of .NET MAUI 9, consult this overview article.

Key Features:

In this article, we’ll explore the high-level features of .NET MAUI 10.

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

What’s New in the All-in-One .NET MAUI Templates Pack v7.9

As the name suggests, has a slew of features under the hood to work with .NET MAUI.

To effectively support the RC release (with Go-Live support) of .NET MAUI 10, both the CLI NuGet package and the Visual Studio extension of the All-in-One .NET MAUI Templates Pack have been updated.

First and foremost, adding support for the Visual Studio 2026 Insiders release.

To know more about the key features of .NET MAUI 10, consult this comprehensive overview article.

To know more about all the features of this template pack, consult the articles linked here.

How to Install:

From CLI:

Here’s the command to install the CLI templates pack.

Categories
.NET C# CLI Desktop Developer General Getting Started Linux Tools Web What's New Windows

How to Install and Use Microsoft Edit for Simple CLI Text Edits

Want to quickly update a configuration file or edit a solution or project file? Then Microsoft Edit is the ultimate choice. It is a lightweight and easy-to-use text editor from the command line. You can do all this without ever having to switch context.

How to Install:

Plans are to add it to Windows OS soon, making it useful in places where third-party software can’t be installed.

For now, the easiest option to install this editor is using winget:

Categories
.NET .NET 10 ASP.NET Core Aspire Automation Azure Blazor C# CLI Code Desktop Developer Getting Started Linux macOS Mobile Visual Studio VS Code Web What's New Windows

Using C# Ignored Directives: A Guide for Programmers

C# – Preprocessor Directives are highly useful for writing code that can be compiled conditionally, depending on factors like the target framework, target platform, or build configuration.

For example:

#if NET9_0_OR_GREATER
// The code within this block will execute only on .NET 9 or higher
#endif

#if ANDROID
// The code within this block will execute only on the Android OS
#endif

#if DEBUG
// The code within this block will execute only in Debug mode
#endif

C# – Ignored Directives have a similar syntax but are ignored by the compiler because they are for tooling.

The real purpose of this feature is to execute a C# source file directly from the CLI. It doesn’t need a project file. Now, even the plain console app requires a project file, despite the much-simplified top-level statements feature.

Categories
.NET .NET 10 .NET MAUI Android Blazor C# Code Deep Dive Desktop Developer Getting Started Hybrid iOS Learn Mobile Preview Visual Studio VS Code Web What's New Windows Xamarin Xamarin.Forms

What’s New in C# 14 – Extension Members – A Comprehensive Guide

Introduced in C# 3.0, extension methods are a valuable feature for external types, especially when those types are sealed, such as string.

Roughly two decades later, C# has now finally unveiled support for extending everything.

With the release of .NET 10 Preview 3 (C# 14), it is now possible to define static methods, instance properties, and static properties too. Support for other members will be incorporated in future releases.

Syntactically, an extension method should be defined within a top-level static class. The type of its first mandatory parameter, the one qualified with the this keyword, determines the type being extended. Henceforth, this will be referred to as the receiver type.

All standard query operators of LINQ are defined as extension methods. They are defined in the Enumerable static class within the BCL (in the System.Linq namespace).

For example, the Where extension method applies to all types that implement IEnumerable<T>. Validations and optimizations aside, the typical implementation is as outlined below.