Skip to main content
Total Downloads
944.2M
944,150,255
Published
Feb 15, 2023
Latest stable version

Install

.NET CLI
dotnet add package Npgsql --version 5.0.16
Package Manager Console
Install-Package Npgsql -Version 5.0.16
PackageReference
<PackageReference Include="Npgsql" Version="5.0.16" />

Frameworks

.NETCoreApp3.1 net5.0 .NETStandard2.0 .NETStandard2.1

Dependencies

System.Text.Json
.NETStandard2.0
[4.6.0, )
[4.7.0, )
System.Text.Json
.NETStandard2.1
[4.6.0, )
[4.7.0, )

Adoption guide

Applications standardized on PostgreSQL that need robust async support and observability integration.

Databases guide
Why it appears in the guide: High-quality PostgreSQL data provider for .NET with strong performance and PostgreSQL feature coverage. Trade-off: Provider-specific data type behaviors should be tested when porting from other engines.

Published vulnerability advisories exist for this version. Read the advisory and choose a remediated version before release.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.