Plugin.WinUI.MVVMExpress.Core
1.0.1
dotnet add package Plugin.WinUI.MVVMExpress.Core --version 1.0.1
NuGet\Install-Package Plugin.WinUI.MVVMExpress.Core -Version 1.0.1
<PackageReference Include="Plugin.WinUI.MVVMExpress.Core" Version="1.0.1" />
<PackageVersion Include="Plugin.WinUI.MVVMExpress.Core" Version="1.0.1" />
<PackageReference Include="Plugin.WinUI.MVVMExpress.Core" />
paket add Plugin.WinUI.MVVMExpress.Core --version 1.0.1
#r "nuget: Plugin.WinUI.MVVMExpress.Core, 1.0.1"
#:package Plugin.WinUI.MVVMExpress.Core@1.0.1
#addin nuget:?package=Plugin.WinUI.MVVMExpress.Core&version=1.0.1
#tool nuget:?package=Plugin.WinUI.MVVMExpress.Core&version=1.0.1
Plugin.WinUI.MVVMExpress.Core
UI-framework-free MVVM primitives for .NET. No WPF or MAUI reference.
ObservableModel, ViewModel lifecycle, async commands, AsyncState<T>, Outcome, messaging, INavigator, ICache, and IAuthState.
public sealed class HomeViewModel : ViewModel
{
public AsyncState<IReadOnlyList<Product>> Products { get; } = new();
public AsyncModelCommand RefreshCommand { get; }
public HomeViewModel(ICatalog catalog)
{
RefreshCommand = new AsyncModelCommand(
ct => Products.LoadAsync(token => catalog.ListAsync(token), ct));
}
}
Install
dotnet add package Plugin.WinUI.MVVMExpress.Core
Target framework: net10.0. Version 1.0.1.
services.AddMvvmExpress(); // tests and shared libraries
WPF apps also add Plugin.WinUI.MVVMExpress and call UseWinUIMvvmExpress().
Do not call MessageBox.Show from a ViewModel. Use IDialogs / INavigator.
License: MIT. Niladri Padhy / MauiEssentials.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Microsoft.Extensions.DependencyInjection (>= 10.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Plugin.WinUI.MVVMExpress.Core:
| Package | Downloads |
|---|---|
|
Plugin.WinUI.MVVMExpress.Testing
LeakProbe, ScaleProfile, FakeDialogs, FakeNavigator, FakeMainThread, FakeConnectivity, FakeMessageHub, and ScopedNavigator for unit-testing Plugin.WinUI.MVVMExpress ViewModels. |
|
|
Plugin.WinUI.MVVMExpress.Pagination
PagedCollection, SnapshotCollection, and SearchQuery for Plugin.WinUI.MVVMExpress lists. |
|
|
Plugin.WinUI.MVVMExpress
WinUI 3 host for MVVMExpress: UseWinUIMvvmExpress, DispatcherQueueMainThread, window context, and Loaded/Unloaded ViewModel lifecycle. Depends on Plugin.WinUI.MVVMExpress.Core. |
|
|
Plugin.WinUI.MVVMExpress.Validation
IValidator and DataAnnotationsValidator for Plugin.WinUI.MVVMExpress. FluentValidation remains an optional app-level adapter. |
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.1: NuGet README files use real markdown line breaks so the gallery renders.