RavenDB.Embedded
7.2.1
Prefix Reserved
dotnet add package RavenDB.Embedded --version 7.2.1
NuGet\Install-Package RavenDB.Embedded -Version 7.2.1
<PackageReference Include="RavenDB.Embedded" Version="7.2.1" />
<PackageVersion Include="RavenDB.Embedded" Version="7.2.1" />
<PackageReference Include="RavenDB.Embedded" />
paket add RavenDB.Embedded --version 7.2.1
#r "nuget: RavenDB.Embedded, 7.2.1"
#:package RavenDB.Embedded@7.2.1
#addin nuget:?package=RavenDB.Embedded&version=7.2.1
#tool nuget:?package=RavenDB.Embedded&version=7.2.1
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
- Embedded Server Guide - https://ravendb.net/articles/building-a-beer-vending-machine-program-with-ravendb-embedded-server 🛣️
- Documentation - https://ravendb.net/docs/article-page/server/embedded 🎒
- Code Samples - https://demo.ravendb.net/ 🧑💻
Community
- RavenDB's Discord - https://discord.gg/ravendb 🍻
- Articles & guides - https://ravendb.net/articles 📰
- YouTube - https://www.youtube.com/@ravendb_net 🍿
- Blog - https://ayende.com/blog/ 🧑💻
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
- Submit an issue - https://github.com/ravendb/ravendb/issues
- GitHub Discussions - https://github.com/ravendb/ravendb/discussions
- Contributing rules - https://github.com/ravendb/ravendb/blob/v7.2/CONTRIBUTING.md
| Product | Versions 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. |
-
.NETFramework 4.6.1
- RavenDB.Client (>= 7.2.1)
-
.NETStandard 2.0
- RavenDB.Client (>= 7.2.1)
- System.Runtime.Loader (>= 4.3.0)
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 (4)
Showing the top 4 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
|
| Version | Downloads | Last Updated |
|---|---|---|
| 7.2.1 | 2,495 | 3/17/2026 |
| 7.2.1-rc-72004 | 169 | 3/4/2026 |
| 7.2.0 | 5,670 | 2/2/2026 |
| 7.2.0-rc-72002 | 168 | 1/27/2026 |
| 7.2.0-rc-72001 | 160 | 1/26/2026 |
| 7.2.0-rc-72000 | 1,082 | 1/21/2026 |
| 7.1.7 | 348 | 3/17/2026 |
| 7.1.6 | 781 | 2/2/2026 |
| 7.1.6-rc-71029 | 143 | 1/21/2026 |
| 7.1.5 | 9,082 | 12/22/2025 |
| 7.1.5-rc-71026 | 364 | 12/18/2025 |
| 7.1.5-rc-71025 | 497 | 12/11/2025 |
| 7.1.4 | 7,635 | 11/12/2025 |
| 7.0.9 | 258 | 12/22/2025 |
| 7.0.8 | 364 | 11/12/2025 |
| 6.2.14 | 1,129 | 3/17/2026 |
| 6.2.14-rc-62077 | 126 | 3/4/2026 |
| 6.2.13 | 17,982 | 2/2/2026 |
| 6.2.12 | 33,768 | 12/22/2025 |
| 5.4.214 | 195 | 2/23/2026 |