ACID Document Database
Clone or download
Failed to load latest commit information.
ToMigrate RavenDB-7070 updated to .NET Core 2.1.2 and updated packages Jul 10, 2018
bench RavenDB-7070 updated packages Oct 12, 2018
docker RavenDB-7736 make 4.1 latest on docker hub Aug 31, 2018
docs RavenDB-10467 Setup instructions URL is wrong Feb 15, 2018
libs RavenDB-11974 Error Sort Only Query Sep 27, 2018
scripts RavenDB-11783 add runtime.txt Aug 31, 2018
src RavenDB-12133 fixed message Oct 23, 2018
test RavenDB-12133 fixed message Oct 23, 2018
tools RavenDB-11873 New database from v3.x usability issues - block this fe… Oct 18, 2018
.editorconfig RavenDB-7070 Apr 16, 2018
.gitattributes RavenDB-6243 delete ravendbd temporarily to readd it later Feb 7, 2017
.gitignore add DotSettings to gitignore Aug 13, 2018 RavenDB-11270 update readme; add Jun 11, 2018
LICENSE RavenDB-10097 updated EULA May 8, 2018
NuGet.Config RavenDB-7070 updated packages May 30, 2018
RavenDB.Client.ruleset RavenDB-11326 go over client public API and check if we are not missi… Jun 13, 2018
RavenDB.ruleset RavenDB-7070 disabled RS1022 due to NRE that it throws Sep 14, 2018
RavenDB.sln RavenDB-11903 write simple benchmarks for easier regression detection Sep 7, 2018
RavenDB.sln.DotSettings RavenDB-6572 removed TestIndex feature via #FEATURE_TEST_INDEX Nov 26, 2017
RavenDB.snk RavenDB-9041 signing DLLs Dec 12, 2017
build.ps1 RavenDB-11783 add runtime.txt Aug 31, 2018 RavenDB-9435 updated Dec 12, 2017
git_setup.cmd RavenDB-4343 migrated git pre-commit hook Feb 11, 2016 pre-commit sh 2 bash Apr 21, 2016 RavenDB-7070 Jun 26, 2018 RavenDB-11320, RavenDB-11328 update docker scripts for ubuntu 18.04; … Jun 13, 2018 RavenDB-11270 update docs links in readme Aug 31, 2018 Fix Tests: Subscription Dec 25, 2016
upload.ps1 RavenDB-9540 Prepare build scripts for RTM - upload scripts Dec 15, 2017

RavenDB - An ACID NoSQL Document Database

This repository contains source code for the RavenDB document database. With a RavenDB database you can set up a NoSQL data architecture or add a NoSQL layer to your current relational database.

RavenDB Studio

Supported Platforms

  • Windows
  • Linux
  • Docker
  • MacOS
  • Raspberry Pi

Grab Your License and Download Latest Version

Request your license.

Download the latest version of RavenDB.

Getting Started

Install and set up your database.

Learn RavenDB Quickly

RavenDB Bootcamp is a free, self-directed learning course. In just three units you will learn how to use RavenDB to create fully-functional, real-world programs with NoSQL Databases. If you are unfamiliar with NoSQL, it’s okay. We will provide you with all the information you need.

Stay Updated on New Developments

We keep adding new features to improve your RavenDB experience. Check out our latest improvements, updated weekly.


Access full documentation for RavenDB. Like our database, it is easy to use.

Where to Ask for Help

If you have any questions, or need further assistance, you can contact us directly.

Report an Issue

You can create issues and track them at our YouTrack page.

RavenDB Developer Community Group

If you have any questions please visit our community group. The solutions for the most common challenges are available. You are welcome to join!

Pull requests

Please check out our contribution guidelines.

Setup & Run

First please review and set up prerequisites.

Launch RavenDB:

Running locally:


Registering as service in Windows using rvn utility available in the package Server directory:

<path\to\ravendb>\rvn.exe windows-service register --service-name RavenDB4

Hello World (.NET)

Server Side

  • Launch a RavenDB server instance as follows:
<path/to/ravendb>/Server/Raven.Server --ServerUrl=http://localhost:8080
  • Open a web browser and enter http://localhost:8080

  • Click on Databases in the menu on the left-hand side, and then create a new database named SampleDataDB

  • Click on Settings and then on Create Sample Data in the left menu. Now Click on Create

Client Side

mkdir HelloWorld
cd HelloWorld
dotnet new console
  • Add the RavenDB Client package:
   dotnet add package RavenDB.Client --version 4.1.0-*
  • Replace the content of Program.cs with the following:
using System;
using Raven.Client.Documents;

namespace HelloWorld
    class Shippers
        public string Name;
        public string Phone;
    class Program
        static void Main(string[] args)
            using (var store = new DocumentStore
                Urls = new string[] {"http://localhost:8080"},
                Database = "SampleDataDB"

                using (var session = store.OpenSession())
                    var shipper = session.Load<Shippers>("shippers/1-A");
                    Console.WriteLine("Shipper #1 : " + shipper.Name + ", Phone: " + shipper.Phone);
  • Type:
dotnet restore
dotnet build
dotnet run
Enjoy :)