---
title: "Client API: What is a Document Store"
description: "The RavenDB DocumentStore manages client-server communication, connection pooling, caching, and serves as the entry point for sessions and operations."
url: "https://docs.ravendb.net/7.2/client-api/what-is-a-document-store"
version: "7.2"
language: "csharp"
---

# Client API: What is a Document Store

> Client language: C#. Also available for [Java](https://docs.ravendb.net/7.2/client-api/what-is-a-document-store.java.md), [Node.js](https://docs.ravendb.net/7.2/client-api/what-is-a-document-store.nodejs.md).
>
> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

> **Note**
>
> - The **Document Store** is the main Client API object which establishes and manages the communication between your client application and a [RavenDB cluster](https://docs.ravendb.net/7.2/server/clustering/overview.md).
>   Communication is done via HTTP requests.
>
> - The Document Store holds the [Cluster Topology](https://docs.ravendb.net/7.2/server/clustering/rachis/cluster-topology.md), the [Authentication Certificate](https://docs.ravendb.net/7.2/client-api/setting-up-authentication-and-authorization.md),
>   and any configurations & customizations that you may have applied.
>
> - Caching is built in. All requests to the server(s) and their responses are cached within the Document Store.
>
> - A single instance of the Document Store ([Singleton Pattern](https://csharpindepth.com/articles/Singleton)) should be created per cluster per the lifetime of your application.
>
> - The Document Store is thread safe - implemented in a thread safe manner.
>
> - The Document Store exposes methods to perform operations such as:
>   - [Session](https://docs.ravendb.net/7.2/client-api/session/what-is-a-session-and-how-does-it-work.md) - Use the Session object to perform operations on a specific database
>   - [Operations](https://docs.ravendb.net/7.2/client-api/operations/what-are-operations.md) - Manage the server with a set of low level operation commands
>   - [Bulk insert](https://docs.ravendb.net/7.2/client-api/bulk-insert/how-to-work-with-bulk-insert-operation.md) - Useful when inserting a large amount of data
>   - [Conventions](https://docs.ravendb.net/7.2/client-api/configuration/conventions.md) - Customize the Client API behavior
>   - [Changes API](https://docs.ravendb.net/7.2/client-api/changes/what-is-changes-api.md) - Receive messages from the server
>   - [Aggressive caching](https://docs.ravendb.net/7.2/client-api/how-to/setup-aggressive-caching.md) - Configure caching behavior
>   - [Events](https://docs.ravendb.net/7.2/client-api/session/how-to/subscribe-to-events.md) - Perform custom actions in response to the Session's operations
>   - [Data Subscriptions](https://docs.ravendb.net/7.2/data-subscriptions/overview.md) - Define & manage data processing on the client side

## See also

- [Getting Started](https://docs.ravendb.net/7.2/start/getting-started.md)
- [Setup Wizard](https://docs.ravendb.net/7.2/start/installation/setup-wizard/overview.md)
- [Creating a Document Store](https://docs.ravendb.net/7.2/client-api/creating-document-store.md)
- [Setting up Default Database](https://docs.ravendb.net/7.2/client-api/setting-up-default-database.md)
- [Setting up Authentication and Authorization](https://docs.ravendb.net/7.2/client-api/setting-up-authentication-and-authorization.md)
