![]() |
VOOZH | about |
dotnet add package Pandatech.SharedKernel.Postgres --version 1.0.33
NuGet\Install-Package Pandatech.SharedKernel.Postgres -Version 1.0.33
<PackageReference Include="Pandatech.SharedKernel.Postgres" Version="1.0.33" />
<PackageVersion Include="Pandatech.SharedKernel.Postgres" Version="1.0.33" />Directory.Packages.props
<PackageReference Include="Pandatech.SharedKernel.Postgres" />Project file
paket add Pandatech.SharedKernel.Postgres --version 1.0.33
#r "nuget: Pandatech.SharedKernel.Postgres, 1.0.33"
#:package Pandatech.SharedKernel.Postgres@1.0.33
#addin nuget:?package=Pandatech.SharedKernel.Postgres&version=1.0.33Install as a Cake Addin
#tool nuget:?package=Pandatech.SharedKernel.Postgres&version=1.0.33Install as a Cake Tool
Welcome to the Pandatech.SharedKernel.Postgres NuGet package — a specialized extension of the Pandatech.SharedKernel
designed to simplify PostgreSQL integration in your ASP.NET Core applications. This package provides a set of utilities
and configurations to streamline the setup of Entity Framework Core with PostgreSQL, along with health checks and other
enhancements.
Although this package is primarily intended for internal use, it is publicly available for anyone who may find it useful. We recommend forking or copying the classes in this repository and creating your own package to suit your needs.
To install the Pandatech.SharedKernel.Postgres package, use the following command:
dotnet add package Pandatech.SharedKernel.Postgres
Alternatively, you can add it via the NuGet Package Manager in Visual Studio, VS Code, or Rider.
Follow these steps to integrate Pandatech.SharedKernel.Postgres into your ASP.NET Core application.
Add your PostgreSQL connection string to the appsettings.{Environment}.json file:
{
"ConnectionStrings": {
"Postgres": "Host=localhost;Database=mydatabase;Username=myusername;Password=mypassword"
}
}
Update your Program.cs file to include the necessary configurations:
using SharedKernel.Postgres.Extensions;
var builder = WebApplication.CreateBuilder(args);
// Add PostgreSQL context with the connection string
builder.AddPostgresContext<MyDbContext>(builder.Configuration.GetConnectionString("Postgres")!);
// Optionally add Gridify for data filtering and pagination
builder.AddGridify(); // From Pandatech.Gridify.Extensions
var app = builder.Build();
// Apply pending migrations on startup
app.MigrateDatabase<MyDbContext>();
app.Run();
By invoking builder.AddPostgresContext<T>(), the package automatically integrates PostgreSQL health checks using the
AspNetCore.HealthChecks.NpgSql package.
This package relies on several NuGet packages to provide extended functionality:
This library is designed primarily for internal use and, as such, does not include extensive documentation. For detailed information on the functionalities provided by the dependencies, please refer to their respective documentation.
Pandatech.SharedKernel.Postgres is licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.5 | 101 | 6/10/2026 |
| 2.1.4 | 102 | 6/3/2026 |
| 2.1.3 | 114 | 6/1/2026 |
| 2.1.2 | 297 | 3/19/2026 |
| 2.1.1 | 112 | 3/19/2026 |
| 2.1.0 | 119 | 2/28/2026 |
| 2.0.2 | 145 | 1/27/2026 |
| 2.0.1 | 84 | 12/29/2025 |
| 2.0.0 | 81 | 12/29/2025 |
| 1.0.42 | 194 | 12/26/2025 |
| 1.0.41 | 197 | 12/14/2025 |
| 1.0.40 | 184 | 12/14/2025 |
| 1.0.39 | 234 | 12/5/2025 |
| 1.0.38 | 248 | 10/13/2025 |
| 1.0.37 | 222 | 10/13/2025 |
| 1.0.36 | 205 | 9/26/2025 |
| 1.0.35 | 289 | 9/22/2025 |
| 1.0.34 | 237 | 9/11/2025 |
| 1.0.33 | 233 | 9/8/2025 |
| 1.0.32 | 167 | 8/15/2025 |
Nuget updates