Scry.Server.Wolverine
0.5.0
dotnet add package Scry.Server.Wolverine --version 0.5.0
NuGet\Install-Package Scry.Server.Wolverine -Version 0.5.0
<PackageReference Include="Scry.Server.Wolverine" Version="0.5.0" />
<PackageVersion Include="Scry.Server.Wolverine" Version="0.5.0" />
<PackageReference Include="Scry.Server.Wolverine" />
paket add Scry.Server.Wolverine --version 0.5.0
#r "nuget: Scry.Server.Wolverine, 0.5.0"
#:package Scry.Server.Wolverine@0.5.0
#addin nuget:?package=Scry.Server.Wolverine&version=0.5.0
#tool nuget:?package=Scry.Server.Wolverine&version=0.5.0
Scry.Server.Wolverine
Dispatches Scry commands through Wolverine. A command from a client is sent to its handler, and the outcome comes back to the client when the handler finishes.
On the Scry server:
builder.Services.AddScry<SampleContext>(
_ =>
{
_.MaxPendingCommands = 100;
_.UseWolverineCommands(_ => _.For<RepriceOrder>());
});
builder.Host.UseWolverine(
_ =>
{
_.AddScryCommandCompletions();
_.PublishMessage<RepriceOrder>().ToRabbitQueue("worker");
});
On the worker:
builder.Host.UseWolverine(
_ =>
{
_.UseScryCommands();
_.Policies.OnAnyException()
.RetryTimes(3)
.Then.MoveToErrorQueue()
.AndScryFailure();
});
The server validates, authorizes and binds the command as it would for an in-process handler, then sends it with the command's id and caller as headers, using the application's own routing. The handler is an ordinary Wolverine handler. Once it has returned, middleware replies to the node that sent the command. When a message ends up in the error queue, AndScryFailure reports the command as failed; add it to the error policy that moves the message there. A handler of a command that has a result returns it with context.SetScryResult(result). Wolverine cascades a handler's return value as messages, so the result is sent separately from it.
It claims no command until told to, since a Wolverine message can be any class. Every command it does not claim stays with its in-process handler.
This package has no change backplane. A handler's writes reach live queries in one of three ways: the notification the server raises when a targeted command completes, a change probe, or the poll.
Docs: Commands
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.EntityFrameworkCore (>= 11.0.0)
- Scry.Server (>= 0.5.0)
- WolverineFx (>= 6.66.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 |
|---|---|---|
| 0.5.0 | 49 | 12/3/2026 |
| 0.4.0 | 97 | 11/20/2026 |
| 0.3.0 | 90 | 11/16/2026 |
| 0.2.0 | 99 | 11/7/2026 |
| 0.1.0 | 97 | 11/3/2026 |
| 0.1.0-beta.15 | 66 | 10/28/2026 |
| 0.1.0-beta.14 | 76 | 10/21/2026 |
| 0.1.0-beta.13 | 62 | 10/7/2026 |
| 0.1.0-beta.12 | 75 | 10/1/2026 |
| 0.1.0-beta.11 | 66 | 9/30/2026 |
| 0.1.0-beta.10 | 75 | 9/24/2026 |