VijayAnand.MauiToolkit 3.1.0

Prefix Reserved
This package has a SemVer 2.0.0 package version: 3.1.0+sha.deeaf11.
dotnet add package VijayAnand.MauiToolkit --version 3.1.0
                    
NuGet\Install-Package VijayAnand.MauiToolkit -Version 3.1.0
                    
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="VijayAnand.MauiToolkit" Version="3.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VijayAnand.MauiToolkit" Version="3.1.0" />
                    
Directory.Packages.props
<PackageReference Include="VijayAnand.MauiToolkit" />
                    
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 VijayAnand.MauiToolkit --version 3.1.0
                    
#r "nuget: VijayAnand.MauiToolkit, 3.1.0"
                    
#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.
#addin nuget:?package=VijayAnand.MauiToolkit&version=3.1.0
                    
Install as a Cake Addin
#tool nuget:?package=VijayAnand.MauiToolkit&version=3.1.0
                    
Install as a Cake Tool

VijayAnand.MauiToolkit

This is a toolkit with a set of helper methods and classes to simplify working with .NET MAUI and Blazor.

Published as a NuGet package - VijayAnand.MauiToolkit

It depends on VijayAnand.MauiToolkit.Core NuGet package.

To start with, implements the concrete definition of the abstractions defined in Core package:

  • Dialogs - DialogService (works with MainPage or Shell definition)
    • Additional abstraction specific to .NET MAUI with FlowDirection
  • Navigation - NavigationService (based on Shell Navigation pattern)
  • Share - ShareService (based on Maui Essentials)
  • Theme - ThemeService (based on UserAppTheme property)

And includes a set of Markup extension methods for rapid application development with C#.

These fluent APIs are made available in the VijayAnand.MauiToolkit.Markup namespace.

Most importantly, provides an extension method to register these services in .NET MAUI host builder startup:

UseVijayAnandMauiToolkit()

Now it's possible to selectively register the services required into the DI container.

Added a configuration parameter of Enum type ServiceRegistrations (Flags-attributed) to the UseVijayAnandMauiToolkit() method.

To illustrate with a sample, if only interested in NavigationService:

Then, invoke UseVijayAnandMauiToolkit(ServiceRegistrations.Navigation).

And if DialogService is required along with NavigationService:

Then, invoke UseVijayAnandMauiToolkit(ServiceRegistrations.Dialogs | ServiceRegistrations.Navigation).

By default, the default value of configuration parameter is set to ServiceRegistrations.All.

Usage:

public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder.UseMauiApp<App>()
               .UseVijayAnandMauiToolkit(); // Implicit value of ServiceRegistrations.All passed as configuration parameter
        return builder.Build();
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-ios17.0 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst17.0 is compatible.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows10.0.19041 is compatible.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 VijayAnand.MauiToolkit:

Package Downloads
VijayAnand.MauiToolkit.Pro

VijayAnand.MauiToolkit.Pro is a toolkit with a set of helper methods and classes to simplify working with .NET MAUI and Blazor.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on VijayAnand.MauiToolkit:

Repository Stars
egvijayanand/dotnet-maui-samples
.NET MAUI Samples
egvijayanand/dotnet-maui-templates
.NET MAUI Project and Item Templates for VS2022 and CLI.
drakewill-CRL/ROMSorter
Detect and rename ROMs and other games
Version Downloads Last Updated
3.1.0 492 11/27/2023
3.0.0 106 11/14/2023
3.0.0-rc.2.2 68 11/7/2023
3.0.0-rc.2.1 83 10/31/2023
3.0.0-rc.2 84 10/13/2023
3.0.0-rc.1 84 9/18/2023
3.0.0-preview.7 75 9/12/2023
3.0.0-preview.1 108 4/24/2023
2.1.3 89 11/7/2023
2.1.2 89 10/31/2023
2.1.1 100 10/13/2023
2.1.0 158 9/19/2023
2.1.0-preview.7 71 9/12/2023
2.1.0-preview.6 74 4/24/2023
2.1.0-preview.5 123 1/3/2023
2.1.0-preview.4 102 1/2/2023
2.1.0-preview.3 90 12/30/2022
2.1.0-preview.2 80 12/28/2022
2.1.0-preview.1 83 12/27/2022
2.0.1 1,556 12/14/2022
2.0.0 857 11/11/2022
1.1.0 93 9/19/2023
1.1.0-preview.7 78 9/12/2023
1.1.0-preview.6 78 4/24/2023
1.1.0-preview.5 83 1/3/2023
1.1.0-preview.4 80 1/2/2023
1.1.0-preview.3 90 12/30/2022
1.1.0-preview.2 86 12/28/2022
1.1.0-preview.1 90 12/27/2022
1.0.3 699 12/14/2022
1.0.2 633 11/11/2022
1.0.2-pre3 447 8/4/2022
1.0.2-pre2 701 7/15/2022
1.0.2-pre1 443 7/4/2022
1.0.1 5,868 6/18/2022
1.0.1-pre1 422 6/9/2022
1.0.0 1,770 5/23/2022
1.0.0-pre9 225 4/29/2022
1.0.0-pre8 408 4/27/2022
1.0.0-pre7 360 4/12/2022
1.0.0-pre6 173 4/12/2022
1.0.0-pre5 170 4/4/2022
1.0.0-pre4 250 3/31/2022
1.0.0-pre3 164 3/31/2022
1.0.0-pre2 202 3/18/2022
1.0.0-pre12 165 5/13/2022
1.0.0-pre11 356 5/11/2022
1.0.0-pre10 154 5/5/2022
1.0.0-pre1 176 3/7/2022

Join me on Developer Thoughts, https://egvijayanand.in/, an exclusive blog for .NET MAUI and Blazor.

What's new in ver. 3.1.0:
-------------------------
Package suite update.

v3.0.0:

This version of package is released on top of .NET MAUI on .NET 8 GA (8.0.3) version.

v3.0.0-rc.2.2:

This version of package is released on top of .NET MAUI on .NET 8 RC2 (8.0.0-rc.2.9530) version.

v3.0.0-rc.2.1:

This version of package is released on top of .NET MAUI on .NET 8 RC2 (8.0.0-rc.2.9511) version.

v3.0.0-rc.2:

This version of package is released on top of .NET MAUI on .NET 8 RC2 (8.0.0-rc.2.9373) version.

v3.0.0-rc.1:

This version of package is released on top of .NET MAUI on .NET 8 RC1 (8.0.0-rc.1.9171) version.

v3.0.0-preview.7:

This version of package is released on top of .NET MAUI on .NET 8 Preview 7 (8.0.0-preview.7.8842) version.

v3.0.0-preview.1:

Initial release built on top of .NET 8 Preview.

WaitingPage, a page with a customizable busy indicator to show the progress to the user.

Support for the Tizen platform will be included in a later version once the Tizen team releases the workload that supports .NET 8 Previews.