RecurringThings.PostgreSQL
10.0.0
dotnet add package RecurringThings.PostgreSQL --version 10.0.0
NuGet\Install-Package RecurringThings.PostgreSQL -Version 10.0.0
<PackageReference Include="RecurringThings.PostgreSQL" Version="10.0.0" />
<PackageVersion Include="RecurringThings.PostgreSQL" Version="10.0.0" />
<PackageReference Include="RecurringThings.PostgreSQL" />
paket add RecurringThings.PostgreSQL --version 10.0.0
#r "nuget: RecurringThings.PostgreSQL, 10.0.0"
#:package RecurringThings.PostgreSQL@10.0.0
#addin nuget:?package=RecurringThings.PostgreSQL&version=10.0.0
#tool nuget:?package=RecurringThings.PostgreSQL&version=10.0.0
RecurringThings.PostgreSQL
PostgreSQL persistence provider for RecurringThings.
Installation
dotnet add package RecurringThings
dotnet add package RecurringThings.PostgreSQL
Configuration
using RecurringThings.Configuration;
using RecurringThings.PostgreSQL.Configuration;
services.AddRecurringThings(builder =>
builder.UsePostgreSql((provider, options) =>
{
options.ConnectionString = "Host=localhost;Database=myapp;Username=user;Password=pass";
options.RunMigrationsOnStartup = true; // Optional, default is true
}));
The IServiceProvider parameter allows you to resolve services registered before AddRecurringThings, such as IOptions<T> or IConfiguration.
Migrations
Migrations run automatically on startup when RunMigrationsOnStartup = true (default). The provider uses Entity Framework Core migrations with PostgreSQL advisory locks to ensure safe concurrent migration across multiple application replicas.
To disable automatic migrations:
builder.UsePostgreSql((provider, options) =>
{
options.ConnectionString = connectionString;
options.RunMigrationsOnStartup = false;
});
Integration Tests
Set the environment variable before running integration tests:
export POSTGRES_CONNECTION_STRING="Host=localhost;Database=test;Username=user;Password=pass"
dotnet test --filter 'Category=Integration'
| 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. |
-
net10.0
- Microsoft.EntityFrameworkCore (>= 9.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.12)
- Npgsql.EntityFrameworkCore.PostgreSQL (>= 9.0.0)
- RecurringThings (>= 10.0.0)
- Transactional.PostgreSQL (>= 10.0.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 |
|---|---|---|
| 10.0.0 | 55 | 2/2/2026 |
| 0.1.0-alpha.10 | 37 | 2/2/2026 |
| 0.1.0-alpha.9 | 42 | 2/2/2026 |
| 0.1.0-alpha.8 | 44 | 1/28/2026 |
| 0.1.0-alpha.7 | 45 | 1/28/2026 |
| 0.1.0-alpha.6 | 37 | 1/28/2026 |
| 0.1.0-alpha.5 | 41 | 1/27/2026 |
| 0.1.0-alpha.4 | 37 | 1/27/2026 |
| 0.1.0-alpha.3 | 35 | 1/27/2026 |
| 0.1.0-alpha.2 | 39 | 1/27/2026 |
| 0.1.0-alpha.1 | 37 | 1/27/2026 |