NEW RasterizedDB 1.1.0 is out: sharding and the gateway, the message broker, roles and row-level security, compression, .NET on NuGet, and the enterprise edition. What's new ›
DOCS / C# / .NET CLIENT

C# / .NET client

The ADO.NET driver and the EF Core provider for .NET.

Getting started with the .NET clientSupported .NET versions, installing the packages from NuGet (or from source), and a first ADO.NET and EF Core programConnecting from .NETEvery connection-string keyword with aliases and defaults, logins, TLS trust modes and engines, unix sockets, database selection, pooling, data sources and DI registrationCommands and parametersRunning statements, placeholders and parameter types, multi-statement commands, batches, multiplexed data-source commands, bulk inserts, timeouts, cancellation and noticesReading resultsThe data reader, text vs binary result formats, the SQL-to-.NET type table, and how NULLs, NUMERIC, JSONB, timestamps, intervals, bytes and arrays readTransactions in .NETStarting and ending transactions, isolation levels, savepoints, conflict errors with ExecuteInTransactionAsync and a manual retry pattern, and lost transactionsAdministration from .NETEvery connection.Admin call (tables, indexes, partitioning, roles and grants, config, stores and placement, backups, replication) with the statement it sends, what it returns, and who may run itKey/value cache from .NETEvery connection.Kv call (strings, counters, hashes, lists, sets, sorted sets, raw commands) with TTLs, plus typed maps, map queries and object repositoriesMessaging from .NETRasterizedDb.Messaging (pre-production): connecting, queues, topics and subscription modes, ack/nack/renew, scheduled delivery, batches, exchanges, durability, errors and reconnectingEF Core providerInstalling the provider, UseRasterizedDb overloads and options, type mapping, HiLo/array/JSON columns, migrations and their lock, scaffolding, LINQ translations and gapsLimits and differences from NpgsqlWhat the driver lacks, what degrades against an older 1.0.1 server, differences from Npgsql, and when to use Npgsql over the PostgreSQL listener

Other parts: RasterizedDB ServerEnterpriseEmbedded engineRust clientSharding gatewaySetup scriptsDocker recipes

✓ page rendered in 100 µs axum + tera + htmx · no other javascript