Popularity
8.9
Growing
Activity
9.9
Stable
2,380
156
729

Code Quality Rank: L2
Monthly Downloads: 13,800
Programming language: C#
Tags: Database     Nosql     Document     Ravendb     Raven    
Latest version: v4.2.8

RavenDB alternatives and similar packages

Based on the "Database" category

Do you think we are missing an alternative of RavenDB or a related project?

Add another 'Database' Package

README

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](docs/readmeScreenshot.png)

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.

Documentation

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

Please check where to report an issue in our [contribution guidelines](./CONTRIBUTING.md#reporting-an-issue).

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 how to submit a Pull Request in our [contribution guidelines](./CONTRIBUTING.md#submitting-a-pull-request).

Setup & Run

First please review and set up prerequisites.

Launch RavenDB:

Running locally:

<path/to/ravendb>/Server/Raven.Server

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.2.0-*
  • Replace the content of Program.cs with the following: ```csharp 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"
        })
        {
            store.Initialize();

            using (var session = store.OpenSession())
            {
                var shipper = session.Load<Shippers>("shippers/1-A");
                Console.WriteLine("Shipper #1 : " + shipper.Name + ", Phone: " + shipper.Phone);
            }
        }
    }
}

}


- Type:
```bash
dotnet restore
dotnet build
dotnet run
Enjoy :)


*Note that all licence references and agreements mentioned in the RavenDB README section above are relevant to that project's source code only.