SquidStd.Messaging.Abstractions
0.25.0
dotnet add package SquidStd.Messaging.Abstractions --version 0.25.0
NuGet\Install-Package SquidStd.Messaging.Abstractions -Version 0.25.0
<PackageReference Include="SquidStd.Messaging.Abstractions" Version="0.25.0" />
<PackageVersion Include="SquidStd.Messaging.Abstractions" Version="0.25.0" />
<PackageReference Include="SquidStd.Messaging.Abstractions" />
paket add SquidStd.Messaging.Abstractions --version 0.25.0
#r "nuget: SquidStd.Messaging.Abstractions, 0.25.0"
#:package SquidStd.Messaging.Abstractions@0.25.0
#addin nuget:?package=SquidStd.Messaging.Abstractions&version=0.25.0
#tool nuget:?package=SquidStd.Messaging.Abstractions&version=0.25.0
<h1 align="center">SquidStd.Messaging.Abstractions</h1>
Transport-agnostic messaging contracts for SquidStd. It defines the typed queue facade
(IMessageQueue), the low-level provider/serializer/metrics contracts, the message-listener interfaces,
and the shared MessageQueue facade plus default serializer and metrics. Pick a transport
implementation (in-memory or RabbitMQ) from a companion package.
Install
dotnet add package SquidStd.Messaging.Abstractions
Usage
using SquidStd.Messaging.Abstractions.Interfaces;
public sealed class OrderCreated { public int Id { get; init; } }
public sealed class OrderListener : IQueueMessageListener<OrderCreated>
{
public void Handle(OrderCreated message) { /* ... */ }
}
// Resolve IMessageQueue from a transport package (in-memory or RabbitMQ).
public async Task PublishAsync(IMessageQueue queue)
=> await queue.PublishAsync("orders", new OrderCreated { Id = 1 });
Key types
| Type | Purpose |
|---|---|
IMessageQueue |
Typed publish/subscribe facade. |
IQueueProvider |
Transport contract (per backend). |
IMessageSerializer |
Payload (de)serialization. |
IQueueMessageListener<T> |
Subscriber callbacks. |
IMessagingMetrics |
Delivery metrics sink. |
MessagingOptions |
Delivery attempts, retry delay, and dead-letter-queue suffix. |
Related
- Tutorial: Messaging
License
MIT - part of SquidStd.
| Product | Versions 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. |
-
net10.0
- SquidStd.Abstractions (>= 0.25.0)
- SquidStd.Core (>= 0.25.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on SquidStd.Messaging.Abstractions:
| Package | Downloads |
|---|---|
|
SquidStd.Messaging.RabbitMq
Package Description |
|
|
SquidStd.Messaging
Package Description |
|
|
SquidStd.Workers
Package Description |
|
|
SquidStd.Workers.Manager
Package Description |
|
|
SquidStd.Mail.Queue
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.25.0 | 0 | 7/6/2026 |
| 0.24.1 | 0 | 7/6/2026 |
| 0.24.0 | 0 | 7/6/2026 |
| 0.23.0 | 46 | 7/4/2026 |
| 0.22.0 | 46 | 7/4/2026 |
| 0.21.0 | 56 | 7/3/2026 |
| 0.20.0 | 56 | 7/3/2026 |
| 0.19.0 | 61 | 7/3/2026 |
| 0.18.0 | 59 | 7/3/2026 |
| 0.17.0 | 69 | 7/3/2026 |
| 0.16.0 | 63 | 7/3/2026 |
| 0.15.0 | 97 | 7/2/2026 |
| 0.14.1 | 102 | 7/2/2026 |
| 0.14.0 | 105 | 7/2/2026 |
| 0.13.0 | 103 | 7/2/2026 |
| 0.12.0 | 103 | 7/2/2026 |
| 0.11.0 | 110 | 7/2/2026 |
| 0.10.0 | 130 | 6/30/2026 |
| 0.9.0 | 166 | 6/29/2026 |
| 0.8.0 | 159 | 6/28/2026 |