Endatix.Persistence.PostgreSql 0.2.0

dotnet add package Endatix.Persistence.PostgreSql --version 0.2.0                
NuGet\Install-Package Endatix.Persistence.PostgreSql -Version 0.2.0                
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="Endatix.Persistence.PostgreSql" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Endatix.Persistence.PostgreSql --version 0.2.0                
#r "nuget: Endatix.Persistence.PostgreSql, 0.2.0"                
#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.
// Install Endatix.Persistence.PostgreSql as a Cake Addin
#addin nuget:?package=Endatix.Persistence.PostgreSql&version=0.2.0

// Install Endatix.Persistence.PostgreSql as a Cake Tool
#tool nuget:?package=Endatix.Persistence.PostgreSql&version=0.2.0                

Endatix.Persistence.PostgreSql

Adds support for using PostgreSQL database persistence with the Endatix Platform. This package is crucial for applications that require PostgreSQL as the primary database.

[!TIP] Endatix Platform is an open-source data collection and management library for .NET. It is designed for building secure, scalable, and integrated form-centric applications that work with SurveyJS. Endatix empowers business users with advanced workflows, automation, and meaningful insights.

Installation:

dotnet add package Endatix.Persistence.PostgreSql

For running and hosting the Endatix Platform, Endatix.Api.Host is the recommended main package as it simplifies the installation and setup process.

dotnet add package Endatix.Api.Host

More Information:

For detailed installation instructions, please visit Endatix Installation Guide.

Generating Migrations

[!NOTE] Please note to change the name of the migration for the respective context. This KB is WIP and is subject to change as the process evolves to simplify migrations tooling and process

For AppDbContext Entities

dotnet ef migrations add InitialEntities --startup-project src/Endatix.WebHost --project src/Endatix.Persistence.PostgreSql  --context AppDbContext --output-dir Migrations/AppEntities

For AppIdentityDbContext Entities

dotnet ef migrations add InitialIdentity --startup-project src/Endatix.WebHost --project src/Endatix.Persistence.PostgreSql  --context AppIdentityDbContext --output-dir Migrations/AppIdentity

Setup

  1. Create Postgres in Docker - docker run --name postgres_db -e POSTGRES_PASSWORD=[YOUR_MASTER_PASSWORD] -p 5432:5432 -d postgres
  2. Install pgAdmin link here. You can also add with Docker
  3. Create Postgres Login using the pgAdmin
  4. Update appSettings.Development.json by adding this connection string
"DefaultConnection": "Host=localhost; Database=endatix-db; Username=[YOUR_PG_LOGIN]; Password=[YOUR_PG_PASSWORD]"
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Endatix.Persistence.PostgreSql:

Package Downloads
Endatix.Extensions.Hosting

Provides useful extension methods and utilities for hosting the Endatix Platform. It simplifies the configuration and deployment. Endatix Platform is an open-source data collection and management library for .NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 85 2/10/2025