Goldie.MauiPlugins.PageResolver 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet add package Goldie.MauiPlugins.PageResolver --version 1.0.6
                    
NuGet\Install-Package Goldie.MauiPlugins.PageResolver -Version 1.0.6
                    
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="Goldie.MauiPlugins.PageResolver" Version="1.0.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Goldie.MauiPlugins.PageResolver" Version="1.0.6" />
                    
Directory.Packages.props
<PackageReference Include="Goldie.MauiPlugins.PageResolver" />
                    
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 Goldie.MauiPlugins.PageResolver --version 1.0.6
                    
#r "nuget: Goldie.MauiPlugins.PageResolver, 1.0.6"
                    
#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 Goldie.MauiPlugins.PageResolver@1.0.6
                    
#: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=Goldie.MauiPlugins.PageResolver&version=1.0.6
                    
Install as a Cake Addin
#tool nuget:?package=Goldie.MauiPlugins.PageResolver&version=1.0.6
                    
Install as a Cake Tool

MAUI PageResolver

A simple and lightweight page resolver for use in .NET MAUI projects.

If you want a simple page resolver with DI without using a full MVVM framework (or if you want to use MVU), this package will let you navigate to fully resolved pages, with view models and dependencies, by calling:

await Navigation.PushAsync<MyPage>();

Getting Started

Check out the for full instructions in the wiki on using PageResolver and using auto-dependency registration.

Notes

Thanks to William Liebenberg for his input getting this off the ground.
Please note .NET MAUI has not been released yet, so some bumps should be expected. If you find any problems with PageResolver, feedback, issues or pull requests would be most welcome.

TODO

  • Use reflection / code generation to automatically register pages and view models
  • (Pending C# 10) Add a global using for this package
    • Added to readme
  • Set up GitHub Action to publish package
  • Enable page parameters to be passed
  • (Possibly) change namespace
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Goldie.MauiPlugins.PageResolver:

Package Downloads
Goldie.MauiPlugins.PageResolver.MopupsExtensions

Mopups extensions for PageResolver - push popup pages with resolved dependencies

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Goldie.MauiPlugins.PageResolver:

Repository Stars
matt-goldman/MauiCleanTodos
Clean Architecture with ASP.NET Core, .NET MAUI and Blazor
Version Downloads Last Updated
2.5.4 2,018 2/4/2025
2.5.3 285 12/27/2024
2.5.2 1,625 11/4/2024
2.5.1 895 11/2/2024
2.5.0 355 10/18/2024
2.0.1 4,463 11/18/2023
2.0.0 192 11/13/2023
2.0.0-preview1 121 10/13/2023
1.1.1 5,039 1/14/2023
1.1.0 344 1/14/2023
1.0.7 1,108 8/13/2022
1.0.6 549 6/26/2022
1.0.5 427 3/8/2022
1.0.5-preview1 196 3/5/2022
1.0.4 227 2/26/2022
1.0.3 202 2/26/2022
1.0.2 229 2/14/2022
1.0.1 333 10/23/2021
1.0.0 344 6/17/2021
1.0.0-build 211 8/13/2022