YellowMacaroni.Redis.Queue
1.0.3
dotnet add package YellowMacaroni.Redis.Queue --version 1.0.3
NuGet\Install-Package YellowMacaroni.Redis.Queue -Version 1.0.3
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="YellowMacaroni.Redis.Queue" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="YellowMacaroni.Redis.Queue" Version="1.0.3" />
<PackageReference Include="YellowMacaroni.Redis.Queue" />
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 YellowMacaroni.Redis.Queue --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: YellowMacaroni.Redis.Queue, 1.0.3"
#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 YellowMacaroni.Redis.Queue@1.0.3
#: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=YellowMacaroni.Redis.Queue&version=1.0.3
#tool nuget:?package=YellowMacaroni.Redis.Queue&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
YellowMacaroni.Redis.Queue
A .NET package that provides a simple way to work with Redis queues.
How to use
Base
var client = new QueueClient($"{host}:{port},password={password},abortConnect=false");
// Create a queue with the name "myqueue" and the type of data it will hold (in this case, object for anything)
var queue = new RedisQueue<object>(client, "myqueue");
Client
// This doesn't expect a response from the server
queue.Enqueue(new { message = "hello world!" });
// This expects a response from the server (the type param is the return type)
var response = await queue.Enqueue<object>(new { message = "hello world!" });
Server (With Response)
await queue.ListenForMessagesWithCallback(
async (entry) =>
{
var message = queue.GetDataFromEntry(entry);
if (message is null) return QueueResponse<string>.Retry();
Console.WriteLine(message.message);
return QueueResponse<string>.Success(new { message = "got your message!" });
},
cts.Token
);
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
- StackExchange.Redis (>= 3.0.0)
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 |
|---|---|---|
| 1.0.3 | 96 | 8/12/2026 |
| 1.0.2-preview.3 | 59 | 8/12/2026 |
| 1.0.1 | 103 | 8/11/2026 |
| 1.0.0 | 148 | 7/7/2026 |