Chapter 3. RavenDB.NET Client API

RavenDB is written in C# that runs on the Microsoft .NET Framework. The .NET Client API exposes all aspects of the RavenDB server to your application in a seamless manner and can be accessed from any .NET language.

In this chapter, you will learn step-by-step how to connect to RavenDB to interact with the server by writing some C# code and perform various basic operations such as loading, saving, inserting, updating, and deleting documents from the RavenDB server.

In this chapter, we will learn how to use the RavenDB Client API for:

  • Setting up your development environment
  • Connecting to RavenDB
  • Loading a document
  • Creating a document
  • Inserting a new document
  • Updating a document
  • Deleting a document
  • Querying documents in a collection