RavenDB.Embedded 7.2.0

Prefix Reserved
dotnet add package RavenDB.Embedded --version 7.2.0
                    
NuGet\Install-Package RavenDB.Embedded -Version 7.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RavenDB.Embedded" Version="7.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RavenDB.Embedded" Version="7.2.0" />
                    
Directory.Packages.props
<PackageReference Include="RavenDB.Embedded" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RavenDB.Embedded --version 7.2.0
                    
#r "nuget: RavenDB.Embedded, 7.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RavenDB.Embedded@7.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RavenDB.Embedded&version=7.2.0
                    
Install as a Cake Addin
#tool nuget:?package=RavenDB.Embedded&version=7.2.0
                    
Install as a Cake Tool

RavenDB .NET Embedded Server

You're looking at RavenDB .NET Embedded Server NuGet release.
It lets you to spin-up RavenDB server locally in no-time using friendly API.

RavenDB is a NoSQL database that fuses extreme performance with ease-of-use, offering above the roof developer experience.
Learn more at https://ravendb.net or visit our GitHub repository.

Installation

Check the runtime prerequisites in our docs and get the latest stable version from NuGet.

Learning resources

Community

Getting started

Initialize

EmbeddedServer.Instance.StartServer();
using (var store = EmbeddedServer.Instance.GetDocumentStore("Embedded"))
{
    using (var session = store.OpenSession())
    {
        // Your code here
    }
}

Store documents

using (IDocumentSession session = store.OpenSession())  // Open a session for a default 'Database'
{
    Category category = new Category
    {
        Name = "Database Category"
    };

    session.Store(category);                            // Assign an 'Id' and collection (Categories)
                                                        // and start tracking an entity

    Product product = new Product
    {
        Name = "RavenDB Database",
        Category = category.Id,
        UnitsInStock = 10
    };

    session.Store(product);                             // Assign an 'Id' and collection (Products)
                                                        // and start tracking an entity

    session.SaveChanges();                              // Send to the Server
                                                        // one request processed in one transaction
}

Query

using (IDocumentSession session = store.OpenSession())  // Open a session for a default 'Database'
{
    List<string> productNames = session
        .Query<Product>()                               // Query for Products
        .Where(x => x.UnitsInStock > 5)                 // Filter
        .Skip(0).Take(10)                               // Page
        .Select(x => x.Name)                            // Project
        .ToList();                                      // Materialize query
}

Contributing

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on RavenDB.Embedded:

Package Downloads
RavenDB.TestDriver

Package Description

Particular.PlatformSample.ServiceControl

Particular ServiceControl binaries for use by Particular.PlatformSample. Not intended for use outside of Particular.PlatformSample.

FubuMVC.RavenDb

Drop in persistence with RavenDb for FubuMVC / StructureMap applications

BuildingBlocks.Store.RavenDB.TestHelpers.SpecFlow

Helpers for integration tests with RavenDB and SpecFlow

BrickPile

BrickPile is a lightweight CMS built on RavenDB and ASP.NET MVC 5

GitHub repositories (9)

Showing the top 9 popular GitHub repositories that depend on RavenDB.Embedded:

Repository Stars
SharpRepository/SharpRepository
C# Generic Repository for use with Entity Framework, RavenDB and more with built-in caching options.
TcOpenGroup/TcOpen
Application framework for industrial automation built on top of TwinCAT3 and .NET.
dnauck/License.Manager
A web based license manager for Portable.Licensing developed using AngularJS and ServiceStack. Portable.Licensing is a cross platform software licensing framework which allows you to implement licensing into your application or library. It provides you all tools to create and validate licenses for your software.
sachabarber/SachaBarber.CQRS.Demo
Small CQRS demo
RWS/Sdl-Community
This is the place where we develop and maintain most of plugins for Trados Studio. If you want to help us or just looking for some examples this is the perfect place.
BitTacklr/Projac
A set of .NET projection libraries
RemiBou/Toss.Blazor
Experimental project using AspNetCore Blazor
bizanc/Bizanc.io.Core
Bizanc Blockchain
scriptcs/scriptcs-samples
Sample usages of scriptcs
Version Downloads Last Updated
7.2.0 1,034 2/2/2026
7.2.0-rc-72002 149 1/27/2026
7.2.0-rc-72001 142 1/26/2026
7.2.0-rc-72000 276 1/21/2026
7.1.6 237 2/2/2026
7.1.6-rc-71029 125 1/21/2026
7.1.5 5,282 12/22/2025
7.1.5-rc-71026 326 12/18/2025
7.1.5-rc-71025 481 12/11/2025
7.1.4 6,459 11/12/2025
7.1.4-rc-71023 216 11/7/2025
7.1.4-rc-71022 305 10/29/2025
7.1.4-rc-71021 190 10/28/2025
7.1.4-rc-71020 274 10/27/2025
7.0.9 236 12/22/2025
7.0.8 345 11/12/2025
6.2.13 5,156 2/2/2026
6.2.12 10,100 12/22/2025
6.2.11 3,117 11/12/2025
5.4.213 1,031 11/12/2025
Loading failed