npgsql - Npgsql.DependencyInjection 8.0.8-ci.20250910T114502+sha.1ae276333

Package Description

PM> Install-Package Npgsql.DependencyInjection -Version 8.0.8-ci.20250910T114502 -Source https://www.myget.org/F/npgsql/api/v3/index.json

Copy to clipboard

> nuget.exe install Npgsql.DependencyInjection -Version 8.0.8-ci.20250910T114502 -Source https://www.myget.org/F/npgsql/api/v3/index.json

Copy to clipboard

> dotnet add package Npgsql.DependencyInjection --version 8.0.8-ci.20250910T114502 --source https://www.myget.org/F/npgsql/api/v3/index.json

Copy to clipboard
<PackageReference Include="Npgsql.DependencyInjection" Version="8.0.8-ci.20250910T114502" />
Copy to clipboard
source https://www.myget.org/F/npgsql/api/v3/index.json

nuget Npgsql.DependencyInjection  ~> 8.0.8-ci.20250910T114502
Copy to clipboard

> choco install Npgsql.DependencyInjection --version 8.0.8-ci.20250910T114502 --source https://www.myget.org/F/npgsql/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "npgsql" -SourceLocation "https://www.myget.org/F/npgsql/api/v2"
Install-Module -Name "Npgsql.DependencyInjection" -RequiredVersion "8.0.8-ci.20250910T114502" -Repository "npgsql" -AllowPreRelease
Copy to clipboard

Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/npgsql/api/v2/symbolpackage/


Npgsql - the .NET data provider for PostgreSQL

stable next patch daily builds (vnext) build gitter

What is Npgsql?

Npgsql is the open source .NET data provider for PostgreSQL. It allows you to connect and interact with PostgreSQL server using .NET.

For the full documentation, please visit the Npgsql website. For the Entity Framework Core provider that works with this provider, see Npgsql.EntityFrameworkCore.PostgreSQL.

Quickstart

Here's a basic code snippet to get you started:

using Npgsql;

var connString = "Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase";

var dataSourceBuilder = new NpgsqlDataSourceBuilder(connString);
var dataSource = dataSourceBuilder.Build();

var conn = await dataSource.OpenConnectionAsync();

// Insert some data
await using (var cmd = new NpgsqlCommand("INSERT INTO data (some_field) VALUES (@p)", conn))
{
    cmd.Parameters.AddWithValue("p", "Hello world");
    await cmd.ExecuteNonQueryAsync();
}

// Retrieve all rows
await using (var cmd = new NpgsqlCommand("SELECT some_field FROM data", conn))
await using (var reader = await cmd.ExecuteReaderAsync())
{
    while (await reader.ReadAsync())
        Console.WriteLine(reader.GetString(0));
}

Key features

  • High-performance PostgreSQL driver. Regularly figures in the top contenders on the TechEmpower Web Framework Benchmarks.
  • Full support of most PostgreSQL types, including advanced ones such as arrays, enums, ranges, multiranges, composites, JSON, PostGIS and others.
  • Highly-efficient bulk import/export API.
  • Failover, load balancing and general multi-host support.
  • Great integration with Entity Framework Core via Npgsql.EntityFrameworkCore.PostgreSQL.

For the full documentation, please visit the Npgsql website at https://www.npgsql.org.

  • .NETFramework 7.0
    • Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
    • Npgsql (>= 8.0.8-ci.20250910T114502)
  • .NETStandard 2.0
    • Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
    • Npgsql (>= 8.0.8-ci.20250910T114502)
  • .NETFramework 7.0: 7.0.0.0
  • .NETStandard 2.0: 2.0.0.0

Owners

Shay Rojansky

Authors

Shay Rojansky

Project URL

https://github.com/npgsql/npgsql

License

Unknown

Tags

npgsql postgresql postgres ado ado.net database sql di dependency injection

Info

35 total downloads
1 downloads for version 8.0.8-ci.20250910T114502+sha.1ae276333
Download (29.27 KB)
Download symbols (16.79 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
10.0.0-ci.20251122T170906+sha.a18021849 19.56 KB Sat, 22 Nov 2025 17:10:00 GMT 0
9.0.5-ci.20251106T104739+sha.8bb2db23d 27.48 KB Thu, 06 Nov 2025 10:48:21 GMT 0
9.0.5-ci.20251105T142835+sha.04304d6de 27.49 KB Wed, 05 Nov 2025 14:29:18 GMT 0
9.0.5-ci.20251029T164033+sha.22edc2368 27.48 KB Wed, 29 Oct 2025 16:41:22 GMT 0
9.0.5-ci.20251029T151033+sha.cd9a7ab9f 27.48 KB Wed, 29 Oct 2025 15:11:14 GMT 0
9.0.5-ci.20251027T211008+sha.0d526a369 27.48 KB Mon, 27 Oct 2025 21:10:49 GMT 0
9.0.5-ci.20251015T134601+sha.5dfd2e480 27.49 KB Wed, 15 Oct 2025 13:46:48 GMT 0
9.0.5-ci.20251015T132741+sha.3fb85417f 27.49 KB Wed, 15 Oct 2025 13:28:21 GMT 0
9.0.5-ci.20251005T193958+sha.88b6bb211 27.49 KB Sun, 05 Oct 2025 19:40:45 GMT 0
9.0.4-ci.20251005T190702+sha.c7bb8bcb9 27.5 KB Sun, 05 Oct 2025 19:07:48 GMT 0
9.0.4-ci.20251005T190604+sha.3b6c74c50 27.48 KB Sun, 05 Oct 2025 19:06:45 GMT 0
9.0.4-ci.20250910T114117+sha.4d7d09fd5 27.48 KB Wed, 10 Sep 2025 11:41:57 GMT 1
9.0.4-ci.20250820T095924+sha.e2b6731db 27.48 KB Wed, 20 Aug 2025 10:00:05 GMT 1
9.0.4-ci.20250804T141834+sha.48ef26646 27.49 KB Mon, 04 Aug 2025 14:19:16 GMT 1
9.0.4-ci.20250704T144742+sha.8aa2ce82e 27.5 KB Fri, 04 Jul 2025 14:48:33 GMT 1
9.0.4-ci.20250623T121118+sha.f5df84025 27.48 KB Mon, 23 Jun 2025 12:12:02 GMT 1
9.0.4-ci.20250620T103018+sha.9b9ca5533 27.49 KB Fri, 20 Jun 2025 10:30:59 GMT 1
9.0.4-ci.20250603T083114+sha.9b2b2bcb8 27.49 KB Tue, 03 Jun 2025 08:31:58 GMT 1
9.0.4-ci.20250601T105914+sha.7a007d9d0 27.48 KB Sun, 01 Jun 2025 10:59:55 GMT 1
9.0.4-ci.20250507T105834+sha.308a1f352 27.49 KB Wed, 07 May 2025 10:59:17 GMT 1
9.0.4-ci.20250319T161406+sha.1b99186d9 27.49 KB Wed, 19 Mar 2025 16:14:48 GMT 1
9.0.4-ci.20250304T085641+sha.ded0c27d8 27.48 KB Tue, 04 Mar 2025 08:57:23 GMT 1
9.0.4-ci.20250224T214703+sha.899e2bb3a 27.49 KB Mon, 24 Feb 2025 21:47:35 GMT 1
9.0.3-ci.20250224T113229+sha.97dc1739c 27.49 KB Mon, 24 Feb 2025 11:33:12 GMT 1
9.0.3-ci.20250221T103654+sha.94d0a14da 27.48 KB Fri, 21 Feb 2025 10:37:37 GMT 1
9.0.3-ci.20250204T115318+sha.10cf87c5b 27.49 KB Tue, 04 Feb 2025 11:53:54 GMT 1
9.0.3-ci.20250204T114534+sha.7f241f2c4 27.49 KB Tue, 04 Feb 2025 11:46:09 GMT 1
9.0.3-ci.20241207T095601+sha.bf7937987 27.48 KB Sat, 07 Dec 2024 09:56:32 GMT 2
9.0.2-ci.20241120T173808+sha.47ee78b7b 27.48 KB Wed, 20 Nov 2024 17:38:43 GMT 1
9.0.2-ci.20241119T111622+sha.562ca36a7 27.47 KB Tue, 19 Nov 2024 11:16:56 GMT 1
9.0.1-ci.20241119T110536+sha.7fa93656c 27.48 KB Tue, 19 Nov 2024 11:06:12 GMT 1
9.0.1-ci.20241118T150756+sha.50300f572 27.48 KB Mon, 18 Nov 2024 15:08:36 GMT 1
8.0.9-ci.20251106T105343+sha.03a6ae262 29.29 KB Thu, 06 Nov 2025 10:54:37 GMT 0
8.0.9-ci.20251105T143207+sha.a5bede582 29.29 KB Wed, 05 Nov 2025 14:33:09 GMT 0
8.0.9-ci.20251015T135036+sha.b73232282 29.29 KB Wed, 15 Oct 2025 13:51:34 GMT 0
8.0.9-ci.20251015T134049+sha.4b2b90974 29.29 KB Wed, 15 Oct 2025 13:42:17 GMT 0
8.0.9-ci.20251005T194331+sha.03e95a8f5 29.29 KB Sun, 05 Oct 2025 19:44:31 GMT 0
8.0.8-ci.20251005T191012+sha.43e15ee3b 29.28 KB Sun, 05 Oct 2025 19:11:20 GMT 0
8.0.8-ci.20250910T114502+sha.1ae276333 29.27 KB Wed, 10 Sep 2025 11:46:02 GMT 1
8.0.8-ci.20250820T100039+sha.278100030 29.25 KB Wed, 20 Aug 2025 10:01:35 GMT 1
8.0.8-ci.20250804T142246+sha.223d4256d 29.27 KB Mon, 04 Aug 2025 14:23:59 GMT 1
8.0.8-ci.20250620T103215+sha.009a7d9a8 29.27 KB Fri, 20 Jun 2025 10:33:18 GMT 1
8.0.8-ci.20250603T085609+sha.e247566bc 29.28 KB Tue, 03 Jun 2025 08:57:13 GMT 1
8.0.8-ci.20250507T110251+sha.afc285a60 29.27 KB Wed, 07 May 2025 11:03:53 GMT 1
8.0.8-ci.20250319T161908+sha.f38f935a2 29.3 KB Wed, 19 Mar 2025 16:20:01 GMT 1
8.0.8-ci.20250304T090142+sha.d52b320cc 29.29 KB Tue, 04 Mar 2025 09:02:42 GMT 1
8.0.8-ci.20250224T221546+sha.8620afdad 29.29 KB Mon, 24 Feb 2025 22:16:46 GMT 1
8.0.6-ci.20241118T164842+sha.c4c9d0d53 29.09 KB Mon, 18 Nov 2024 16:49:43 GMT 2
8.0.6-ci.20241108T212426+sha.82c6926bb 29.08 KB Fri, 08 Nov 2024 21:25:27 GMT 1
8.0.6-ci.20241021T103933+sha.882eab961 29.08 KB Mon, 21 Oct 2024 10:40:33 GMT 1