Resrcify.SharedKernel.UnitOfWork.Web
4.1.0
See the version list below for details.
dotnet add package Resrcify.SharedKernel.UnitOfWork.Web --version 4.1.0
NuGet\Install-Package Resrcify.SharedKernel.UnitOfWork.Web -Version 4.1.0
<PackageReference Include="Resrcify.SharedKernel.UnitOfWork.Web" Version="4.1.0" />
<PackageVersion Include="Resrcify.SharedKernel.UnitOfWork.Web" Version="4.1.0" />
<PackageReference Include="Resrcify.SharedKernel.UnitOfWork.Web" />
paket add Resrcify.SharedKernel.UnitOfWork.Web --version 4.1.0
#r "nuget: Resrcify.SharedKernel.UnitOfWork.Web, 4.1.0"
#:package Resrcify.SharedKernel.UnitOfWork.Web@4.1.0
#addin nuget:?package=Resrcify.SharedKernel.UnitOfWork.Web&version=4.1.0
#tool nuget:?package=Resrcify.SharedKernel.UnitOfWork.Web&version=4.1.0
Resrcify.SharedKernel.UnitOfWork.Web
Admin endpoints for the outbox of Resrcify.SharedKernel.UnitOfWork, so an operator never needs hand-written SQL to
see what is stuck or to try it again.
app.MapOutboxAdministration<AppDbContext>() // under /admin/outbox
.RequireAuthorization(policy => policy.RequireRole("Admin"));
| Endpoint | What it does |
|---|---|
GET /admin/outbox |
Messages waiting, retrying and given up, in all and per event type (with its lane). |
GET /admin/outbox/given-up?type=&take= |
The messages that gave up, most recent first (50 by default, at most 500). |
GET /admin/outbox/messages/{id} |
A message with its content, where it stands and its last error. |
POST /admin/outbox/messages/{id}/retry |
Tries a message that gave up again (204), or 404 when it didn't give up. |
POST /admin/outbox/given-up/retry?type= |
Tries every message that gave up (of one type when given) again. |
The endpoints require an authenticated caller on their own; add the admin role (or policy) on the returned group. Messages hold event content: never open these endpoints to everyone. A retried message starts from its first try, keeps its last error until the next one, and the outbox is woken so it is handled at once.
The same operations are available in code as OutboxAdministration<TDbContext> (scoped, registered by
AddOutboxProcessing and AddOutboxLanes), for a service that exposes them another way.
| 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
- Resrcify.SharedKernel.UnitOfWork (>= 4.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.