RFRabbitMQRPCClient 1.3.4
dotnet add package RFRabbitMQRPCClient --version 1.3.4
NuGet\Install-Package RFRabbitMQRPCClient -Version 1.3.4
<PackageReference Include="RFRabbitMQRPCClient" Version="1.3.4" />
<PackageVersion Include="RFRabbitMQRPCClient" Version="1.3.4" />
<PackageReference Include="RFRabbitMQRPCClient" />
paket add RFRabbitMQRPCClient --version 1.3.4
#r "nuget: RFRabbitMQRPCClient, 1.3.4"
#:package RFRabbitMQRPCClient@1.3.4
#addin nuget:?package=RFRabbitMQRPCClient&version=1.3.4
#tool nuget:?package=RFRabbitMQRPCClient&version=1.3.4
RFRabbitMQRPCClient
🇺🇸 English | 🇪🇸 Versión en Español Video tutorial
RFRabbitMQRPCClient is a lightweight .NET client designed to consume RPC (Remote Procedure Call) services over RabbitMQ.
It is part of the RFRabbitMQ ecosystem, providing a simple, reliable, and strongly‑typed way to perform synchronous request/response operations.
🚀 Features
- Simplified RPC client built on RabbitMQ.
- Supports .NET 8, .NET 9, and .NET 10.
- Manages:
- Connections and channels
- Reply queues
- Correlation IDs
- Timeouts
- Works seamlessly with the
RFRabbitMQbase library. - Ideal for microservices requiring synchronous responses.
📦 Installation
NuGet
Install-Package RFRabbitMQRPCClient
.NET CLI
dotnet add package RFRabbitMQRPCClient
🔧 Configuration
Add to appsettings.json:
{
"RabbitMQ": {
"HostName": "localhost",
"UserName": "guest",
"Password": "guest",
"QueueName": "rfrpc.queue",
"TimeoutSeconds": 10
}
}
Read configuration:
var config = builder.Configuration.GetSection("RabbitMQ").Get<RabbitMQConfig>();
🖥️ Usage Example
Initialize client
var client = new RpcClient(config);
Send request
string response = await client.CallAsync("Hello server!");
Console.WriteLine(response);
Strongly-typed call
var response = await client.CallAsync<MyRequest, MyResponse>(
new MyRequest { Id = 10 }
);
🔍 Versioning
Current version: 1.3.3
🔗 Dependencies
RFRabbitMQ≥ 1.3.3
📄 License
MIT License.
🌐 Repository
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 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 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
- RFRabbitMQ (>= 1.3.4)
-
net8.0
- RFRabbitMQ (>= 1.3.4)
-
net9.0
- RFRabbitMQ (>= 1.3.4)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RFRabbitMQRPCClient:
| Package | Downloads |
|---|---|
|
RFRabbitMQRPCApp
Librería .NET para publicar y gestionar servicios RPC utilizando RabbitMQ como middleware de mensajería. |
GitHub repositories
This package is not used by any popular GitHub repositories.