NGB.Platform.BackgroundJobs.PostgreSql
3.1.0
dotnet add package NGB.Platform.BackgroundJobs.PostgreSql --version 3.1.0
NuGet\Install-Package NGB.Platform.BackgroundJobs.PostgreSql -Version 3.1.0
<PackageReference Include="NGB.Platform.BackgroundJobs.PostgreSql" Version="3.1.0" />
<PackageVersion Include="NGB.Platform.BackgroundJobs.PostgreSql" Version="3.1.0" />
<PackageReference Include="NGB.Platform.BackgroundJobs.PostgreSql" />
paket add NGB.Platform.BackgroundJobs.PostgreSql --version 3.1.0
#r "nuget: NGB.Platform.BackgroundJobs.PostgreSql, 3.1.0"
#:package NGB.Platform.BackgroundJobs.PostgreSql@3.1.0
#addin nuget:?package=NGB.Platform.BackgroundJobs.PostgreSql&version=3.1.0
#tool nuget:?package=NGB.Platform.BackgroundJobs.PostgreSql&version=3.1.0
NGB.Platform.BackgroundJobs.PostgreSql
PostgreSQL adapter for NGB Platform background jobs. It contains the Hangfire PostgreSQL storage factory and optimized PostgreSQL recurring-job state reader, keeping provider-specific dependencies out of the generic BackgroundJobs and PostgreSql packages.
Install
dotnet add package NGB.Platform.BackgroundJobs.PostgreSql
Pass the storage factory to the background host and register the inspection adapter after the core PostgreSQL services:
using NGB.BackgroundJobs.Hosting;
using NGB.BackgroundJobs.PostgreSql;
using NGB.BackgroundJobs.PostgreSql.DependencyInjection;
using NGB.PostgreSql.Bootstrap;
using NGB.PostgreSql.DependencyInjection;
var bootstrap = builder.AddNgbBackgroundJobs(PostgresHangfireJobStorageFactory.Create);
await bootstrap.EnsureInfrastructureAsync(new PostgresDatabaseProvisioner());
builder.Services
.AddNgbPostgres(bootstrap.ApplicationConnectionString)
.AddNgbPostgresBackgroundJobsAdapter();
The host also composes Runtime, startup validation, its vertical modules, and PostgreSQL HTTP/health integration. The storage factory alone does not register those application services.
| 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
- Hangfire.PostgreSql (>= 1.21.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
- Newtonsoft.Json (>= 13.0.4)
- NGB.Platform.Persistence (>= 3.1.0)
- NGB.Platform.Tools (>= 3.1.0)
- Npgsql (>= 10.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Attachments and plain-text Notes for catalogs, documents and general journal entries, with private object storage, direct uploads, authorization, parent audit history and indefinite file retention. Upgrade: https://docs.ngbplatform.com/architecture/attachments-and-notes