Class PostgreSqlServiceCollectionExtensions
- Namespace
- FlowOrchestrator.PostgreSQL
- Assembly
- FlowOrchestrator.PostgreSQL.dll
DI registration helpers for the PostgreSQL FlowOrchestrator storage backend.
public static class PostgreSqlServiceCollectionExtensions
- Inheritance
-
PostgreSqlServiceCollectionExtensions
- Inherited Members
Methods
AddPostgreSqlWebhookHardening(FlowOrchestratorBuilder, string)
Registers the PostgreSQL-backed webhook hardening stores
(IWebhookReplayStore, IWebhookRejectionStore),
replacing the in-memory defaults wired by AddFlowDashboard.
public static FlowOrchestratorBuilder AddPostgreSqlWebhookHardening(this FlowOrchestratorBuilder builder, string connectionString)
Parameters
builderFlowOrchestratorBuilderThe FlowOrchestrator builder.
connectionStringstringNpgsql connection string.
Returns
UsePostgreSql(FlowOrchestratorBuilder, string)
Registers PostgreSQL implementations of all storage interfaces and the auto-migration hosted service.
Call inside AddFlowOrchestrator(options => options.UsePostgreSql(connectionString)).
public static FlowOrchestratorBuilder UsePostgreSql(this FlowOrchestratorBuilder builder, string connectionString)
Parameters
builderFlowOrchestratorBuilderThe FlowOrchestrator builder to register into.
connectionStringstringNpgsql connection string. Must point to an accessible PostgreSQL database.