Maui.Plugins.PageResolver
Maui.Plugins.PageResolver copied to clipboard
A simple and lightweight page resolver for use in .NET MAUI projects
Watch the video:
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.
TODO
- [x] Use reflection / code generation to automatically register pages and view models
- [x] (Pending C# 10) Add a global using for this package
- [x] Added to readme
- [x] Set up GitHub Action to publish package
- [x] Enable page parameters to be passed
- [ ] (Possibly) change namespace