Skip to main content

Installation

Install via NuGet:
Or via Package Manager:

Quick Start

Repository

GitHub Repository

Official .NET client: qdrant/qdrant-dotnet

Client Initialization

Basic Connection

With Custom Options

Collection Management

Create Collection

Create with Multiple Vectors

Get Collection Info

List Collections

Update Collection

Delete Collection

Point Operations

Upsert Points

Upsert with GUID

Batch Upsert

Get Points

Delete Points

Search Operations

Search with Filtering

Search with Parameters

Recommendations

Query API (Universal)

Payload Operations

Set Payload

Overwrite Payload

Delete Payload Keys

Clear Payload

Scroll (Pagination)

Payload Indexing

Count Points

Snapshots

Error Handling

Strongly-Typed Payloads

LINQ Integration

Dependency Injection

Async Enumerable

Best Practices

Performance tips:
  • Reuse QdrantClient instances (singleton pattern)
  • Use async/await throughout your application
  • Enable connection pooling with gRPC options
  • Use batch operations for bulk inserts
  • Set wait=false for faster upserts
Common issues:
  • Always handle RpcException for gRPC errors
  • Use CancellationToken for long-running operations
  • Dispose of resources properly (though client is reusable)
  • Ensure vector dimensions match collection config

Next Steps

Java Client

Java client documentation

gRPC API

Learn about gRPC protocol