Polecat.AspNetCore
5.21.0
See the version list below for details.
dotnet add package Polecat.AspNetCore --version 5.21.0
NuGet\Install-Package Polecat.AspNetCore -Version 5.21.0
<PackageReference Include="Polecat.AspNetCore" Version="5.21.0" />
<PackageVersion Include="Polecat.AspNetCore" Version="5.21.0" />
<PackageReference Include="Polecat.AspNetCore" />
paket add Polecat.AspNetCore --version 5.21.0
#r "nuget: Polecat.AspNetCore, 5.21.0"
#:package Polecat.AspNetCore@5.21.0
#addin nuget:?package=Polecat.AspNetCore&version=5.21.0
#tool nuget:?package=Polecat.AspNetCore&version=5.21.0
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.22.0 | 23 | 9/2/2026 |
| 5.21.1 | 30 | 9/2/2026 |
| 5.21.0 | 81 | 8/30/2026 |
| 5.20.0 | 88 | 8/26/2026 |
| 5.19.2 | 99 | 8/21/2026 |
| 5.19.1 | 84 | 8/20/2026 |
| 5.19.0 | 85 | 8/18/2026 |
| 5.18.0 | 97 | 8/18/2026 |
| 5.17.0 | 84 | 8/17/2026 |
| 5.16.0 | 107 | 8/16/2026 |
| 5.15.1 | 88 | 8/15/2026 |
| 5.15.0 | 89 | 8/15/2026 |
| 5.14.0 | 91 | 8/15/2026 |
| 5.13.0 | 91 | 8/14/2026 |
| 5.12.0 | 95 | 8/11/2026 |
| 5.11.0 | 100 | 8/8/2026 |
| 5.10.0 | 99 | 8/3/2026 |
| 5.9.1 | 112 | 7/31/2026 |
| 5.9.0 | 100 | 7/30/2026 |
| 5.8.0 | 104 | 7/30/2026 |