TicketFlow.HelpCenter.Stores.Postgres
0.1.0-alpha.4.1
This is a prerelease version of TicketFlow.HelpCenter.Stores.Postgres.
dotnet add package TicketFlow.HelpCenter.Stores.Postgres --version 0.1.0-alpha.4.1
NuGet\Install-Package TicketFlow.HelpCenter.Stores.Postgres -Version 0.1.0-alpha.4.1
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="TicketFlow.HelpCenter.Stores.Postgres" Version="0.1.0-alpha.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TicketFlow.HelpCenter.Stores.Postgres" Version="0.1.0-alpha.4.1" />
<PackageReference Include="TicketFlow.HelpCenter.Stores.Postgres" />
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 TicketFlow.HelpCenter.Stores.Postgres --version 0.1.0-alpha.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TicketFlow.HelpCenter.Stores.Postgres, 0.1.0-alpha.4.1"
#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 TicketFlow.HelpCenter.Stores.Postgres@0.1.0-alpha.4.1
#: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=TicketFlow.HelpCenter.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
#tool nuget:?package=TicketFlow.HelpCenter.Stores.Postgres&version=0.1.0-alpha.4.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TicketFlow.HelpCenter.Stores.Postgres
Durable PostgreSQL storage for the TicketFlow help center. PostgresHelpCenterStore implements IHelpCenterStore and
IArticleFeedbackStore over an application-owned NpgsqlDataSource.
- Explicit schema initialization:
await store.InitializeAsync()applies the append-only, checksummedPostgresHelpCenterMigrations.Catalog(componentticketflow.helpcenter) in the data source's current schema. - Every key includes the full workspace scope; keys and indexes use fixed-size
tf_key_v1SHA-256 keys and raw columns are compared. Structural writes per workspace serialize on a transaction-scoped advisory lock (capacity, references, depth, emptiness); updates and deletes are compare-and-set onrevision. - Article writes append the immutable revision and rebuild
tf_helpcenter_publishedin the same transaction; published slugs are unique per (portal, locale) via a unique index. - Search: a stored weighted
tsvectorper (article, locale) — title A, tags and excerpt B, body plain text C — computed with the locale'sregconfigfromHelpCenterSearchConfiguration(fallbacksimple), a GIN index,websearch_to_tsquery,ts_rank_cdranking, boundedLIMIT/OFFSET, and plain-textts_headlinesnippets. - Feedback: one view marker per (article, visitor hash, day) and one vote per (article, visitor hash); counters change in the same
transaction; markers and counters cascade with the article.
PurgeViewMarkersAsyncremoves old view markers in bounded batches.
using TicketFlow.HelpCenter.Stores.Postgres;
await using var dataSource = NpgsqlDataSource.Create(connectionString);
services.AddTicketFlow().AddAccessControl().AddPostgresAccessStores(dataSource)
.AddHelpCenter().AddPostgresHelpCenterStores(dataSource);
await new PostgresHelpCenterStore(dataSource).InitializeAsync();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- Npgsql (>= 10.0.3)
- TicketFlow.HelpCenter.Abstractions (>= 0.1.0-alpha.4.1)
- TicketFlow.Stores.Migrations.Postgres (>= 0.1.0-alpha.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TicketFlow.HelpCenter.Stores.Postgres:
| Package | Downloads |
|---|---|
|
TicketFlow
Catch-all meta-package for the TicketFlow stack: core primitives, support domains, in-memory and PostgreSQL stores, ASP.NET Core hosting, SignalR realtime, background workers, Blazor management UI, and MCP server toolsets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-alpha.4.1 | 41 | 11/23/2026 |
| 0.1.0-alpha.3.1 | 38 | 11/23/2026 |
| 0.1.0-alpha.2.1 | 47 | 11/22/2026 |