RavenDB.Client 7.0.3

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

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.
SharpRepository/SharpRepository
C# Generic Repository for use with Entity Framework, RavenDB and more with built-in caching options.
PacktPublishing/Hands-On-Domain-Driven-Design-with-.NET-Core
Hands-On Domain-Driven Design with .NET Core, published by Packt
aelassas/wexflow
Workflow Engine and Automation Platform
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.0-rc-71000 216 5/29/2025
7.0.3 1,247 6/10/2025
7.0.2 19,748 4/29/2025
7.0.1 15,088 3/27/2025
7.0.0 31,231 2/4/2025
6.2.6 925 6/10/2025
6.2.5 8,398 4/29/2025
6.2.4 20,295 3/18/2025
6.2.3 89,567 1/21/2025
6.2.2 41,311 12/11/2024
6.2.1 59,707 10/30/2024
6.2.0 62,071 9/17/2024
6.0.110 639 3/18/2025
6.0.109 1,528 1/21/2025
6.0.108 1,395 12/11/2024
6.0.107 2,287 10/30/2024
6.0.106 50,445 9/17/2024
6.0.105 93,043 7/23/2024
6.0.104 72,532 6/17/2024
6.0.103 20,769 5/16/2024
6.0.102 34,615 4/29/2024
6.0.101 51,692 3/19/2024
6.0.100 75,428 2/12/2024
6.0.4 22,297 1/19/2024
6.0.3 83,852 1/16/2024
6.0.2 54,094 12/27/2023
6.0.1 69,944 11/14/2023
6.0.0 29,229 10/2/2023
5.4.209 520 6/10/2025
5.4.208 2,023 4/29/2025
5.4.207 7,585 3/18/2025
5.4.206 25,312 1/21/2025
5.4.205 6,810 12/11/2024
5.4.204 37,773 10/30/2024
5.4.203 14,526 10/2/2024
5.4.202 9,631 9/17/2024
5.4.201 47,814 7/23/2024
5.4.200 91,001 6/17/2024
5.4.119 11,371 5/16/2024
5.4.118 30,267 4/29/2024
5.4.117 25,019 3/19/2024
5.4.116 69,634 2/12/2024
5.4.115 27,536 1/18/2024
5.4.114 1,136 1/16/2024
5.4.113 12,837 12/27/2023
5.4.112 194,434 11/14/2023
5.4.111 39,758 10/3/2023
5.4.110 30,222 9/12/2023
5.4.109 134,114 8/1/2023
5.4.107 125,574 6/23/2023
5.4.106 3,543 6/22/2023
5.4.105 8,907 6/20/2023
5.4.104 155,027 5/12/2023
5.4.103 149,857 3/30/2023
5.4.102 15,531 3/27/2023
5.4.101 79,816 2/13/2023
5.4.100 196,279 1/9/2023
5.4.5 160,269 11/21/2022
5.4.4 111,391 10/12/2022
5.4.3 13,108 10/10/2022
5.4.2 93,497 9/1/2022
5.4.1 255,079 7/19/2022
5.4.0 16,641 7/18/2022
5.3.108 53,431 1/9/2023
5.3.107 15,005 11/21/2022
5.3.106 5,047 10/10/2022
5.3.105 5,254 9/1/2022
5.3.104 28,187 7/18/2022
5.3.103 97,945 6/7/2022
5.3.102 233,576 4/19/2022
5.3.101 146,620 3/15/2022
5.3.100 156,379 2/1/2022
5.3.2 51,999 1/7/2022
5.3.1 30,743 12/21/2021
5.3.0 39,051 11/29/2021
5.2.116 1,810 8/1/2023
5.2.115 1,860 6/23/2023
5.2.114 1,711 6/22/2023
5.2.113 1,708 6/20/2023
5.2.112 2,813 5/12/2023
5.2.111 3,169 3/30/2023
5.2.110 3,329 3/27/2023
5.2.109 3,103 2/13/2023
5.2.108 11,853 1/9/2023
5.2.107 4,728 11/21/2022
5.2.106 4,376 10/10/2022
5.2.105 5,867 9/1/2022
5.2.104 3,458 7/18/2022
5.2.103 4,722 6/7/2022
5.2.102 17,910 4/19/2022
5.2.101 34,372 3/15/2022
5.2.100 25,413 2/1/2022
5.2.6 10,856 1/7/2022
5.2.5 6,221 12/21/2021
5.2.4 68,767 11/15/2021
5.2.3 204,966 9/29/2021
5.2.2 117,451 8/16/2021
5.2.1 117,669 7/1/2021
5.2.0 20,861 6/21/2021
5.1.13 3,315 12/21/2021
5.1.12 3,185 11/15/2021
5.1.11 8,424 9/29/2021
5.1.10 4,557 8/16/2021
5.1.9 17,328 7/1/2021
5.1.8 37,569 5/26/2021
5.1.7 100,818 4/23/2021
5.1.6 32,538 4/13/2021
5.1.5 105,971 3/1/2021
5.1.4 86,022 2/1/2021
5.1.3 30,355 1/25/2021
5.1.2 132,679 12/11/2020
5.1.1 10,534 12/1/2020
5.1.0 25,690 11/18/2020
5.0.14 5,876 6/16/2021
5.0.13 3,287 5/24/2021
5.0.12 14,972 4/23/2021
5.0.11 11,250 4/13/2021
5.0.10 3,795 3/1/2021
5.0.9 5,689 2/1/2021
5.0.8 5,407 1/25/2021
5.0.7 8,747 12/11/2020
5.0.6 3,623 12/1/2020
5.0.5 28,804 11/16/2020
5.0.4 19,753 11/10/2020
5.0.3 48,808 9/28/2020
5.0.2 155,618 8/17/2020
5.0.1 7,078 8/5/2020
5.0.0 279,619 7/23/2020
4.2.124 2,932 6/19/2023
4.2.123 27,957 6/7/2022
4.2.122 5,263 4/19/2022
4.2.121 7,114 3/15/2022
4.2.120 17,232 2/1/2022
4.2.119 4,110 12/21/2021
4.2.118 8,547 11/15/2021
4.2.117 8,383 9/29/2021
4.2.116 6,144 8/16/2021
4.2.115 4,352 7/1/2021
4.2.114 13,081 5/24/2021
4.2.113 6,593 4/23/2021
4.2.112 18,191 4/13/2021
4.2.111 13,052 3/1/2021
4.2.110 16,634 2/1/2021
4.2.109 4,648 1/25/2021
4.2.108 34,573 11/16/2020
4.2.107 3,672 11/10/2020
4.2.106 27,292 9/28/2020
4.2.105 24,081 8/17/2020
4.2.104 7,313 7/22/2020
4.2.103 70,511 5/25/2020
4.2.102 41,658 4/15/2020
4.2.101 68,424 3/3/2020
4.2.100 4,686 3/2/2020
4.2.8 91,441 1/21/2020
4.2.6 102,465 12/9/2019
4.2.5 31,632 11/25/2019
4.2.5-patch-42026 2,508 11/13/2019
4.2.4 44,713 10/14/2019
4.2.4-patch-42020 2,756 9/27/2019
4.2.3 127,643 8/26/2019
4.2.2 46,814 7/15/2019
4.2.1 65,541 6/27/2019
4.2.0 118,719 5/21/2019
4.2.0-rc-42008 3,882 5/8/2019
4.2.0-rc-42007 2,437 4/25/2019
4.2.0-rc-42005 2,799 4/17/2019
4.2.0-rc-42003 2,383 4/12/2019
4.2.0-rc-42002 2,585 4/5/2019
4.2.0-rc-42001 2,537 3/22/2019
4.1.10 11,223 11/25/2019
4.1.9 3,569 10/14/2019
4.1.9-patch-41022 2,313 9/27/2019
4.1.8 7,824 8/26/2019
4.1.8-patch-41017 2,355 7/15/2019
4.1.7 11,178 6/27/2019
4.1.6 6,585 5/21/2019
4.1.5 30,656 4/15/2019
4.1.5-patch-41012 2,668 3/15/2019
4.1.4 45,025 2/13/2019
4.1.4-patch-41009 2,751 2/1/2019
4.1.4-patch-41008 4,399 1/7/2019
4.1.3 58,201 11/19/2018
4.1.3-patch-41006 3,198 11/5/2018
4.1.3-patch-41005 2,926 10/22/2018
4.1.2 21,245 10/15/2018
4.1.1 43,808 9/14/2018
4.1.0 8,420 8/31/2018
4.1.0-rc-41000 4,781 8/17/2018
4.0.11 4,685 2/28/2019
4.0.10 3,048 2/13/2019
4.0.10-patch-40057 2,219 2/1/2019
4.0.10-patch-40056 2,223 1/7/2019
4.0.9 3,136 11/19/2018
4.0.9-patch-40054 2,537 11/5/2018
4.0.9-patch-40052 2,314 10/22/2018
4.0.8 3,542 10/15/2018
4.0.7 15,400 8/31/2018
4.0.6 73,058 8/3/2018
4.0.6-patch-40047 3,066 7/2/2018
4.0.5 39,104 6/12/2018
4.0.4-patch-40038 2,995 5/18/2018
4.0.3 33,523 4/23/2018
4.0.3-patch-40034 3,433 3/30/2018
4.0.3-patch-40033 7,419 3/19/2018
4.0.3-patch-40031 2,894 3/7/2018
4.0.2 40,984 2/26/2018
4.0.1 4,981 2/20/2018
4.0.0 16,303 2/6/2018
3.5.10-patch-35323 1,493 8/8/2024
3.5.10-patch-35319 17,521 1/23/2023
3.5.10-patch-35312 25,998 4/12/2022
3.5.10-patch-35311 57,968 7/28/2021
3.5.10-patch-35310 3,191 7/15/2021
3.5.10-patch-35309 3,863 5/24/2021
3.5.10-patch-35308 3,412 5/16/2021
3.5.10-patch-35307 3,845 4/1/2021
3.5.10-patch-35305 14,516 1/13/2021
3.5.10-patch-35304 19,491 12/16/2020
3.5.10-patch-35303 10,762 12/3/2020
3.5.10-patch-35302 4,019 9/21/2020
3.5.10-patch-35301 4,817 8/27/2020
3.5.10-patch-35300 4,512 7/16/2020
3.5.10-patch-35296 11,311 6/19/2020
3.5.10-patch-35295 4,489 5/28/2020
3.5.10-patch-35294 4,031 5/6/2020
3.5.10-patch-35290 3,970 3/5/2020
3.5.10-patch-35289 9,238 11/7/2019
3.5.10-patch-35288 4,227 9/12/2019
3.5.10-patch-35286 4,160 8/13/2019
3.5.10-patch-35283 13,551 5/9/2019
3.5.10-patch-35282 4,211 4/23/2019
3.5.9 346,127 4/10/2019
3.5.9-patch-35280 4,240 3/19/2019
3.5.8 65,653 1/3/2019
3.5.8-patch-35278 4,400 12/10/2018
3.5.8-patch-35277 4,554 11/7/2018
3.5.8-patch-35276 4,340 11/2/2018
3.5.8-patch-35275 4,425 10/22/2018
3.5.7 164,506 9/6/2018
3.5.7-patch-35267 4,777 7/30/2018
3.5.7-patch-35266 6,396 5/31/2018
3.5.7-patch-35265 4,918 5/25/2018
3.5.7-patch-35264 4,701 5/25/2018
3.5.7-patch-35263 6,683 5/17/2018
3.5.6 209,837 4/27/2018
3.5.6-patch-35261 5,509 4/15/2018
3.5.6-patch-35260 4,779 3/29/2018
3.5.6-patch-35259 157,459 3/27/2018
3.5.6-patch-35258 4,728 3/27/2018
3.5.6-patch-35257 4,811 3/7/2018
3.5.6-patch-35256 4,742 3/6/2018
3.5.6-patch-35253 4,629 2/28/2018
3.5.6-patch-35252 10,491 2/13/2018
3.5.6-patch-35251 4,822 2/7/2018
3.5.6-patch-35250 4,754 1/30/2018
3.5.6-patch-35249 4,846 1/25/2018
3.5.5 174,128 1/18/2018
3.5.5-patch-35246 7,115 1/10/2018
3.5.5-patch-35245 5,386 1/3/2018
3.5.5-patch-35244 5,430 12/12/2017
3.5.5-patch-35243 5,307 12/6/2017
3.5.5-patch-35241 11,729 11/24/2017
3.5.5-patch-35239 5,705 11/22/2017
3.5.5-patch-35237 5,071 11/16/2017
3.5.5-patch-35235 5,147 11/10/2017
3.5.5-patch-35232 4,907 11/8/2017
3.5.5-patch-35231 4,835 10/26/2017
3.5.5-patch-35223 6,319 10/10/2017
3.5.5-patch-35222 5,246 10/3/2017
3.5.5-patch-35221 7,168 9/25/2017
3.5.5-patch-35220 10,940 9/7/2017
3.5.5-patch-35219 4,940 9/4/2017
3.5.5-patch-35218 11,275 8/29/2017
3.5.5-patch-35216 6,426 7/24/2017
3.5.4 230,952 7/21/2017
3.5.4-patch-35202 12,041 5/5/2017
3.5.4-patch-35199 6,580 4/28/2017
3.5.4-patch-35196 4,774 4/25/2017
3.5.4-patch-35194 4,891 4/4/2017
3.5.3 211,695 3/8/2017
3.0.30187 14,440 5/19/2021
3.0.30183 35,600 4/1/2019
3.0.30182 22,445 4/27/2018
3.0.30181-Hotfix 5,872 4/17/2018
3.0.30180-Hotfix 5,959 3/29/2018
3.0.30179 38,365 7/21/2017
3.0.30175-Hotfix 5,886 5/11/2017
3.0.30172-Hotfix 6,130 3/31/2017
3.0.30171 41,309 3/8/2017
2.5.25043 31,800 1/13/2020
2.5.25042 10,296 10/3/2019
2.5.25041 21,573 5/16/2019
2.5.25040 14,360 10/17/2018
2.5.25039 19,290 10/2/2018
2.5.25038 11,129 9/17/2018
2.5.25037 8,098 9/13/2018
2.5.25034 8,201 9/6/2018
2.5.25033 8,702 8/17/2018
2.5.25032 35,537 5/8/2018
2.5.25031 17,137 5/3/2018
2.0.2380 192,994 7/11/2013
1.0.992 12,679 12/9/2012