MeshWeaver.Connection.SignalR
2.5.0
This package has been removed from MeshWeaver 3.x. See https://github.com/Systemorph/MeshWeaver for the current architecture.
dotnet add package MeshWeaver.Connection.SignalR --version 2.5.0
NuGet\Install-Package MeshWeaver.Connection.SignalR -Version 2.5.0
<PackageReference Include="MeshWeaver.Connection.SignalR" Version="2.5.0" />
<PackageVersion Include="MeshWeaver.Connection.SignalR" Version="2.5.0" />
<PackageReference Include="MeshWeaver.Connection.SignalR" />
paket add MeshWeaver.Connection.SignalR --version 2.5.0
#r "nuget: MeshWeaver.Connection.SignalR, 2.5.0"
#:package MeshWeaver.Connection.SignalR@2.5.0
#addin nuget:?package=MeshWeaver.Connection.SignalR&version=2.5.0
#tool nuget:?package=MeshWeaver.Connection.SignalR&version=2.5.0
MeshWeaver.Connection.SignalR
Overview
MeshWeaver.Connection.SignalR enables external connections to the MeshWeaver data mesh using SignalR. This library provides the client-side implementation for connecting message hubs over SignalR transport.
Features
- Connectivity for SignalR
- Connection management
- Authentication and authorization
- Transport protocols
- Connection pooling
- Retry and fallback mechanisms
- Diagnostics and monitoring
Usage
Basic Connection
// Create a message hub with SignalR connection
var client = serviceProvider.CreateMessageHub(
new SignalRAddress(),
config => config.UseSignalRClient(SignalRUrl)
);
Request-Response Pattern
// Get target hub address
var targetAddress = Host.Services.GetRequiredService<IMessageHub>().Address;
// Send request and await response
var response = await client.AwaitResponse(
new PingRequest(),
o => o.WithTarget(targetAddress)
);
Configuration
The SignalR client can be configured during hub creation:
config => config
.UseSignalRClient(SignalRUrl)
// Additional SignalR options can be configured here
Connection Types
- REST API connections
- Real-time messaging
- Database connections
- Service integration points
- External system interfaces
Integration
- Works with MeshWeaver.Mesh.Contract for mesh addressing
- Integrates with MeshWeaver.Messaging.Hub for message routing
Related Projects
- MeshWeaver.Messaging - Messaging infrastructure
- MeshWeaver.Data - Data persistence
See Also
Refer to the main MeshWeaver documentation for more information about external mesh connections.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 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. |
-
net9.0
- MeshWeaver.Hosting (>= 2.5.0)
- MeshWeaver.Mesh.Contract (>= 2.5.0)
- MeshWeaver.Messaging.Hub (>= 2.5.0)
- Microsoft.AspNetCore.SignalR.Client (>= 9.0.9)
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 |
|---|