New async methods introduced in .NET Standard 2.1 and async support for binary imports/exports.
Streamlined client certificate management for SSL/TLS authentication. Important Troubleshooting Note npgsql 4.1 download
Integration with .NET Event Counters to expose driver-level performance metrics. New async methods introduced in
Npgsql 4.1 dropped support for older .NET Framework versions, making it a pivotal upgrade for modern infrastructure. Supported Version .NET Framework 4.6.1 or higher Minimum .NET Core .NET Core 2.0 or higher (via .NET Standard 2.0) Entity Framework Supports EF Core 3.0 and EF6 PostgreSQL Support Generally compatible with all modern PostgreSQL versions Key Features in Npgsql 4.1 Npgsql 4
Native support for high-performance JSON reading and writing using the standard System.Text.Json API.
Use the following command in the Package Manager Console to get the latest patch (4.1.14): Install-Package Npgsql -Version 4.1.14
For modern cross-platform development, use the dotnet add package command: dotnet add package Npgsql --version 4.1.14 Version Compatibility and Requirements