RavenDB.Embedded 7.1.1

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package RavenDB.Embedded --version 7.1.1
                    
NuGet\Install-Package RavenDB.Embedded -Version 7.1.1
                    
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.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RavenDB.Embedded" Version="7.1.1" />
                    
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.1.1
                    
#r "nuget: RavenDB.Embedded, 7.1.1"
                    
#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.1.1
                    
#: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.1.1
                    
Install as a Cake Addin
#tool nuget:?package=RavenDB.Embedded&version=7.1.1
                    
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
BitTacklr/Projac
A set of .NET projection libraries
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.
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.1.2-rc-71011 90 8/11/2025
7.1.2-rc-71008 178 8/6/2025
7.1.1 581 7/22/2025
7.1.1-rc-71006 182 7/8/2025
7.1.0 2,842 7/1/2025
7.1.0-rc-71004 181 6/25/2025
7.1.0-rc-71003 178 6/18/2025
7.1.0-rc-71000 196 5/29/2025
7.0.4 636 6/25/2025
7.0.3 1,236 6/10/2025
7.0.2 7,506 4/29/2025
7.0.1 13,842 3/27/2025
7.0.0 31,973 2/4/2025
6.2.8 489 7/22/2025
6.2.7 264 6/25/2025
6.2.6 5,286 6/10/2025
6.2.5 6,249 4/29/2025
6.2.4 11,099 3/18/2025
6.2.3 47,011 1/21/2025
6.2.2 48,865 12/11/2024
6.2.1 42,131 10/30/2024
6.2.0 41,728 9/17/2024
6.0.110 357 3/18/2025
6.0.109 3,197 1/21/2025
6.0.108 514 12/11/2024
6.0.107 2,865 10/30/2024
6.0.106 12,744 9/17/2024
6.0.105 48,908 7/23/2024
6.0.104 21,539 6/17/2024
6.0.103 19,725 5/16/2024
6.0.102 24,346 4/29/2024
6.0.101 66,857 3/19/2024
6.0.100 75,084 2/12/2024
6.0.4 8,548 1/19/2024
6.0.3 78,146 1/16/2024
6.0.2 8,119 12/27/2023
6.0.1 16,846 11/14/2023
6.0.0 14,391 10/2/2023
5.4.210 483 7/22/2025
5.4.209 848 6/10/2025
5.4.208 1,570 4/29/2025
5.4.207 3,840 3/18/2025
5.4.206 20,613 1/21/2025
5.4.205 7,014 12/11/2024
5.4.204 17,889 10/30/2024
5.4.203 19,105 10/2/2024
5.4.202 2,203 9/17/2024
5.4.201 46,670 7/23/2024
5.4.200 37,877 6/17/2024
5.4.119 5,523 5/16/2024
5.4.118 18,739 4/29/2024
5.4.117 28,256 3/19/2024
5.4.116 20,278 2/12/2024
5.4.115 10,654 1/18/2024
5.4.114 965 1/16/2024
5.4.113 17,796 12/27/2023
5.4.112 159,047 11/14/2023
5.4.111 23,449 10/3/2023
5.4.110 12,460 9/12/2023
5.4.109 39,599 8/1/2023
5.4.107 18,288 6/23/2023
5.4.106 2,781 6/22/2023
5.4.105 3,823 6/20/2023
5.4.104 76,546 5/12/2023
5.4.103 55,712 3/30/2023
5.4.102 8,814 3/27/2023
5.4.101 30,572 2/13/2023
5.4.100 47,443 1/9/2023
5.4.5 113,053 11/21/2022
5.4.4 36,341 10/12/2022
5.4.3 5,239 10/10/2022
5.4.2 38,078 9/1/2022
5.4.1 82,428 7/19/2022
5.4.0 20,123 7/18/2022
5.3.108 53,029 1/9/2023
5.3.107 8,463 11/21/2022
5.3.106 2,791 10/10/2022
5.3.105 4,448 9/1/2022
5.3.104 4,992 7/18/2022
5.3.103 56,325 6/7/2022
5.3.102 71,629 4/19/2022
5.3.101 32,581 3/15/2022
5.3.100 51,200 2/1/2022
5.3.2 14,981 1/7/2022
5.3.1 12,888 12/21/2021
5.3.0 7,801 11/29/2021
5.2.116 1,661 8/1/2023
5.2.115 1,563 6/23/2023
5.2.114 1,497 6/22/2023
5.2.113 1,601 6/20/2023
5.2.112 2,570 5/12/2023
5.2.111 2,776 3/30/2023
5.2.110 3,354 3/27/2023
5.2.109 2,638 2/13/2023
5.2.108 9,850 1/9/2023
5.2.107 2,308 11/21/2022
5.2.106 2,438 10/10/2022
5.2.105 2,533 9/1/2022
5.2.104 2,690 7/18/2022
5.2.103 4,000 6/7/2022
5.2.102 15,136 4/19/2022
5.2.101 22,423 3/15/2022
5.2.100 3,893 2/1/2022
5.2.6 2,993 1/7/2022
5.2.5 2,221 12/21/2021
5.2.4 17,320 11/15/2021
5.2.3 16,221 9/29/2021
5.2.2 22,937 8/16/2021
5.2.1 5,916 7/1/2021
5.2.0 6,808 6/21/2021
5.1.13 2,350 12/21/2021
5.1.12 2,400 11/15/2021
5.1.11 2,425 9/29/2021
5.1.10 2,488 8/16/2021
5.1.9 13,903 7/1/2021
5.1.8 6,926 5/26/2021
5.1.7 37,586 4/23/2021
5.1.6 4,623 4/13/2021
5.1.5 18,806 3/1/2021
5.1.4 16,673 2/1/2021
5.1.3 2,912 1/25/2021
5.1.2 12,060 12/11/2020
5.1.1 4,570 12/1/2020
5.1.0 4,194 11/18/2020
5.0.14 3,461 6/16/2021
5.0.13 2,585 5/24/2021
5.0.12 14,350 4/23/2021
5.0.11 6,060 4/13/2021
5.0.10 2,743 3/1/2021
5.0.9 2,763 2/1/2021
5.0.8 4,329 1/25/2021
5.0.7 5,605 12/11/2020
5.0.6 2,652 12/1/2020
5.0.5 21,643 11/16/2020
5.0.4 3,110 11/10/2020
5.0.3 9,416 9/28/2020
5.0.2 13,184 8/17/2020
5.0.1 4,062 8/5/2020
5.0.0 7,283 7/23/2020
4.2.124 1,463 6/19/2023
4.2.123 9,213 6/7/2022
4.2.122 4,052 4/19/2022
4.2.121 3,520 3/15/2022
4.2.120 5,402 2/1/2022
4.2.119 2,394 12/21/2021
4.2.118 3,772 11/15/2021
4.2.117 2,864 9/29/2021
4.2.116 2,795 8/16/2021
4.2.115 2,992 7/1/2021
4.2.114 5,168 5/24/2021
4.2.113 4,562 4/23/2021
4.2.112 2,678 4/13/2021
4.2.111 5,004 3/1/2021
4.2.110 4,533 2/1/2021
4.2.109 2,697 1/25/2021
4.2.108 5,754 11/16/2020
4.2.107 2,659 11/10/2020
4.2.106 8,364 9/28/2020
4.2.105 13,315 8/17/2020
4.2.104 5,775 7/22/2020
4.2.103 19,323 5/25/2020
4.2.102 8,467 4/15/2020
4.2.101 15,205 3/3/2020
4.2.100 2,815 3/2/2020
4.2.8 23,082 1/21/2020
4.2.6 11,013 12/9/2019
4.2.5 5,203 11/25/2019
4.2.5-patch-42026 1,991 11/13/2019
4.2.4 7,071 10/14/2019
4.2.4-patch-42020 1,986 9/27/2019
4.2.3 19,859 8/26/2019
4.2.2 18,103 7/15/2019
4.2.1 4,512 6/27/2019
4.2.0 6,448 5/21/2019
4.2.0-rc-42008 1,849 5/8/2019
4.2.0-rc-42007 1,802 4/25/2019
4.2.0-rc-42005 1,800 4/17/2019
4.2.0-rc-42003 1,808 4/12/2019
4.2.0-rc-42002 1,781 4/5/2019
4.2.0-rc-42001 1,816 3/22/2019
4.1.10 3,613 11/25/2019
4.1.9 2,691 10/14/2019
4.1.9-patch-41022 1,767 9/27/2019
4.1.8 5,672 8/26/2019
4.1.8-patch-41017 1,865 7/15/2019
4.1.7 2,766 6/27/2019
4.1.6 2,834 5/21/2019
4.1.5 19,243 4/15/2019
4.1.5-patch-41012 1,918 3/15/2019
4.1.4 13,791 2/13/2019
4.1.4-patch-41009 2,027 2/1/2019
4.1.4-patch-41008 3,510 1/7/2019
4.1.3 10,188 11/19/2018
4.1.3-patch-41006 2,523 11/5/2018
4.1.3-patch-41005 2,083 10/22/2018
4.1.2 8,626 10/15/2018
4.1.1 8,984 9/14/2018
4.1.0 6,170 8/31/2018
4.1.0-rc-41000 4,475 8/17/2018
3.5.10-patch-35323 148 8/8/2024
3.5.10-patch-35319 756 1/23/2023
3.5.10-patch-35312 783 4/12/2022
3.5.10-patch-35311 909 7/28/2021
3.5.10-patch-35310 837 7/15/2021
3.5.10-patch-35309 895 5/24/2021
3.5.10-patch-35308 978 5/16/2021
3.5.10-patch-35307 914 4/1/2021
3.5.10-patch-35305 1,026 1/13/2021
3.5.10-patch-35304 1,026 12/16/2020
3.5.10-patch-35303 1,013 12/3/2020
3.5.10-patch-35302 1,025 9/21/2020
3.5.10-patch-35301 1,032 8/27/2020
3.5.10-patch-35300 1,126 7/16/2020
3.5.10-patch-35296 1,063 6/19/2020
3.5.10-patch-35295 1,436 5/28/2020
3.5.10-patch-35294 1,110 5/6/2020
3.5.10-patch-35290 1,153 3/5/2020
3.5.10-patch-35289 3,025 11/7/2019
3.5.10-patch-35288 1,347 9/12/2019
3.5.10-patch-35286 1,292 8/13/2019
3.5.10-patch-35283 5,776 5/9/2019
3.5.10-patch-35282 1,502 4/23/2019
3.5.9 44,769 4/10/2019
3.5.9-patch-35280 1,365 3/19/2019
3.5.8 15,829 1/3/2019
3.5.8-patch-35278 1,451 12/10/2018
3.5.8-patch-35277 1,564 11/7/2018
3.5.8-patch-35276 1,509 11/2/2018
3.5.8-patch-35275 1,526 10/22/2018
3.5.7 25,462 9/6/2018
3.5.7-patch-35267 1,866 7/30/2018
3.5.7-patch-35266 2,059 5/31/2018
3.5.7-patch-35265 2,030 5/25/2018
3.5.7-patch-35264 1,990 5/25/2018
3.5.7-patch-35263 2,050 5/17/2018
3.5.6-patch-35261 2,162 4/15/2018
3.5.6-patch-35260 2,015 3/29/2018
3.5.6-patch-35259 6,471 3/27/2018
3.5.6-patch-35258 2,019 3/27/2018
3.5.6-patch-35257 2,088 3/7/2018
3.5.6-patch-35256 1,996 3/6/2018
3.5.6-patch-35253 1,965 2/28/2018
3.5.6-patch-35252 2,089 2/13/2018
3.5.6-patch-35251 2,055 2/7/2018
3.5.6-patch-35250 2,023 1/30/2018
3.5.6-patch-35249 1,975 1/25/2018
3.5.5 12,739 1/18/2018
3.5.5-patch-35246 2,933 1/10/2018
3.5.5-patch-35245 2,035 1/3/2018
3.5.5-patch-35244 1,877 12/12/2017
3.5.5-patch-35243 2,084 12/6/2017
3.5.5-patch-35241 1,823 11/24/2017
3.5.5-patch-35239 1,879 11/22/2017
3.5.5-patch-35237 1,819 11/16/2017
3.5.5-patch-35235 1,824 11/10/2017
3.5.5-patch-35232 1,847 11/8/2017
3.5.5-patch-35231 1,893 10/26/2017
3.5.5-patch-35223 1,988 10/10/2017
3.5.5-patch-35222 1,855 10/3/2017
3.5.5-patch-35221 1,844 9/25/2017
3.5.5-patch-35220 6,248 9/7/2017
3.5.5-patch-35219 1,870 9/4/2017
3.5.5-patch-35218 1,970 8/29/2017
3.5.5-patch-35216 2,607 7/24/2017
3.5.4 64,373 7/21/2017
3.5.4-patch-35202 1,996 5/5/2017
3.5.4-patch-35199 1,978 4/28/2017
3.5.4-patch-35196 1,925 4/25/2017
3.5.4-patch-35194 1,956 4/4/2017
3.5.3 29,486 3/8/2017
3.0.30187 2,499 5/19/2021
3.0.30183 8,464 4/1/2019
3.0.30182 12,884 4/27/2018
3.0.30181-Hotfix 1,877 4/17/2018
3.0.30180-Hotfix 1,933 3/29/2018
3.0.30179 8,891 7/21/2017
3.0.30175-Hotfix 1,834 5/11/2017
3.0.30172-Hotfix 2,088 3/30/2017
3.0.30171 3,140 3/8/2017
2.5.25043 10,319 1/13/2020
2.5.25042 3,463 10/3/2019
2.5.25041 14,096 5/16/2019
2.5.25040 3,809 10/17/2018
2.5.25039 5,803 10/2/2018
2.5.25038 3,457 9/17/2018
2.5.25037 3,519 9/13/2018
2.5.25034 3,391 9/6/2018
2.5.25033 3,361 8/17/2018
2.5.25032 10,053 5/8/2018
2.5.25031 5,042 5/3/2018
2.0.2380 44,260 7/11/2013
1.0.992 5,939 12/9/2012