MyNet.Messaging 19.6.0

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

<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">

MIT License NuGet .NET

</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.


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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • 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