Install
.NET CLI
dotnet add package Npgsql --version 4.0.16
Package Manager Console
Install-Package Npgsql -Version 4.0.16
PackageReference
<PackageReference Include="Npgsql" Version="4.0.16" />
Frameworks
Dependencies
System.Memory
[4.5.3, )
.NETFramework4.5
System.Runtime.CompilerServices.Unsafe
[4.5.2, )
.NETFramework4.5
System.Threading.Tasks.Extensions
[4.5.2, )
.NETFramework4.5
System.ValueTuple
[4.5.0, )
.NETFramework4.5
System.Memory
[4.5.3, )
.NETFramework4.5.1
System.Runtime.CompilerServices.Unsafe
[4.5.2, )
.NETFramework4.5.1
System.Threading.Tasks.Extensions
[4.5.2, )
.NETFramework4.5.1
System.ValueTuple
[4.5.0, )
.NETFramework4.5.1
System.Memory
[4.5.3, )
.NETStandard2.0
System.Runtime.CompilerServices.Unsafe
[4.5.2, )
.NETStandard2.0
System.Threading.Tasks.Extensions
[4.5.2, )
.NETStandard2.0
System.ValueTuple
[4.5.0, )
.NETStandard2.0
Adoption guide
Applications standardized on PostgreSQL that need robust async support and observability integration.
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.
Compatibility metadata lists 3 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.