TechniumNavigation 1.1.3
dotnet add package TechniumNavigation --version 1.1.3
NuGet\Install-Package TechniumNavigation -Version 1.1.3
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="TechniumNavigation" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TechniumNavigation" Version="1.1.3" />
<PackageReference Include="TechniumNavigation" />
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 TechniumNavigation --version 1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TechniumNavigation, 1.1.3"
#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 TechniumNavigation@1.1.3
#: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=TechniumNavigation&version=1.1.3
#tool nuget:?package=TechniumNavigation&version=1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TechniumNavigation
A navigation library for .NET MAUI applications that provides simplified navigation patterns and parameter passing capabilities.
Features
- Simple navigation service with type-safe parameter passing
- Page registration and management
- Navigation helpers and extensions
- Support for iOS and Android platforms
- Built-in navigation parameters handling
Installation
Install the package via NuGet Package Manager:
Install-Package TechniumNavigation
Or via .NET CLI:
dotnet add package TechniumNavigation
Usage
Basic Navigation
// Navigate to MainPage
await _navigationService.NavigateAsync("Main");
// or
await _navigationService.NavigateAsync("MainPage");
// Navigate with parameters to UserDetailPage
var parameters = new NavigationParameters();
parameters.Add("userId", 123);
await _navigationService.NavigateAsync("UserDetail", parameters);
// or
await _navigationService.NavigateAsync("UserDetailPage", parameters);
Page Registration
// Register pages in your MauiProgram.cs
public static class MauiProgram
{
public static MauiApp CreateMauiApp()
{
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseCustomNavigation(navigationBuilder =>
{
// Register pages with their view models (optional)
navigationBuilder.RegisterPage<NavigationPage>();
navigationBuilder.RegisterPage<MainPage, MainPageViewModel>();
// Assign the LoaderPage as the initial page
navigationBuilder.MainPage = NavigationConstants.Loader;
})
return builder.Build();
}
}
App configuration
<navigation:TechniumApp
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:navigation="clr-namespace:TechniumNavigation;assembly=TechniumNavigation">
public partial class App : TechniumApp
{
public App()
{
InitializeComponent();
}
}
API Reference
INavigationService
The main navigation service interface providing:
NavigateAsync(string path, INavigationParameters parameters = null)
- Navigate with parametersGoBackAsync(INavigationParameters parameters = null)
- Navigate back in the navigation stackGoBackToRootAsync(INavigationParameters parameters = null)
- Navigate back to the root page
NavigationParameters
Type-safe parameter container for passing data between pages.
License
This project is licensed under the MIT License.
Product | Versions 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-ios18.0 is compatible. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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.
-
net8.0
- Microsoft.Maui.Controls (>= 8.0.92)
- Mopups (>= 1.3.4)
-
net8.0-android34.0
- Microsoft.Maui.Controls (>= 8.0.92)
- Mopups (>= 1.3.4)
-
net8.0-ios18.0
- Microsoft.Maui.Controls (>= 8.0.92)
- Mopups (>= 1.3.4)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 1.1.2: Updated to .NET 8 and fixed obsolete API warnings.