RavenDB.Client 7.0.4

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package RavenDB.Client --version 7.0.4
                    
NuGet\Install-Package RavenDB.Client -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.Client" Version="7.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RavenDB.Client" Version="7.0.4" />
                    
Directory.Packages.props
<PackageReference Include="RavenDB.Client" />
                    
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.Client --version 7.0.4
                    
#r "nuget: RavenDB.Client, 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.
#:package RavenDB.Client@7.0.4
                    
#: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.Client&version=7.0.4
                    
Install as a Cake Addin
#tool nuget:?package=RavenDB.Client&version=7.0.4
                    
Install as a Cake Tool

RavenDB .NET Client

You're looking at RavenDB .NET Client (SDK) NuGet release.
It makes it easy for you to communicate with your RavenDB instance, letting you perform any database operations with 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

Get the latest stable version from NuGet.

Learning resources

Community

Getting started

Initialize

using (IDocumentStore store = new DocumentStore
{
    Urls = new[]                        // URL to the Server,
    {                                   // or list of URLs 
        "http://live-test.ravendb.net"  // to all Cluster Servers (Nodes)
    },
    Database = "Northwind",             // Default database that DocumentStore will interact with
    Conventions = { }                   // DocumentStore customizations
})
{
    store.Initialize();                 // Each DocumentStore needs to be initialized before use.
                                        // This process establishes the connection with the Server
                                        // and downloads various configurations
                                        // e.g. cluster topology or client configuration
}

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 is compatible.  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 is compatible.  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 is compatible.  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 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  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 (242)

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

Package Downloads
RavenDB.Database

Use this package if you want extend RavenDB. Don't use this package if you just want to work with existing RavenDB server, in order to so just use the client API which is in the RavenDB.Client package. RavenDB is a document database for the .NET platform, offering a flexible data model design to fit the needs of real world systems. Note: If you encounter issue to install this package, please consult the following link: https://groups.google.com/forum/#!topic/ravendb/4TeMq7_7Esc

RavenDB.Embedded

RavenDB Embedded library to run ravendb in embedded way

TIKSN-Framework

This is a .NET Framework enhancement framework. Main features are Versioning, Finance, Currency, Foreign Exchange, Money, Pricing strategy, Telemetry, Composite Weighted Progress, Repository and Unity of Wok pattern implementation with Entity Framework Core, Network Connectivity Service and Triggering, Settings, Windows Registry configuration source, Azure Storage Repository, MongoDB Repository, NoDB Repository, Lingual and Regional Localization, Serialization, Rest Requester, Rest Repository, Dependency Injection, Composition Root Setup base classes.

RavenDB.Client.UniqueConstraints

RavenDB 'Unique Constraints' bundle client. Allow the user to implement unique constraints in the objects (useful for properties like email or social security number).

RavenDB.Client.Authorization

RavenDB 'Authorization' bundle client extend RavenDB and add document level permissions.

GitHub repositories (38)

Showing the top 20 popular GitHub repositories that depend on RavenDB.Client:

Repository Stars
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
ChilliCream/graphql-platform
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Nitro the awesome Monaco based GraphQL IDE.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
testcontainers/testcontainers-dotnet
A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
FastReports/FastReport
Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports
thepirat000/Audit.NET
An extensible framework to audit executing operations in .NET and .NET Core.
asynkron/protoactor-dotnet
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
JasperFx/wolverine
Supercharged .NET server side development!
brockallen/BrockAllen.MembershipReboot
MembershipReboot is a user identity management and authentication library.
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
revoframework/Revo
Event Sourcing, CQRS and DDD framework for C#/.NET Core.
aelassas/wexflow
Workflow Automation Engine
PacktPublishing/Hands-On-Domain-Driven-Design-with-.NET-Core
Hands-On Domain-Driven Design with .NET Core, published by Packt
SharpRepository/SharpRepository
C# Generic Repository for use with Entity Framework, RavenDB and more with built-in caching options.
pjvds/ncqrs
Ncqrs Framework - The CQRS Framework for .NET
CommunityToolkit/Aspire
A community project with additional components and extensions for .NET Aspire
linkdotnet/Blog
A blog (engine) completely written in C# and Blazor. It aims to be a simple use and easy to extend platform. Blogposts are written in Markdown and are rendered to HTML. This gives all the flexibility needed to express yourself but also have an easy way of creating posts in the first place.
n2cms/n2cms
N2 CMS, an open source CMS for ASP.NET
TcOpenGroup/TcOpen
Application framework for industrial automation built on top of TwinCAT3 and .NET.
Version Downloads Last Updated
7.1.2 4,886 8/19/2025
7.1.2-rc-71011 284 8/11/2025
7.1.2-rc-71008 258 8/6/2025
7.1.1 6,543 7/22/2025
7.1.1-rc-71006 339 7/8/2025
7.1.0 9,507 7/1/2025
7.1.0-rc-71004 344 6/25/2025
7.1.0-rc-71003 201 6/18/2025
7.1.0-rc-71000 255 5/29/2025
7.0.6 313 8/19/2025
7.0.5 749 7/22/2025
7.0.4 2,532 6/25/2025
7.0.3 6,366 6/10/2025
7.0.2 39,827 4/29/2025
7.0.1 17,132 3/27/2025
7.0.0 36,351 2/4/2025
6.2.9 1,593 8/19/2025
6.2.8 3,500 7/22/2025
6.2.7 2,205 6/25/2025
6.2.6 9,753 6/10/2025
6.2.5 15,104 4/29/2025
6.2.4 35,259 3/18/2025
6.2.3 118,409 1/21/2025
6.2.2 48,059 12/11/2024
6.2.1 69,582 10/30/2024
6.2.0 69,464 9/17/2024
6.0.110 989 3/18/2025
6.0.109 1,840 1/21/2025
6.0.108 1,649 12/11/2024
6.0.107 2,542 10/30/2024
6.0.106 51,438 9/17/2024
6.0.105 107,491 7/23/2024
6.0.104 87,385 6/17/2024
6.0.103 21,643 5/16/2024
6.0.102 36,471 4/29/2024
6.0.101 54,098 3/19/2024
6.0.100 80,390 2/12/2024
6.0.4 24,323 1/19/2024
6.0.3 84,165 1/16/2024
6.0.2 74,631 12/27/2023
6.0.1 81,897 11/14/2023
6.0.0 29,945 10/2/2023
5.4.211 1,077 8/19/2025
5.4.210 1,528 7/22/2025
5.4.209 2,107 6/10/2025
5.4.208 3,892 4/29/2025
5.4.207 9,957 3/18/2025
5.4.206 30,166 1/21/2025
5.4.205 10,166 12/11/2024
5.4.204 42,817 10/30/2024
5.4.203 16,081 10/2/2024
5.4.202 10,712 9/17/2024
5.4.201 50,981 7/23/2024
5.4.200 94,984 6/17/2024
5.4.119 12,367 5/16/2024
5.4.118 31,057 4/29/2024
5.4.117 25,985 3/19/2024
5.4.116 72,002 2/12/2024
5.4.115 27,847 1/18/2024
5.4.114 1,343 1/16/2024
5.4.113 13,235 12/27/2023
5.4.112 226,915 11/14/2023
5.4.111 40,990 10/3/2023
5.4.110 30,898 9/12/2023
5.4.109 147,621 8/1/2023
5.4.107 139,535 6/23/2023
5.4.106 3,781 6/22/2023
5.4.105 9,287 6/20/2023
5.4.104 156,415 5/12/2023
5.4.103 151,024 3/30/2023
5.4.102 15,783 3/27/2023
5.4.101 80,688 2/13/2023
5.4.100 198,272 1/9/2023
5.4.5 164,170 11/21/2022
5.4.4 113,419 10/12/2022
5.4.3 13,575 10/10/2022
5.4.2 94,848 9/1/2022
5.4.1 265,591 7/19/2022
5.4.0 17,103 7/18/2022
5.3.108 53,747 1/9/2023
5.3.107 15,450 11/21/2022
5.3.106 5,302 10/10/2022
5.3.105 5,497 9/1/2022
5.3.104 30,518 7/18/2022
5.3.103 98,890 6/7/2022
5.3.102 235,637 4/19/2022
5.3.101 147,262 3/15/2022
5.3.100 157,721 2/1/2022
5.3.2 52,556 1/7/2022
5.3.1 31,088 12/21/2021
5.3.0 39,491 11/29/2021
5.2.116 2,051 8/1/2023
5.2.115 2,112 6/23/2023
5.2.114 1,952 6/22/2023
5.2.113 1,949 6/20/2023
5.2.112 3,070 5/12/2023
5.2.111 3,417 3/30/2023
5.2.110 3,564 3/27/2023
5.2.109 3,354 2/13/2023
5.2.108 14,555 1/9/2023
5.2.107 5,133 11/21/2022
5.2.106 4,618 10/10/2022
5.2.105 6,108 9/1/2022
5.2.104 3,712 7/18/2022
5.2.103 4,986 6/7/2022
5.2.102 18,243 4/19/2022
5.2.101 34,825 3/15/2022
5.2.100 25,857 2/1/2022
5.2.6 11,132 1/7/2022
5.2.5 6,453 12/21/2021
5.2.4 69,082 11/15/2021
5.2.3 208,785 9/29/2021
5.2.2 120,802 8/16/2021
5.2.1 119,194 7/1/2021
5.2.0 21,115 6/21/2021
5.1.13 3,563 12/21/2021
5.1.12 3,439 11/15/2021
5.1.11 8,674 9/29/2021
5.1.10 4,800 8/16/2021
5.1.9 17,576 7/1/2021
5.1.8 38,030 5/26/2021
5.1.7 101,099 4/23/2021
5.1.6 34,321 4/13/2021
5.1.5 107,414 3/1/2021
5.1.4 89,230 2/1/2021
5.1.3 30,612 1/25/2021
5.1.2 134,604 12/11/2020
5.1.1 10,792 12/1/2020
5.1.0 25,965 11/18/2020
5.0.14 6,124 6/16/2021
5.0.13 3,529 5/24/2021
5.0.12 15,225 4/23/2021
5.0.11 11,495 4/13/2021
5.0.10 4,040 3/1/2021
5.0.9 5,982 2/1/2021
5.0.8 5,648 1/25/2021
5.0.7 8,987 12/11/2020
5.0.6 3,880 12/1/2020
5.0.5 29,061 11/16/2020
5.0.4 20,015 11/10/2020
5.0.3 49,352 9/28/2020
5.0.2 159,136 8/17/2020
5.0.1 7,322 8/5/2020
5.0.0 283,658 7/23/2020
4.2.124 3,433 6/19/2023
4.2.123 28,701 6/7/2022
4.2.122 5,501 4/19/2022
4.2.121 7,359 3/15/2022
4.2.120 17,480 2/1/2022
4.2.119 4,359 12/21/2021
4.2.118 8,795 11/15/2021
4.2.117 8,737 9/29/2021
4.2.116 6,564 8/16/2021
4.2.115 4,589 7/1/2021
4.2.114 13,334 5/24/2021
4.2.113 6,841 4/23/2021
4.2.112 18,450 4/13/2021
4.2.111 13,305 3/1/2021
4.2.110 16,889 2/1/2021
4.2.109 4,892 1/25/2021
4.2.108 35,290 11/16/2020
4.2.107 3,931 11/10/2020
4.2.106 27,547 9/28/2020
4.2.105 24,359 8/17/2020
4.2.104 7,579 7/22/2020
4.2.103 70,824 5/25/2020
4.2.102 42,123 4/15/2020
4.2.101 68,967 3/3/2020
4.2.100 4,967 3/2/2020
4.2.8 92,380 1/21/2020
4.2.6 110,004 12/9/2019
4.2.5 31,921 11/25/2019
4.2.5-patch-42026 2,556 11/13/2019
4.2.4 45,008 10/14/2019
4.2.4-patch-42020 2,812 9/27/2019
4.2.3 128,563 8/26/2019
4.2.2 47,092 7/15/2019
4.2.1 65,818 6/27/2019
4.2.0 122,164 5/21/2019
4.2.0-rc-42008 3,931 5/8/2019
4.2.0-rc-42007 2,496 4/25/2019
4.2.0-rc-42005 2,855 4/17/2019
4.2.0-rc-42003 2,437 4/12/2019
4.2.0-rc-42002 2,647 4/5/2019
4.2.0-rc-42001 2,591 3/22/2019
4.1.10 11,650 11/25/2019
4.1.9 3,821 10/14/2019
4.1.9-patch-41022 2,363 9/27/2019
4.1.8 8,082 8/26/2019
4.1.8-patch-41017 2,409 7/15/2019
4.1.7 11,431 6/27/2019
4.1.6 6,831 5/21/2019
4.1.5 30,948 4/15/2019
4.1.5-patch-41012 2,721 3/15/2019
4.1.4 45,418 2/13/2019
4.1.4-patch-41009 2,809 2/1/2019
4.1.4-patch-41008 4,451 1/7/2019
4.1.3 58,828 11/19/2018
4.1.3-patch-41006 3,249 11/5/2018
4.1.3-patch-41005 2,988 10/22/2018
4.1.2 21,498 10/15/2018
4.1.1 44,310 9/14/2018
4.1.0 8,682 8/31/2018
4.1.0-rc-41000 4,854 8/17/2018
4.0.11 4,947 2/28/2019
4.0.10 3,292 2/13/2019
4.0.10-patch-40057 2,287 2/1/2019
4.0.10-patch-40056 2,278 1/7/2019
4.0.9 3,385 11/19/2018
4.0.9-patch-40054 2,600 11/5/2018
4.0.9-patch-40052 2,376 10/22/2018
4.0.8 3,784 10/15/2018
4.0.7 15,655 8/31/2018
4.0.6 74,863 8/3/2018
4.0.6-patch-40047 3,174 7/2/2018
4.0.5 39,461 6/12/2018
4.0.4-patch-40038 3,140 5/18/2018
4.0.3 33,880 4/23/2018
4.0.3-patch-40034 3,600 3/30/2018
4.0.3-patch-40033 7,558 3/19/2018
4.0.3-patch-40031 3,028 3/7/2018
4.0.2 41,363 2/26/2018
4.0.1 5,302 2/20/2018
4.0.0 16,665 2/6/2018
3.5.10-patch-35323 1,876 8/8/2024
3.5.10-patch-35319 18,105 1/23/2023
3.5.10-patch-35312 26,057 4/12/2022
3.5.10-patch-35311 62,344 7/28/2021
3.5.10-patch-35310 3,248 7/15/2021
3.5.10-patch-35309 3,918 5/24/2021
3.5.10-patch-35308 3,458 5/16/2021
3.5.10-patch-35307 3,913 4/1/2021
3.5.10-patch-35305 14,582 1/13/2021
3.5.10-patch-35304 20,528 12/16/2020
3.5.10-patch-35303 10,822 12/3/2020
3.5.10-patch-35302 4,082 9/21/2020
3.5.10-patch-35301 5,006 8/27/2020
3.5.10-patch-35300 4,570 7/16/2020
3.5.10-patch-35296 11,433 6/19/2020
3.5.10-patch-35295 4,556 5/28/2020
3.5.10-patch-35294 4,079 5/6/2020
3.5.10-patch-35290 4,021 3/5/2020
3.5.10-patch-35289 9,321 11/7/2019
3.5.10-patch-35288 4,282 9/12/2019
3.5.10-patch-35286 4,224 8/13/2019
3.5.10-patch-35283 13,987 5/9/2019
3.5.10-patch-35282 4,271 4/23/2019
3.5.9 357,009 4/10/2019
3.5.9-patch-35280 4,303 3/19/2019
3.5.8 66,702 1/3/2019
3.5.8-patch-35278 4,459 12/10/2018
3.5.8-patch-35277 4,617 11/7/2018
3.5.8-patch-35276 4,398 11/2/2018
3.5.8-patch-35275 4,482 10/22/2018
3.5.7 166,392 9/6/2018
3.5.7-patch-35267 4,881 7/30/2018
3.5.7-patch-35266 6,534 5/31/2018
3.5.7-patch-35265 5,049 5/25/2018
3.5.7-patch-35264 4,834 5/25/2018
3.5.7-patch-35263 6,817 5/17/2018
3.5.6 212,864 4/27/2018
3.5.6-patch-35261 5,649 4/15/2018
3.5.6-patch-35260 4,908 3/29/2018
3.5.6-patch-35259 163,025 3/27/2018
3.5.6-patch-35258 4,865 3/27/2018
3.5.6-patch-35257 4,906 3/7/2018
3.5.6-patch-35256 4,890 3/6/2018
3.5.6-patch-35253 4,725 2/28/2018
3.5.6-patch-35252 10,627 2/13/2018
3.5.6-patch-35251 4,964 2/7/2018
3.5.6-patch-35250 4,887 1/30/2018
3.5.6-patch-35249 4,982 1/25/2018
3.5.5 177,095 1/18/2018
3.5.5-patch-35246 7,251 1/10/2018
3.5.5-patch-35245 5,528 1/3/2018
3.5.5-patch-35244 5,576 12/12/2017
3.5.5-patch-35243 5,444 12/6/2017
3.5.5-patch-35241 12,044 11/24/2017
3.5.5-patch-35239 5,804 11/22/2017
3.5.5-patch-35237 5,178 11/16/2017
3.5.5-patch-35235 5,237 11/10/2017
3.5.5-patch-35232 5,000 11/8/2017
3.5.5-patch-35231 4,930 10/26/2017
3.5.5-patch-35223 6,434 10/10/2017
3.5.5-patch-35222 5,348 10/3/2017
3.5.5-patch-35221 7,272 9/25/2017
3.5.5-patch-35220 11,099 9/7/2017
3.5.5-patch-35219 5,042 9/4/2017
3.5.5-patch-35218 11,444 8/29/2017
3.5.5-patch-35216 6,530 7/24/2017
3.5.4 232,999 7/21/2017
3.5.4-patch-35202 12,133 5/5/2017
3.5.4-patch-35199 6,955 4/28/2017
3.5.4-patch-35196 4,877 4/25/2017
3.5.4-patch-35194 4,997 4/4/2017
3.5.3 214,560 3/8/2017
3.0.30187 14,793 5/19/2021
3.0.30183 36,462 4/1/2019
3.0.30182 23,055 4/27/2018
3.0.30181-Hotfix 5,995 4/17/2018
3.0.30180-Hotfix 6,078 3/29/2018
3.0.30179 38,847 7/21/2017
3.0.30175-Hotfix 5,972 5/11/2017
3.0.30172-Hotfix 6,225 3/31/2017
3.0.30171 42,914 3/8/2017
2.5.25043 34,852 1/13/2020
2.5.25042 10,554 10/3/2019
2.5.25041 21,971 5/16/2019
2.5.25040 14,631 10/17/2018
2.5.25039 19,566 10/2/2018
2.5.25038 11,440 9/17/2018
2.5.25037 8,353 9/13/2018
2.5.25034 8,460 9/6/2018
2.5.25033 8,958 8/17/2018
2.5.25032 36,804 5/8/2018
2.5.25031 17,519 5/3/2018
2.0.2380 201,024 7/11/2013
1.0.992 12,991 12/9/2012