MyNet.UI
19.6.0
dotnet add package MyNet.UI --version 19.6.0
NuGet\Install-Package MyNet.UI -Version 19.6.0
<PackageReference Include="MyNet.UI" Version="19.6.0" />
<PackageVersion Include="MyNet.UI" Version="19.6.0" />
<PackageReference Include="MyNet.UI" />
paket add MyNet.UI --version 19.6.0
#r "nuget: MyNet.UI, 19.6.0"
#:package MyNet.UI@19.6.0
#addin nuget:?package=MyNet.UI&version=19.6.0
#tool nuget:?package=MyNet.UI&version=19.6.0
<div align="center">
MyNet.UI
<img src="MyNetUI.png" alt="MyNet.UI" width="96" height="96" />
UI-framework-agnostic presentation layer: view models, shell, dialogs, navigation, notifications, and toasts. You provide concrete UI (WPF, Avalonia, etc.).
</div>
<div align="center">
</div>
Features
| Feature | Description |
|---|---|
| Navigation | View locators and navigation services |
| Dialogs | Presenter abstraction and shell host patterns |
| Notifications | Toast and notification managers for MVVM |
| Theming | Contracts implemented by your UI host (WPF, Avalonia, etc.) |
Installation
dotnet add package MyNet.UI
Quick start (DI)
using Microsoft.Extensions.DependencyInjection;
using MyNet.UI;
using MyNet.UI.Dialogs;
using MyNet.UI.Locators;
var services = new ServiceCollection();
services.AddUi(b => b
.ConfigureViewLocators(r => r.Register(typeof(MainViewModel), typeof(MainView)))
.ConfigureDialogs(d => d.AddPresenter<MyDialogPresenter>()));
var provider = services.BuildServiceProvider();
provider.UseUi();
Or register modules individually (AddViewLocators, AddDialogs, AddNavigation, …) — see the UI guide.
- Dialogs: implement
IDialogPresenter— see Dialogs guide - Notifications / toasts: bind UI to
INotificationsManager.NotificationsandIToastManager.Toasts— see Notifications & toasts guide for the toast overlay control - Shell: register
ShellHostViewModelin your host - Navigation: implement
IViewHost+ middleware in your host — see Navigation guide - Theming: register
IThemeService+IThemeBaseRegistryin the host;UseUi()configuresThemeManagerwhen both are present — see Theming guide
Documentation
- UI presentation layer — locators
- Navigation — journal, guards, client view host
- Dialogs
- Notifications & toasts
- Shell
- Theming
- Documentation index
Related packages
<div align="center">
<sub>
Copyright © 2016-2026 - Stéphane ANDRE. All Rights Reserved.
<br/>
Released under the MIT License.
</sub>
</div>
| 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.Abstractions (>= 11.0.0-preview.4.26230.115)
- MyNet.Collections (>= 19.6.0)
- MyNet.Globalization (>= 19.6.0)
- MyNet.IO (>= 19.6.0)
- MyNet.Observable (>= 19.6.0)
- MyNet.Utilities (>= 19.6.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on MyNet.UI:
| Package | Downloads |
|---|---|
|
MyNet.Wpf
This library is a comprehensive class library designed to simplify the implementation of common GUI functionalities in .NET applications. |
|
|
MyNet.Avalonia.UI
Custom user interface components and controls for Avalonia applications, providing a rich set of features and functionality. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 19.6.0 | 53 | 6/6/2026 |
| 19.5.2 | 53 | 6/5/2026 |
| 19.5.1 | 51 | 6/5/2026 |
| 19.5.0 | 51 | 6/5/2026 |
| 19.3.6 | 55 | 6/3/2026 |
| 19.3.5 | 54 | 6/3/2026 |
| 19.3.4 | 54 | 6/3/2026 |
| 19.3.3 | 55 | 6/2/2026 |
| 19.3.2 | 54 | 6/2/2026 |
| 19.3.1 | 52 | 6/2/2026 |
| 19.3.0 | 62 | 6/1/2026 |
| 19.2.1 | 55 | 5/31/2026 |
| 19.2.0 | 60 | 5/31/2026 |
| 19.1.0 | 54 | 5/31/2026 |
| 19.0.0 | 60 | 5/29/2026 |
| 18.0.0 | 121 | 4/16/2026 |
| 17.1.0 | 117 | 4/9/2026 |
| 17.0.1 | 112 | 3/18/2026 |
| 17.0.0 | 108 | 3/18/2026 |
| 16.0.2 | 127 | 2/19/2026 |