RavenDB.Embedded 7.0.4

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.0.4
                    
NuGet\Install-Package RavenDB.Embedded -Version 7.0.4
                    
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.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RavenDB.Embedded" Version="7.0.4" />
                    
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.0.4
                    
#r "nuget: RavenDB.Embedded, 7.0.4"
                    
#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.
#addin nuget:?package=RavenDB.Embedded&version=7.0.4
                    
Install as a Cake Addin
#tool nuget:?package=RavenDB.Embedded&version=7.0.4
                    
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.0-rc-71004 101 6/25/2025
7.1.0-rc-71003 153 6/18/2025
7.1.0-rc-71000 178 5/29/2025
7.0.4 169 6/25/2025
7.0.3 1,094 6/10/2025
7.0.2 6,266 4/29/2025
7.0.1 13,716 3/27/2025
7.0.0 31,355 2/4/2025
6.2.7 106 6/25/2025
6.2.6 1,724 6/10/2025
6.2.5 5,312 4/29/2025
6.2.4 10,986 3/18/2025
6.2.3 44,650 1/21/2025
6.2.2 47,028 12/11/2024
6.2.1 41,822 10/30/2024
6.2.0 40,996 9/17/2024
6.0.110 322 3/18/2025
6.0.109 3,178 1/21/2025
6.0.108 506 12/11/2024
6.0.107 2,851 10/30/2024
6.0.106 12,735 9/17/2024
6.0.105 48,040 7/23/2024
6.0.104 21,379 6/17/2024
6.0.103 19,622 5/16/2024
6.0.102 24,306 4/29/2024
6.0.101 65,774 3/19/2024
6.0.100 73,645 2/12/2024
6.0.4 8,204 1/19/2024
6.0.3 78,122 1/16/2024
6.0.2 8,049 12/27/2023
6.0.1 16,806 11/14/2023
6.0.0 14,202 10/2/2023
5.4.209 535 6/10/2025
5.4.208 1,342 4/29/2025
5.4.207 3,752 3/18/2025
5.4.206 19,512 1/21/2025
5.4.205 6,140 12/11/2024
5.4.204 17,583 10/30/2024
5.4.203 18,671 10/2/2024
5.4.202 2,188 9/17/2024
5.4.201 46,090 7/23/2024
5.4.200 36,872 6/17/2024
5.4.119 5,515 5/16/2024
5.4.118 18,555 4/29/2024
5.4.117 28,227 3/19/2024
5.4.116 20,260 2/12/2024
5.4.115 10,642 1/18/2024
5.4.114 954 1/16/2024
5.4.113 17,785 12/27/2023
5.4.112 148,265 11/14/2023
5.4.111 23,418 10/3/2023
5.4.110 12,449 9/12/2023
5.4.109 39,388 8/1/2023
5.4.107 18,266 6/23/2023
5.4.106 2,759 6/22/2023
5.4.105 3,796 6/20/2023
5.4.104 76,492 5/12/2023
5.4.103 55,674 3/30/2023
5.4.102 8,790 3/27/2023
5.4.101 30,460 2/13/2023
5.4.100 47,319 1/9/2023
5.4.5 112,815 11/21/2022
5.4.4 36,233 10/12/2022
5.4.3 5,211 10/10/2022
5.4.2 38,027 9/1/2022
5.4.1 82,217 7/19/2022
5.4.0 20,076 7/18/2022
5.3.108 52,978 1/9/2023
5.3.107 8,353 11/21/2022
5.3.106 2,758 10/10/2022
5.3.105 4,421 9/1/2022
5.3.104 4,967 7/18/2022
5.3.103 56,292 6/7/2022
5.3.102 71,569 4/19/2022
5.3.101 32,534 3/15/2022
5.3.100 51,152 2/1/2022
5.3.2 14,829 1/7/2022
5.3.1 12,857 12/21/2021
5.3.0 7,774 11/29/2021
5.2.116 1,643 8/1/2023
5.2.115 1,542 6/23/2023
5.2.114 1,476 6/22/2023
5.2.113 1,581 6/20/2023
5.2.112 2,538 5/12/2023
5.2.111 2,745 3/30/2023
5.2.110 3,332 3/27/2023
5.2.109 2,608 2/13/2023
5.2.108 9,585 1/9/2023
5.2.107 2,279 11/21/2022
5.2.106 2,407 10/10/2022
5.2.105 2,508 9/1/2022
5.2.104 2,668 7/18/2022
5.2.103 3,970 6/7/2022
5.2.102 15,111 4/19/2022
5.2.101 22,390 3/15/2022
5.2.100 3,865 2/1/2022
5.2.6 2,972 1/7/2022
5.2.5 2,192 12/21/2021
5.2.4 17,295 11/15/2021
5.2.3 16,189 9/29/2021
5.2.2 22,753 8/16/2021
5.2.1 5,892 7/1/2021
5.2.0 6,780 6/21/2021
5.1.13 2,327 12/21/2021
5.1.12 2,371 11/15/2021
5.1.11 2,404 9/29/2021
5.1.10 2,461 8/16/2021
5.1.9 13,877 7/1/2021
5.1.8 6,900 5/26/2021
5.1.7 37,557 4/23/2021
5.1.6 4,599 4/13/2021
5.1.5 18,748 3/1/2021
5.1.4 16,642 2/1/2021
5.1.3 2,888 1/25/2021
5.1.2 12,004 12/11/2020
5.1.1 4,549 12/1/2020
5.1.0 4,168 11/18/2020
5.0.14 3,435 6/16/2021
5.0.13 2,557 5/24/2021
5.0.12 14,321 4/23/2021
5.0.11 6,035 4/13/2021
5.0.10 2,721 3/1/2021
5.0.9 2,736 2/1/2021
5.0.8 4,306 1/25/2021
5.0.7 5,580 12/11/2020
5.0.6 2,624 12/1/2020
5.0.5 21,620 11/16/2020
5.0.4 3,086 11/10/2020
5.0.3 9,377 9/28/2020
5.0.2 13,126 8/17/2020
5.0.1 4,036 8/5/2020
5.0.0 7,248 7/23/2020
4.2.124 1,443 6/19/2023
4.2.123 9,161 6/7/2022
4.2.122 4,028 4/19/2022
4.2.121 3,496 3/15/2022
4.2.120 5,371 2/1/2022
4.2.119 2,357 12/21/2021
4.2.118 3,748 11/15/2021
4.2.117 2,840 9/29/2021
4.2.116 2,682 8/16/2021
4.2.115 2,966 7/1/2021
4.2.114 5,143 5/24/2021
4.2.113 4,537 4/23/2021
4.2.112 2,652 4/13/2021
4.2.111 4,981 3/1/2021
4.2.110 4,509 2/1/2021
4.2.109 2,673 1/25/2021
4.2.108 5,730 11/16/2020
4.2.107 2,633 11/10/2020
4.2.106 8,338 9/28/2020
4.2.105 13,287 8/17/2020
4.2.104 5,747 7/22/2020
4.2.103 19,292 5/25/2020
4.2.102 8,441 4/15/2020
4.2.101 15,166 3/3/2020
4.2.100 2,788 3/2/2020
4.2.8 22,909 1/21/2020
4.2.6 10,990 12/9/2019
4.2.5 5,178 11/25/2019
4.2.5-patch-42026 1,970 11/13/2019
4.2.4 7,047 10/14/2019
4.2.4-patch-42020 1,956 9/27/2019
4.2.3 19,830 8/26/2019
4.2.2 18,075 7/15/2019
4.2.1 4,487 6/27/2019
4.2.0 6,423 5/21/2019
4.2.0-rc-42008 1,815 5/8/2019
4.2.0-rc-42007 1,774 4/25/2019
4.2.0-rc-42005 1,771 4/17/2019
4.2.0-rc-42003 1,778 4/12/2019
4.2.0-rc-42002 1,755 4/5/2019
4.2.0-rc-42001 1,786 3/22/2019
4.1.10 3,588 11/25/2019
4.1.9 2,661 10/14/2019
4.1.9-patch-41022 1,743 9/27/2019
4.1.8 5,642 8/26/2019
4.1.8-patch-41017 1,837 7/15/2019
4.1.7 2,738 6/27/2019
4.1.6 2,808 5/21/2019
4.1.5 19,205 4/15/2019
4.1.5-patch-41012 1,888 3/15/2019
4.1.4 13,763 2/13/2019
4.1.4-patch-41009 2,000 2/1/2019
4.1.4-patch-41008 3,484 1/7/2019
4.1.3 10,157 11/19/2018
4.1.3-patch-41006 2,491 11/5/2018
4.1.3-patch-41005 2,055 10/22/2018
4.1.2 8,585 10/15/2018
4.1.1 8,954 9/14/2018
4.1.0 6,140 8/31/2018
4.1.0-rc-41000 4,445 8/17/2018
3.5.10-patch-35323 138 8/8/2024
3.5.10-patch-35319 734 1/23/2023
3.5.10-patch-35312 757 4/12/2022
3.5.10-patch-35311 885 7/28/2021
3.5.10-patch-35310 813 7/15/2021
3.5.10-patch-35309 868 5/24/2021
3.5.10-patch-35308 958 5/16/2021
3.5.10-patch-35307 891 4/1/2021
3.5.10-patch-35305 1,003 1/13/2021
3.5.10-patch-35304 1,004 12/16/2020
3.5.10-patch-35303 988 12/3/2020
3.5.10-patch-35302 1,005 9/21/2020
3.5.10-patch-35301 1,009 8/27/2020
3.5.10-patch-35300 1,097 7/16/2020
3.5.10-patch-35296 1,039 6/19/2020
3.5.10-patch-35295 1,412 5/28/2020
3.5.10-patch-35294 1,086 5/6/2020
3.5.10-patch-35290 1,127 3/5/2020
3.5.10-patch-35289 2,996 11/7/2019
3.5.10-patch-35288 1,317 9/12/2019
3.5.10-patch-35286 1,270 8/13/2019
3.5.10-patch-35283 5,702 5/9/2019
3.5.10-patch-35282 1,477 4/23/2019
3.5.9 44,455 4/10/2019
3.5.9-patch-35280 1,340 3/19/2019
3.5.8 15,803 1/3/2019
3.5.8-patch-35278 1,427 12/10/2018
3.5.8-patch-35277 1,539 11/7/2018
3.5.8-patch-35276 1,480 11/2/2018
3.5.8-patch-35275 1,497 10/22/2018
3.5.7 25,429 9/6/2018
3.5.7-patch-35267 1,817 7/30/2018
3.5.7-patch-35266 1,990 5/31/2018
3.5.7-patch-35265 1,957 5/25/2018
3.5.7-patch-35264 1,919 5/25/2018
3.5.7-patch-35263 1,982 5/17/2018
3.5.6-patch-35261 2,090 4/15/2018
3.5.6-patch-35260 1,942 3/29/2018
3.5.6-patch-35259 6,401 3/27/2018
3.5.6-patch-35258 1,943 3/27/2018
3.5.6-patch-35257 2,015 3/7/2018
3.5.6-patch-35256 1,927 3/6/2018
3.5.6-patch-35253 1,891 2/28/2018
3.5.6-patch-35252 2,015 2/13/2018
3.5.6-patch-35251 1,980 2/7/2018
3.5.6-patch-35250 1,948 1/30/2018
3.5.6-patch-35249 1,900 1/25/2018
3.5.5 12,686 1/18/2018
3.5.5-patch-35246 2,883 1/10/2018
3.5.5-patch-35245 1,963 1/3/2018
3.5.5-patch-35244 1,828 12/12/2017
3.5.5-patch-35243 2,011 12/6/2017
3.5.5-patch-35241 1,773 11/24/2017
3.5.5-patch-35239 1,833 11/22/2017
3.5.5-patch-35237 1,769 11/16/2017
3.5.5-patch-35235 1,771 11/10/2017
3.5.5-patch-35232 1,795 11/8/2017
3.5.5-patch-35231 1,839 10/26/2017
3.5.5-patch-35223 1,935 10/10/2017
3.5.5-patch-35222 1,802 10/3/2017
3.5.5-patch-35221 1,790 9/25/2017
3.5.5-patch-35220 6,195 9/7/2017
3.5.5-patch-35219 1,816 9/4/2017
3.5.5-patch-35218 1,919 8/29/2017
3.5.5-patch-35216 2,553 7/24/2017
3.5.4 64,200 7/21/2017
3.5.4-patch-35202 1,947 5/5/2017
3.5.4-patch-35199 1,927 4/28/2017
3.5.4-patch-35196 1,873 4/25/2017
3.5.4-patch-35194 1,903 4/4/2017
3.5.3 28,936 3/8/2017
3.0.30187 2,465 5/19/2021
3.0.30183 8,436 4/1/2019
3.0.30182 12,743 4/27/2018
3.0.30181-Hotfix 1,808 4/17/2018
3.0.30180-Hotfix 1,864 3/29/2018
3.0.30179 8,840 7/21/2017
3.0.30175-Hotfix 1,789 5/11/2017
3.0.30172-Hotfix 2,038 3/30/2017
3.0.30171 3,091 3/8/2017
2.5.25043 10,137 1/13/2020
2.5.25042 3,442 10/3/2019
2.5.25041 14,029 5/16/2019
2.5.25040 3,786 10/17/2018
2.5.25039 5,776 10/2/2018
2.5.25038 3,430 9/17/2018
2.5.25037 3,495 9/13/2018
2.5.25034 3,365 9/6/2018
2.5.25033 3,334 8/17/2018
2.5.25032 9,790 5/8/2018
2.5.25031 4,953 5/3/2018
2.0.2380 43,390 7/11/2013
1.0.992 5,880 12/9/2012