NuExt.Minimal.Mvvm.Desktop 0.9.6

Prefix Reserved
dotnet add package NuExt.Minimal.Mvvm.Desktop --version 0.9.6
                    
NuGet\Install-Package NuExt.Minimal.Mvvm.Desktop -Version 0.9.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="NuExt.Minimal.Mvvm.Desktop" Version="0.9.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NuExt.Minimal.Mvvm.Desktop" Version="0.9.6" />
                    
Directory.Packages.props
<PackageReference Include="NuExt.Minimal.Mvvm.Desktop" />
                    
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 NuExt.Minimal.Mvvm.Desktop --version 0.9.6
                    
#r "nuget: NuExt.Minimal.Mvvm.Desktop, 0.9.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 NuExt.Minimal.Mvvm.Desktop@0.9.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=NuExt.Minimal.Mvvm.Desktop&version=0.9.6
                    
Install as a Cake Addin
#tool nuget:?package=NuExt.Minimal.Mvvm.Desktop&version=0.9.6
                    
Install as a Cake Tool

NuExt.Minimal.Mvvm.Desktop

NuExt.Minimal.Mvvm.Desktop is a platform-agnostic base layer for desktop MVVM applications. It combines NuExt.Minimal.Mvvm with NuExt.System and holds the parts that are useful for any UI stack - WPF, Avalonia, WinUI, MAUI - without referencing a single UI framework.

NuGet Ask DeepWiki Build License Downloads

Why NuExt.Minimal.Mvvm.Desktop?

  • Deterministic lifecycle - InitializableBase provides an idempotent Initialize / Uninitialize pair with matching cleanup.
  • Change tracking - ChangeTrackingBase adds IChangeTracking, AcceptChanges, and a disposable suspended tracking scope.
  • Settings - JSON settings objects (SettingsBase + ISettingsService) and flat key/value settings (KeyValueSetting + KeyValueSettingCollection) stay separate on purpose.
  • No UI framework - no WPF, Avalonia, WinUI, or MAUI reference, so every desktop stack can share the same layer.
  • Allocation-conscious models - change tracking, notifications, and settings conversion avoid hidden allocations in hot paths.

API Overview

  • InitializableBase: idempotent Initialize / Uninitialize lifecycle on top of BindableBase.
  • ChangeTrackingBase: IChangeTracking with AcceptChanges and suspended tracking.
  • SettingsBase: strongly typed settings object with change tracking, read-only mode, unknown-JSON preservation, and reflection access by property name.
  • ISettingsService: loads and saves SettingsBase to JSON files.
  • KeyValueSetting: a single named setting stored as a raw string with an explicit Type, typed accessors, and GetValue<T>().
  • KeyValueSettingCollection: change-tracked collection of KeyValueSetting that raises SettingChanged.
  • SettingChangedEventArgs: notification payload for a changed setting value.
  • ExpandableBase: IExpandable support.
  • JsonObjectStateSerializer: serializes and restores object state as JSON, keeping unrecognized properties.
  • EnvironmentServiceBase: application directories - base, config, app data, working, logs, settings.

Settings

The two settings pipelines are intentionally separate.

  • SettingsBase with ISettingsService persists a strongly typed object graph as JSON.
  • KeyValueSetting with KeyValueSettingCollection models flat key/value rows: each value is a raw string converted on demand using ValueType, which is what a database-backed settings table stores.

Compatibility

  • .NET Standard 2.0+, .NET 8/9/10/11, and .NET Framework 4.6.2+
  • Works with WPF, Avalonia, WinUI, and MAUI applications
  • Does not reference any UI framework

Installation

Via NuGet:

dotnet add package NuExt.Minimal.Mvvm.Desktop

Or via Visual Studio:

  1. Go to Tools -> NuGet Package Manager -> Manage NuGet Packages for Solution....
  2. Search for NuExt.Minimal.Mvvm.Desktop.
  3. Click "Install".

Ecosystem

Contributing

Issues and PRs are welcome. Keep changes minimal and performance-conscious.

License

MIT. See LICENSE.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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 is compatible.  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 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.  net11.0 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 is compatible.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NuExt.Minimal.Mvvm.Desktop:

Package Downloads
NuExt.Minimal.Mvvm.Wpf

A lightweight WPF add-on for NuExt.Minimal.Mvvm, providing view resolution, dispatcher-aware UI services, dialogs, documents, window lifecycle management, settings, and deterministic cleanup.

NuExt.Minimal.Mvvm.Desktop.Persistence

SQLite persistence layer for desktop MVVM applications, combining NuExt.Minimal.Mvvm.Desktop with NuExt.System.Data.SQLite: key/value settings DAL, application version storage, the application settings migration, and a database initializer.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.6 0 11/24/2026
0.9.5 0 11/23/2026