npgsql-vnext - Npgsql.DependencyInjection 11.0.0-preview.1-ci.20251125T211219+sha.fc4816c78

Package Description

PM> Install-Package Npgsql.DependencyInjection -Version 11.0.0-preview.1-ci.20251125T211219 -Source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

Copy to clipboard

> nuget.exe install Npgsql.DependencyInjection -Version 11.0.0-preview.1-ci.20251125T211219 -Source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

Copy to clipboard

> dotnet add package Npgsql.DependencyInjection --version 11.0.0-preview.1-ci.20251125T211219 --source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

Copy to clipboard
<PackageReference Include="Npgsql.DependencyInjection" Version="11.0.0-preview.1-ci.20251125T211219" />
Copy to clipboard
source https://www.myget.org/F/npgsql-vnext/api/v3/index.json

nuget Npgsql.DependencyInjection  ~> 11.0.0-preview.1-ci.20251125T211219
Copy to clipboard

> choco install Npgsql.DependencyInjection --version 11.0.0-preview.1-ci.20251125T211219 --source https://www.myget.org/F/npgsql-vnext/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "npgsql-vnext" -SourceLocation "https://www.myget.org/F/npgsql-vnext/api/v2"
Install-Module -Name "Npgsql.DependencyInjection" -RequiredVersion "11.0.0-preview.1-ci.20251125T211219" -Repository "npgsql-vnext" -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-vnext/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 8.0
    • Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
    • Npgsql (>= 11.0.0-preview.1-ci.20251125T211219)
  • .NETFramework 8.0: 8.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

42 total downloads
0 downloads for version 11.0.0-preview.1-ci.20251125T211219+sha.fc4816c78
Download (19.58 KB)
Download symbols (9.84 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
11.0.0-preview.1-ci.20251201T232111+sha.0eda0cc27 19.59 KB Mon, 01 Dec 2025 23:21:45 GMT 0
11.0.0-preview.1-ci.20251127T071135+sha.34f9a4814 19.6 KB Thu, 27 Nov 2025 07:12:16 GMT 0
11.0.0-preview.1-ci.20251126T095200+sha.c67ae1331 19.58 KB Wed, 26 Nov 2025 09:52:46 GMT 1
11.0.0-preview.1-ci.20251125T222135+sha.46e38e837 19.58 KB Tue, 25 Nov 2025 22:22:31 GMT 0
11.0.0-preview.1-ci.20251125T211219+sha.fc4816c78 19.58 KB Tue, 25 Nov 2025 21:13:16 GMT 0
11.0.0-preview.1-ci.20251124T221023+sha.43d118dbe 19.58 KB Mon, 24 Nov 2025 22:11:12 GMT 2
11.0.0-preview.1-ci.20251122T165504+sha.98f28f354 19.58 KB Sat, 22 Nov 2025 16:55:52 GMT 0
10.0.0-rtm-ci.20251122T143300+sha.4cf1d3334 19.56 KB Sat, 22 Nov 2025 14:33:54 GMT 0
10.0.0-rtm-ci.20251120T234728+sha.eaa88b87b 19.56 KB Thu, 20 Nov 2025 23:48:20 GMT 3
10.0.0-rtm-ci.20251120T234624+sha.6d2972365 19.56 KB Thu, 20 Nov 2025 23:47:12 GMT 1
10.0.0-rtm-ci.20251120T222938+sha.7f7296d1d 19.56 KB Thu, 20 Nov 2025 22:30:19 GMT 3
10.0.0-rtm-ci.20251120T212301+sha.7b6ac490c 19.57 KB Thu, 20 Nov 2025 21:23:48 GMT 0
10.0.0-rtm-ci.20251120T212212+sha.937a9bd22 19.56 KB Thu, 20 Nov 2025 21:23:10 GMT 0
10.0.0-rtm-ci.20251120T195908+sha.ed05ab2ad 19.56 KB Thu, 20 Nov 2025 20:00:05 GMT 0
10.0.0-rtm-ci.20251120T143800+sha.b8b7f34fb 19.57 KB Thu, 20 Nov 2025 14:38:52 GMT 0
10.0.0-rtm-ci.20251120T140724+sha.41c5f40a8 19.56 KB Thu, 20 Nov 2025 14:08:12 GMT 1
10.0.0-rtm-ci.20251119T212240+sha.a27566ff3 19.56 KB Wed, 19 Nov 2025 21:23:33 GMT 0
10.0.0-rtm-ci.20251119T210552+sha.a27566ff3 19.56 KB Wed, 19 Nov 2025 21:06:39 GMT 0
10.0.0-rtm-ci.20251119T181153+sha.90f699bb8 19.56 KB Wed, 19 Nov 2025 18:12:50 GMT 1
10.0.0-rtm-ci.20251119T170255+sha.fc0a675c6 19.52 KB Wed, 19 Nov 2025 17:03:40 GMT 2
10.0.0-rtm-ci.20251119T125952+sha.a8b95649b 19.52 KB Wed, 19 Nov 2025 13:00:43 GMT 0
10.0.0-rtm-ci.20251118T195022+sha.70ad2946a 19.52 KB Tue, 18 Nov 2025 19:51:08 GMT 0
10.0.0-rtm-ci.20251118T191532+sha.b16f72292 19.53 KB Tue, 18 Nov 2025 19:16:18 GMT 0
10.0.0-rtm-ci.20251118T171911+sha.fe0f5eedb 19.51 KB Tue, 18 Nov 2025 17:20:11 GMT 0
10.0.0-rtm-ci.20251117T212942+sha.63152950a 19.52 KB Mon, 17 Nov 2025 21:30:29 GMT 1
10.0.0-rtm-ci.20251117T212722+sha.bddee32c2 19.51 KB Mon, 17 Nov 2025 21:28:13 GMT 0
10.0.0-rtm-ci.20251117T212614+sha.712e0f353 19.52 KB Mon, 17 Nov 2025 21:27:10 GMT 0
10.0.0-rtm-ci.20251117T211901+sha.991699897 19.51 KB Mon, 17 Nov 2025 21:19:54 GMT 1
10.0.0-rtm-ci.20251116T095622+sha.0ec219698 19.51 KB Sun, 16 Nov 2025 09:57:29 GMT 2
10.0.0-rc.2-ci.20251111T202049+sha.dcbb5c299 19.52 KB Tue, 11 Nov 2025 20:21:33 GMT 2
10.0.0-rc.2-ci.20251110T230116+sha.53030fb43 19.53 KB Mon, 10 Nov 2025 23:02:00 GMT 0
10.0.0-rc.2-ci.20251110T130939+sha.ea5a2e189 19.53 KB Mon, 10 Nov 2025 13:10:27 GMT 1
10.0.0-rc.2-ci.20251109T180219+sha.82a849fd1 19.53 KB Sun, 09 Nov 2025 18:03:01 GMT 0
10.0.0-rc.2-ci.20251109T131317+sha.6714f6599 19.53 KB Sun, 09 Nov 2025 13:13:59 GMT 1
10.0.0-rc.2-ci.20251108T171657+sha.b3f4f3efe 19.53 KB Sat, 08 Nov 2025 17:17:38 GMT 0
10.0.0-rc.2-ci.20251108T162006+sha.f9ac0b735 19.53 KB Sat, 08 Nov 2025 16:20:43 GMT 0
10.0.0-rc.2-ci.20251107T191940+sha.33d8cdcd4 19.54 KB Fri, 07 Nov 2025 19:20:19 GMT 1
10.0.0-rc.2-ci.20251106T104530+sha.ce11aaa60 19.53 KB Thu, 06 Nov 2025 10:46:04 GMT 3
10.0.0-rc.2-ci.20251106T081357+sha.c3cf9f94b 19.52 KB Thu, 06 Nov 2025 08:14:36 GMT 2
10.0.0-rc.2-ci.20251105T215812+sha.a68839b9c 19.53 KB Wed, 05 Nov 2025 21:58:53 GMT 1
10.0.0-rc.2-ci.20251105T170941+sha.88cfc120f 19.53 KB Wed, 05 Nov 2025 17:10:27 GMT 0
10.0.0-rc.2-ci.20251105T163153+sha.8fd496856 19.53 KB Wed, 05 Nov 2025 16:32:28 GMT 1
10.0.0-rc.2-ci.20251105T141444+sha.ed512e529 19.53 KB Wed, 05 Nov 2025 14:15:24 GMT 4
10.0.0-rc.2-ci.20251103T212232+sha.fcf2d7fe6 19.52 KB Mon, 03 Nov 2025 21:23:15 GMT 1
10.0.0-rc.2-ci.20251103T150833+sha.9163444a3 19.53 KB Mon, 03 Nov 2025 15:09:09 GMT 1
10.0.0-rc.2-ci.20251103T145702+sha.0ec29b34a 19.52 KB Mon, 03 Nov 2025 14:57:42 GMT 2
10.0.0-rc.2-ci.20251103T144609+sha.530f0fb31 19.53 KB Mon, 03 Nov 2025 14:46:49 GMT 1
10.0.0-rc.2-ci.20251103T135159+sha.e77dee017 19.52 KB Mon, 03 Nov 2025 13:52:30 GMT 2
10.0.0-rc.2-ci.20251103T133327+sha.c3e2fc202 19.52 KB Mon, 03 Nov 2025 13:34:04 GMT 1
10.0.0-rc.2-ci.20251103T132030+sha.5719dc735 19.53 KB Mon, 03 Nov 2025 13:21:11 GMT 0