Biotekno.RabbitMq
8.1.1
dotnet add package Biotekno.RabbitMq --version 8.1.1
NuGet\Install-Package Biotekno.RabbitMq -Version 8.1.1
<PackageReference Include="Biotekno.RabbitMq" Version="8.1.1" />
<PackageVersion Include="Biotekno.RabbitMq" Version="8.1.1" />
<PackageReference Include="Biotekno.RabbitMq" />
paket add Biotekno.RabbitMq --version 8.1.1
#r "nuget: Biotekno.RabbitMq, 8.1.1"
#:package Biotekno.RabbitMq@8.1.1
#addin nuget:?package=Biotekno.RabbitMq&version=8.1.1
#tool nuget:?package=Biotekno.RabbitMq&version=8.1.1
Biotekno.RabbitMq
Türkçe Açıklama
Biotekno.RabbitMq, .NET 8 projelerinde RabbitMQ ile kolayca publish ve consume işlemleri yapmanızı sağlayan, performanslı ve esnek bir NuGet paketidir. Object pooling desteği ile yüksek performanslı mesajlaşma altyapısı sunar.
Kurulum
NuGet üzerinden yükleyin: dotnet add package Biotekno.RabbitMq
appsettings.json Örneği
"RabbitMqSettings": { "Connections": { "DefaultConnection": { "HostName": "localhost", "UserName": "guest", "Password": "guest", "Port": 5672, "VirtualHost": "/", "RequestedHeartbeat": 60, "SslOptionConfigs": { "Enabled": false, "Path": "certPath.p12", "Password": "certPassword" } } }, "ConsumerSettings": [ { "Connections": ["DefaultConnection"], "Queue": "test-queue", "ConsumerCount": 1, "Exchange": "test-exchange", "PrefetchCount": 10, "RetryCount": 3 } ] }
Program.cs Entegrasyonu
builder.Services.AddBioteknoRabbitMqServices(builder.Configuration);
Publish Kullanımı
public class MyService { private readonly IMessagePublisher _publisher; public MyService(IMessagePublisher publisher) { _publisher = publisher; } public void Publish() { var data = new { Id = 1, Name = "Test" }; _publisher.PublishMessage(data, "test-queue", "test-exchange"); } }
Consume Kullanımı
Consumer için kendi BackgroundService veya Worker sınıfınızı oluşturup IMessageConsumer arayüzünü kullanabilirsiniz.
English Description
Biotekno.RabbitMq is a high-performance and flexible NuGet package for .NET 8 projects to easily publish and consume messages with RabbitMQ. It provides object pooling for efficient channel management.
Installation
Install via NuGet: dotnet add package Biotekno.RabbitMq
appsettings.json Example
"RabbitMqSettings": { "Connections": { "DefaultConnection": { "HostName": "localhost", "UserName": "guest", "Password": "guest", "Port": 5672, "VirtualHost": "/", "RequestedHeartbeat": 60, "SslOptionConfigs": { "Enabled": false, "Path": "certPath.p12", "Password": "certPassword" } } }, "ConsumerSettings": [ { "Connections": ["DefaultConnection"], "Queue": "test-queue", "ConsumerCount": 1, "Exchange": "test-exchange", "PrefetchCount": 10, "RetryCount": 3 } ] }
Program.cs Integration
builder.Services.AddBioteknoRabbitMqServices(builder.Configuration);
Publish Usage
public class MyService { private readonly IMessagePublisher _publisher; public MyService(IMessagePublisher publisher) { _publisher = publisher; } public void Publish() { var data = new { Id = 1, Name = "Test" }; _publisher.PublishMessage(data, "test-queue", "test-exchange"); } }
Consume Usage
For consumers, implement your own BackgroundService or Worker class using the IMessageConsumer interface.
Daha fazla bilgi için kaynak kodu inceleyebilirsiniz. / For more details, see the source code.
| 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 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. |
-
net8.0
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 8.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.3)
- Microsoft.Extensions.ObjectPool (>= 8.0.17)
- Microsoft.Extensions.Options (>= 8.0.2)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)
- RabbitMQ.Client (>= 6.8.1)
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 |
|---|---|---|
| 8.1.1 | 321 | 10/23/2025 |
| 8.1.0.1 | 213 | 9/12/2025 |
| 8.1.0 | 233 | 9/10/2025 |
| 6.0.10 | 201 | 10/10/2025 |
| 6.0.8 | 253 | 11/18/2024 |
| 6.0.7 | 257 | 9/17/2024 |
| 6.0.6 | 222 | 6/7/2024 |
| 6.0.5 | 287 | 4/3/2024 |
| 6.0.4 | 244 | 2/2/2024 |
| 6.0.3 | 467 | 12/15/2023 |
| 6.0.2.7 | 251 | 10/13/2023 |
| 6.0.2.6 | 199 | 10/13/2023 |
| 6.0.2.5 | 208 | 10/13/2023 |
| 6.0.2.4 | 204 | 10/12/2023 |
| 6.0.2.3 | 205 | 10/4/2023 |
| 6.0.2.2 | 207 | 10/4/2023 |
| 6.0.2.1 | 233 | 9/13/2023 |
8.1.1
- SSL Güncellemeleri yapıldı.