Polecat.AspNetCore 6.0.0-alpha.3

This is a prerelease version of Polecat.AspNetCore.
There is a newer prerelease version of this package available.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Polecat.AspNetCore" Version="6.0.0-alpha.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Polecat.AspNetCore" Version="6.0.0-alpha.3" />
                    
Directory.Packages.props
<PackageReference Include="Polecat.AspNetCore" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Polecat.AspNetCore --version 6.0.0-alpha.3
                    
#r "nuget: Polecat.AspNetCore, 6.0.0-alpha.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Polecat.AspNetCore@6.0.0-alpha.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Polecat.AspNetCore&version=6.0.0-alpha.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Polecat.AspNetCore&version=6.0.0-alpha.3&prerelease
                    
Install as a Cake Tool

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
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

  • net11.0

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
Loading failed