AngryMonkey.CloudBlazor.App.Maui 1.0.1

dotnet add package AngryMonkey.CloudBlazor.App.Maui --version 1.0.1
                    
NuGet\Install-Package AngryMonkey.CloudBlazor.App.Maui -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AngryMonkey.CloudBlazor.App.Maui" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AngryMonkey.CloudBlazor.App.Maui" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="AngryMonkey.CloudBlazor.App.Maui" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AngryMonkey.CloudBlazor.App.Maui --version 1.0.1
                    
#r "nuget: AngryMonkey.CloudBlazor.App.Maui, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AngryMonkey.CloudBlazor.App.Maui@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AngryMonkey.CloudBlazor.App.Maui&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=AngryMonkey.CloudBlazor.App.Maui&version=1.0.1
                    
Install as a Cake Tool

CloudBlazor.App.Maui

Website GitHub repository NuGet NuGet downloads .NET

.NET MAUI Blazor Hybrid integration for CloudBlazor.App: native navigation, hardware back button handling, and platform launcher support.

Formerly published as AngryMonkey.CloudApp.Maui and AngryMonkey.CloudApp.Mobile. See Migrating.

Supported platforms

Android · iOS · macOS (Mac Catalyst) · Windows

Installation

dotnet add package AngryMonkey.CloudBlazor.App.Maui

This package references AngryMonkey.CloudBlazor.App, so the shared navigation contract comes with it.


Quick start

public static MauiApp CreateMauiApp()
{
    MauiAppBuilder builder = MauiApp.CreateBuilder();

    builder
        .UseMauiApp<App>()
        .ConfigureFonts(fonts => fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"));

    builder.Services.AddMauiBlazorWebView();

    // Registers MauiNavigationService as the INavigationService.
    builder.Services.AddCloudAppMaui();

    return builder.Build();
}

Application code depends only on INavigationService, so the same components run unchanged in a browser host that calls AddCloudApp() instead.

Hardware back button

TryNavigateBack returns false on the root page with no popup open, which is exactly the signal needed to let the platform close the application:

protected override bool OnBackButtonPressed() => _navigation.TryNavigateBack();

Returning true means the service handled the navigation, so the platform should not.


What differs from the web service

MauiNavigationService shares all of NavigationServiceBase with WebNavigationService. Only external navigation behaves differently.

await Navigation.NavigateToExternalAsync("https://angrymonkeycloud.com");
await Navigation.NavigateToExternalAsync("tel:+96112345678");
await Navigation.NavigateToExternalAsync("www.angrymonkeycloud.com");   // promoted to https
URL form Handling
http: / https: Platform launcher — opens the system browser.
tel: mailto: sms: geo: Platform launcher — opens the dialer, mail client, or maps.
Bare host containing a dot Promoted to https:// and launched.
Anything else Routed inside the BlazorWebView.

Opening these through the launcher rather than the web view is the point: a tel: link inside a BlazorWebView does nothing useful on its own.

When the launcher fails — typically because no handler is installed for the scheme — the navigation falls back to the web view rather than being dropped.

public override bool TryHandleDeepLink(Uri uri)
{
    // Return true once the link has been consumed.
    return false;
}

The string overload parses and delegates to the Uri overload, so only one needs overriding.


Migrating

Previous package Last version Replacement
AngryMonkey.CloudApp.Maui 1.2.1 AngryMonkey.CloudBlazor.App.Maui
AngryMonkey.CloudApp.Mobile 1.1.0 AngryMonkey.CloudBlazor.App.Maui

The previous packages are no longer updated. The repositories were merged into CloudBlazor, where all four packages ship as a matched set.

Required changes

Before After
using AngryMonkey.CloudApp; using AngryMonkey.CloudBlazor.App;
Manual services.AddScoped<INavigationService, MauiNavigationService>() services.AddCloudAppMaui()

MauiNavigationService keeps its name and members. Two behaviours changed as bug fixes:

  • SoftNavigate is no longer async void. An exception inside it used to be unobservable and could tear down the process.
  • A wider set of URI schemes reaches the launcher. sms: was previously routed into the web view.

Package Purpose
AngryMonkey.CloudBlazor Shared components and browser behaviors.
AngryMonkey.CloudBlazor.App Navigation contract and browser implementation.
AngryMonkey.CloudBlazor.Web Website infrastructure: head metadata, SEO, bundles.

License

MIT © Angry Monkey Cloud

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AngryMonkey.CloudBlazor.App.Maui:

Package Downloads
AngryMonkey.CloudLogin.Maui

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 40 8/1/2026
1.0.0 42 8/1/2026