SignalR.Proximity.Core 7.0.4

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

SignalR.Proximity

SignalR.Proximity is a .Net library

Usage

Instantiate connexions

using SignalR.Proximity;

var cnx = endPointProvider.Connect<IMyNotificationContract>();
await cnx.StartAsync();

Send messages

await cnx.Notifier.ToAll().NotifyAsync(t=> t.MyNotification("hello word"));
//or
await cnx.Notifier
         //Define here your target scope
         .ToGroups("My groupe","Auther Groupe","...") 
         //'t' is an proxy instance of IMyNotificationContract 
         .NotifyAsync(t => t.MyNotification("hello word"));

Receive messages

using SignalR.Proximity;

public class SampleClass : IMyNotificationContract
{
  ...
  cnx.Client.Attach(this);
  await cnx.Client.JoinGroupsAsync("My groupe");
  ..
  public void MyNotification(string message)
  {
      //Receive message callback here!
  }
}

Go to samples for more details..

Contributing

Working progress..

How to get it

Use NuGet Package Manager to install the package or use any of the following commands in NuGet Package Manager Console.

Nuget.org client

PM> Install-Package SignalR.Proximity

Nuget.org web app

PM> Install-Package SignalR.Proximity.Hosting

Status

CI status

Publish status

License

MIT

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 was computed.  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 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 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 SignalR.Proximity.Core:

Package Downloads
SignalR.Proximity

.Net SignalR Without Hub Implementations!

SignalR.Proximity.Hosting

.Net SignalR Without Hub Implementations!

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.0.4 387 7/25/2023
7.0.3 493 2/19/2023
7.0.0 699 11/19/2022
1.0.9 546 12/29/2021
1.0.8 527 12/29/2021
1.0.7 506 12/29/2021
1.0.6 526 12/24/2021
1.0.5 506 12/23/2021
1.0.4 495 12/23/2021
1.0.3 496 12/23/2021
1.0.2 469 12/23/2021
1.0.1 497 12/23/2021 1.0.1 is deprecated because it has critical bugs.