Polecat.AspNetCore
5.19.2
dotnet add package Polecat.AspNetCore --version 5.19.2
NuGet\Install-Package Polecat.AspNetCore -Version 5.19.2
<PackageReference Include="Polecat.AspNetCore" Version="5.19.2" />
<PackageVersion Include="Polecat.AspNetCore" Version="5.19.2" />
<PackageReference Include="Polecat.AspNetCore" />
paket add Polecat.AspNetCore --version 5.19.2
#r "nuget: Polecat.AspNetCore, 5.19.2"
#:package Polecat.AspNetCore@5.19.2
#addin nuget:?package=Polecat.AspNetCore&version=5.19.2
#tool nuget:?package=Polecat.AspNetCore&version=5.19.2
Polecat.AspNetCore
ASP.NET Core helpers for applications built on Polecat, the SQL Server-backed event store in the Critter Stack.
Install
dotnet add package Polecat.AspNetCore
What it gives you
Write event streams straight to the response. WriteStreamState and WriteEvents serialize a
stream's aggregate or its raw events using the store's own serializer, so the wire format matches
what Polecat persists:
app.MapGet("/orders/{id:guid}", (Guid id, HttpContext context, IQuerySession session)
=> context.Response.WriteStreamState<Order>(session, id));
ETag helpers for optimistic concurrency. ETagHelpers formats a stream version — Guid or
long — as an HTTP ETag and checks incoming If-None-Match headers, so a caller can be told
304 Not Modified without you reloading the aggregate.
MCP endpoints. MapPolecatMcp exposes the event store over the Model Context Protocol for
agent-driven exploration of streams and events.
Requirements
- .NET 9 or .NET 10
- A configured Polecat
IDocumentStore— see the Polecat package
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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 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. |
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 |
|---|---|---|
| 5.19.2 | 40 | 8/21/2026 |
| 5.19.1 | 33 | 8/20/2026 |
| 5.19.0 | 72 | 8/18/2026 |
| 5.18.0 | 81 | 8/18/2026 |
| 5.17.0 | 78 | 8/17/2026 |
| 5.16.0 | 100 | 8/16/2026 |
| 5.15.1 | 80 | 8/15/2026 |
| 5.15.0 | 82 | 8/15/2026 |
| 5.14.0 | 82 | 8/15/2026 |
| 5.13.0 | 83 | 8/14/2026 |
| 5.12.0 | 91 | 8/11/2026 |
| 5.11.0 | 91 | 8/8/2026 |
| 5.10.0 | 94 | 8/3/2026 |
| 5.9.1 | 106 | 7/31/2026 |
| 5.9.0 | 97 | 7/30/2026 |
| 5.8.0 | 99 | 7/30/2026 |
| 5.7.1 | 99 | 7/28/2026 |
| 5.7.0 | 100 | 7/26/2026 |
| 5.6.0 | 120 | 7/24/2026 |
| 5.5.0 | 104 | 7/22/2026 |