Install the template pack
dotnet new install Plugin.Uno.MVVMExpress.Templates
dotnet new uno-mvvmexpress -n MyApp
cd MyApp
dotnet test MyApp.Testsnuget.org: Plugin.Uno.MVVMExpress.Templates 1.0.1
GitHub Packages: Plugin.Uno.MVVMExpress.Templates 1.0.1
From the product repo, without installing the nupkg: dotnet new install templates/ and then dotnet new uno-mvvmexpress -n MyApp.
Same commands from the IDE: install the Visual Studio Code or Visual Studio Marketplace listing. The wrappers install the pack and run dotnet new — they do not copy the scaffold.
uno-mvvmexpress app
Short name: uno-mvvmexpress. Creates a Uno Platform Frame host. There is no Shell.
| Included | What you get |
|---|---|
| Main window | Frame named NavigationHost. Do not replace Window.Content with a toast host. |
| Login | ResetAsync to Home after sign-in |
| Home list + details | SnapshotCollection and typed NavigateToAsync |
| Form | UnoFormViewModel screen |
| MyApp.Core + MyApp.Tests | net10.0 ViewModels and tests |
Demo sign-in is demo@mvvmexpress.dev / secret. Production tokens stay on an IAuthState adapter — do not store them on the ViewModel.
uno-mvvmexpress-page item
cd MyApp
dotnet new uno-mvvmexpress-page -n Catalog --namespace MyAppCreates a XAML page, ViewModel, service, AddCatalog(), and {Binding} / Command. Map the route in App startup:
builder.Services.UseUnoMvvmExpress(o => o
.UseFrameNavigation((nav, _) => nav
.Map<LoginViewModel, LoginPage>("login")
.Map<HomeViewModel, HomePage>("home")
.Map<CatalogViewModel, CatalogPage>("catalog"))
.UseDialogs()
.UseAuth<LoginViewModel>());
builder.Services.AddCatalog();After you scaffold
- Do not reconstruct GuardedNavigator — UseAuth<TChallenge>() already wraps it.
- Register an IAuthState adapter. The template uses an in-memory demo.
- Add Validation, Pagination, or Testing only when the screen needs them — the template already references the host set.
- Playground remains the cloneable 15-minute path if you want the in-repo sample instead of a new project.
Getting started walkthrough: Install and first screen
IDE wrappers: VS Code and Visual Studio extensions