MyNet.Messaging
19.6.0
dotnet add package MyNet.Messaging --version 19.6.0
NuGet\Install-Package MyNet.Messaging -Version 19.6.0
<PackageReference Include="MyNet.Messaging" Version="19.6.0" />
<PackageVersion Include="MyNet.Messaging" Version="19.6.0" />
<PackageReference Include="MyNet.Messaging" />
paket add MyNet.Messaging --version 19.6.0
#r "nuget: MyNet.Messaging, 19.6.0"
#:package MyNet.Messaging@19.6.0
#addin nuget:?package=MyNet.Messaging&version=19.6.0
#tool nuget:?package=MyNet.Messaging&version=19.6.0
<div align="center">
MyNet.Messaging
<img src="MyNetMessaging.png" alt="MyNet.Messaging" width="96" height="96" />
Weak-reference in-process messenger for loosely coupled communication between view models and services (MVVM-friendly).
</div>
<div align="center">
</div>
Features
| Feature | Description |
|---|---|
| Weak references | Messenger that avoids view model leaks |
| Messaging | Register, send, and unregister patterns |
| Decoupling | Loose communication without a service locator |
| Standalone | No required MyNet package dependencies |
Installation
dotnet add package MyNet.Messaging
Quick start
using MyNet.Messaging;
public sealed class OrderViewModel
{
public OrderViewModel()
{
Messenger.Default.Register<OrderPlacedMessage>(this, msg => OnOrderPlaced(msg));
}
private void OnOrderPlaced(OrderPlacedMessage msg) { }
}
Messenger.Default.Send(new OrderPlacedMessage(orderId: 42));
Unregister with Messenger.Default.Unregister(this) when the subscriber is disposed.
Related packages
Standalone — no required MyNet dependencies.
Documentation
<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
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 19.6.0 | 0 | 6/6/2026 |
| 19.5.2 | 35 | 6/5/2026 |
| 19.5.1 | 50 | 6/5/2026 |
| 19.5.0 | 40 | 6/5/2026 |
| 19.3.6 | 83 | 6/3/2026 |
| 19.3.5 | 84 | 6/3/2026 |
| 19.3.4 | 83 | 6/3/2026 |
| 19.3.3 | 82 | 6/2/2026 |
| 19.3.2 | 80 | 6/2/2026 |
| 19.3.1 | 75 | 6/2/2026 |
| 19.3.0 | 94 | 6/1/2026 |
| 19.2.1 | 90 | 5/31/2026 |
| 19.2.0 | 93 | 5/31/2026 |
| 19.1.0 | 93 | 5/31/2026 |
| 19.0.0 | 90 | 5/29/2026 |