Polecat.AspNetCore
6.0.0-alpha.3
See the version list below for details.
dotnet add package Polecat.AspNetCore --version 6.0.0-alpha.3
NuGet\Install-Package Polecat.AspNetCore -Version 6.0.0-alpha.3
<PackageReference Include="Polecat.AspNetCore" Version="6.0.0-alpha.3" />
<PackageVersion Include="Polecat.AspNetCore" Version="6.0.0-alpha.3" />
<PackageReference Include="Polecat.AspNetCore" />
paket add Polecat.AspNetCore --version 6.0.0-alpha.3
#r "nuget: Polecat.AspNetCore, 6.0.0-alpha.3"
#:package Polecat.AspNetCore@6.0.0-alpha.3
#addin nuget:?package=Polecat.AspNetCore&version=6.0.0-alpha.3&prerelease
#tool nuget:?package=Polecat.AspNetCore&version=6.0.0-alpha.3&prerelease
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 (deprecated). MapPolecatMcp exposes the event store over the Model Context
Protocol for agent-driven exploration of streams and events. It is marked [Obsolete] and will be
removed in the next major version; use MapPolecatMcpServer from the Polecat.Mcp package instead.
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 | 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. net11.0 is compatible. |
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 |
|---|---|---|
| 6.0.0-rc.1 | 46 | 11/22/2026 |
| 6.0.0-alpha.9 | 49 | 11/21/2026 |
| 6.0.0-alpha.8 | 46 | 11/20/2026 |
| 6.0.0-alpha.7 | 43 | 11/18/2026 |
| 6.0.0-alpha.6 | 45 | 11/18/2026 |
| 6.0.0-alpha.5 | 46 | 11/18/2026 |
| 6.0.0-alpha.4 | 52 | 11/16/2026 |
| 6.0.0-alpha.3 | 56 | 11/16/2026 |
| 6.0.0-alpha.2 | 52 | 11/15/2026 |
| 6.0.0-alpha.1 | 52 | 11/11/2026 |
| 5.50.0 | 86 | 11/9/2026 |
| 5.49.0 | 96 | 11/6/2026 |
| 5.48.0 | 106 | 11/3/2026 |
| 5.47.0 | 99 | 10/31/2026 |
| 5.46.1 | 119 | 10/25/2026 |
| 5.46.0 | 99 | 10/24/2026 |
| 5.45.0 | 106 | 10/23/2026 |
| 5.44.0 | 110 | 10/23/2026 |
| 5.43.0 | 104 | 10/20/2026 |
| 5.42.1 | 118 | 10/15/2026 |