RavenDB.Client 7.1.0-rc-71000

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

No packages depend on RavenDB.Client.

.NET 6.0

.NET Standard 2.0

.NET Standard 2.1

.NET 8.0

.NET 7.0

Version Downloads Last updated
7.1.0-rc-71000 2 06/02/2025
7.0.3 2 06/12/2025
7.0.2 3 05/02/2025
7.0.1 8 03/30/2025
7.0.0 7 02/08/2025
6.2.6 2 06/12/2025
6.2.5 2 05/02/2025
6.2.4 8 03/25/2025
6.2.3 10 01/21/2025
6.2.2 8 12/17/2024
6.2.1 9 12/10/2024
6.2.0 9 10/09/2024
6.0.110 10 03/24/2025
6.0.109 11 01/21/2025
6.0.108 6 12/15/2024
6.0.107 10 11/19/2024
6.0.106 12 10/09/2024
6.0.105 11 10/09/2024
6.0.104 11 10/09/2024
6.0.103 10 10/09/2024
6.0.102 11 10/09/2024
6.0.101 14 08/21/2024
6.0.100 12 10/09/2024
6.0.4 13 10/09/2024
6.0.3 10 10/09/2024
6.0.2 13 10/09/2024
6.0.1 16 04/21/2024
6.0.0 13 10/09/2024
5.4.209 2 06/12/2025
5.4.208 5 05/02/2025
5.4.207 7 03/24/2025
5.4.206 8 01/21/2025
5.4.205 12 12/17/2024
5.4.204 13 11/19/2024
5.4.203 8 10/09/2024
5.4.202 13 10/09/2024
5.4.201 13 10/09/2024
5.4.200 12 10/09/2024
5.4.119 11 10/09/2024
5.4.118 11 10/09/2024
5.4.117 13 10/09/2024
5.4.116 11 10/09/2024
5.4.115 11 10/09/2024
5.4.114 11 10/09/2024
5.4.113 10 10/09/2024
5.4.112 12 10/09/2024
5.4.111 11 10/09/2024
5.4.110 8 10/09/2024
5.4.109 12 10/09/2024
5.4.107 11 10/09/2024
5.4.106 10 10/09/2024
5.4.105 8 11/19/2024
5.4.104 11 10/09/2024
5.4.103 10 10/09/2024
5.4.102 10 10/09/2024
5.4.101 8 10/09/2024
5.4.100 11 10/09/2024
5.4.5 13 10/09/2024
5.4.4 13 10/09/2024
5.4.3 12 10/09/2024
5.4.2 13 10/09/2024
5.4.1 12 10/09/2024
5.4.0 12 10/09/2024
5.3.108 12 10/09/2024
5.3.107 11 10/09/2024
5.3.106 11 10/09/2024
5.3.105 8 10/13/2024
5.3.104 14 10/09/2024
5.3.103 13 07/01/2022
5.3.102 8 10/09/2024
5.3.101 8 10/09/2024
5.3.100 10 10/09/2024
5.3.2 13 10/09/2024
5.3.1 13 10/09/2024
5.3.0 12 11/19/2024
5.2.116 7 11/19/2024
5.2.115 7 11/19/2024
5.2.114 12 10/09/2024
5.2.113 13 10/09/2024
5.2.112 11 11/19/2024
5.2.111 8 10/09/2024
5.2.110 11 10/09/2024
5.2.109 9 10/09/2024
5.2.108 9 10/13/2024
5.2.107 8 10/09/2024
5.2.106 10 11/19/2024
5.2.105 14 10/09/2024
5.2.104 11 10/09/2024
5.2.103 13 10/09/2024
5.2.102 13 10/09/2024
5.2.101 11 10/09/2024
5.2.100 8 11/19/2024
5.2.6 13 10/09/2024
5.2.5 10 10/09/2024
5.2.4 8 10/09/2024
5.2.3 8 10/09/2024
5.2.2 8 10/09/2024
5.2.1 8 10/09/2024
5.2.0 11 10/09/2024
5.1.13 9 10/09/2024
5.1.12 8 10/09/2024
5.1.11 11 10/09/2024
5.1.10 13 10/09/2024
5.1.9 8 10/09/2024
5.1.8 8 10/09/2024
5.1.7 12 10/09/2024
5.1.6 11 10/09/2024
5.1.5 10 11/19/2024
5.1.4 11 10/09/2024
5.1.3 11 10/09/2024
5.1.2 12 10/09/2024
5.1.1 12 10/09/2024
5.1.0 10 10/09/2024
5.0.14 10 10/09/2024
5.0.13 9 10/09/2024
5.0.12 12 10/09/2024
5.0.11 12 10/09/2024
5.0.10 13 10/09/2024
5.0.9 11 10/09/2024
5.0.8 13 10/09/2024
5.0.7 11 10/09/2024
5.0.6 8 10/09/2024
5.0.5 8 10/09/2024
5.0.4 12 10/09/2024
5.0.3 9 10/09/2024
5.0.2 8 10/09/2024
5.0.1 11 10/09/2024
5.0.0 11 10/09/2024
4.2.124 13 10/09/2024
4.2.123 12 10/09/2024
4.2.122 12 10/09/2024
4.2.121 11 11/19/2024
4.2.120 8 10/09/2024
4.2.119 12 10/09/2024
4.2.118 11 10/09/2024
4.2.117 11 10/09/2024
4.2.116 8 10/09/2024
4.2.115 12 10/09/2024
4.2.114 11 10/09/2024
4.2.113 11 10/09/2024
4.2.112 12 10/09/2024
4.2.111 13 10/09/2024
4.2.110 9 10/09/2024
4.2.109 9 10/09/2024
4.2.108 9 10/09/2024
4.2.107 8 10/09/2024
4.2.106 9 10/09/2024
4.2.105 12 10/13/2024
4.2.104 11 10/09/2024
4.2.103 13 10/09/2024
4.2.102 13 10/09/2024
4.2.101 12 10/09/2024
4.2.100 11 10/09/2024
4.2.8 12 10/09/2024
4.2.6 11 10/09/2024
4.2.5 11 10/09/2024
4.2.5-patch-42026 11 10/09/2024
4.2.4 11 10/09/2024
4.2.4-patch-42020 12 10/09/2024
4.2.3 9 10/09/2024
4.2.2 8 10/09/2024
4.2.1 13 10/09/2024
4.2.0 10 10/09/2024
4.2.0-rc-42008 12 10/09/2024
4.2.0-rc-42007 10 10/13/2024
4.2.0-rc-42005 14 10/09/2024
4.2.0-rc-42003 9 10/09/2024
4.2.0-rc-42002 13 10/09/2024
4.2.0-rc-42001 9 10/09/2024
4.1.10 10 10/09/2024
4.1.9 9 10/09/2024
4.1.9-patch-41022 9 10/09/2024
4.1.8 11 10/09/2024
4.1.8-patch-41017 11 10/09/2024
4.1.7 13 10/09/2024
4.1.6 9 10/09/2024
4.1.5 11 10/09/2024
4.1.5-patch-41012 13 11/20/2024
4.1.4 10 10/09/2024
4.1.4-patch-41009 8 10/09/2024
4.1.4-patch-41008 11 10/09/2024
4.1.3 13 10/09/2024
4.1.3-patch-41006 13 10/09/2024
4.1.3-patch-41005 11 10/09/2024
4.1.2 11 10/09/2024
4.1.1 12 10/09/2024
4.1.0 12 10/09/2024
4.1.0-rc-41000 12 10/09/2024
4.0.11 12 10/09/2024
4.0.10 8 10/09/2024
4.0.10-patch-40057 11 10/09/2024
4.0.10-patch-40056 10 10/09/2024
4.0.9 12 10/09/2024
4.0.9-patch-40054 13 10/09/2024
4.0.9-patch-40052 12 11/20/2024
4.0.8 13 10/09/2024
4.0.7 11 10/09/2024
4.0.6 11 10/09/2024
4.0.6-patch-40047 8 10/09/2024
4.0.5 9 10/09/2024
4.0.4-patch-40038 12 10/09/2024
4.0.3 8 10/09/2024
4.0.3-patch-40034 8 10/09/2024
4.0.3-patch-40033 12 10/09/2024
4.0.3-patch-40031 10 10/09/2024
4.0.2 10 10/09/2024
4.0.1 13 10/09/2024
4.0.0 12 10/09/2024
3.5.10-patch-35323 10 10/09/2024
3.5.10-patch-35319 8 10/09/2024
3.5.10-patch-35312 9 10/09/2024
3.5.10-patch-35311 11 10/09/2024
3.5.10-patch-35310 11 10/09/2024
3.5.10-patch-35309 12 10/09/2024
3.5.10-patch-35308 10 10/09/2024
3.5.10-patch-35307 12 10/09/2024
3.5.10-patch-35305 13 10/09/2024
3.5.10-patch-35304 10 10/09/2024
3.5.10-patch-35303 10 10/09/2024
3.5.10-patch-35302 13 11/19/2024
3.5.10-patch-35301 12 10/09/2024
3.5.10-patch-35300 11 10/09/2024
3.5.10-patch-35296 12 10/09/2024
3.5.10-patch-35295 12 10/09/2024
3.5.10-patch-35294 12 10/09/2024
3.5.10-patch-35290 10 10/09/2024
3.5.10-patch-35289 8 10/09/2024
3.5.10-patch-35288 12 10/09/2024
3.5.10-patch-35286 8 10/09/2024
3.5.10-patch-35283 12 10/09/2024
3.5.10-patch-35282 13 10/09/2024
3.5.9 13 10/09/2024
3.5.9-patch-35280 13 10/09/2024
3.5.8 7 11/19/2024
3.5.8-patch-35278 13 10/09/2024
3.5.8-patch-35277 8 10/09/2024
3.5.8-patch-35276 11 10/09/2024
3.5.8-patch-35275 14 10/09/2024
3.5.7 12 10/09/2024
3.5.7-patch-35267 12 10/09/2024
3.5.7-patch-35266 13 10/09/2024
3.5.7-patch-35265 13 10/09/2024
3.5.7-patch-35264 12 10/09/2024
3.5.7-patch-35263 7 10/09/2024
3.5.6 12 11/19/2024
3.5.6-patch-35261 8 10/09/2024
3.5.6-patch-35260 12 10/09/2024
3.5.6-patch-35259 12 10/09/2024
3.5.6-patch-35258 9 10/09/2024
3.5.6-patch-35257 8 10/09/2024
3.5.6-patch-35256 12 10/09/2024
3.5.6-patch-35253 11 11/20/2024
3.5.6-patch-35252 10 10/09/2024
3.5.6-patch-35251 11 10/09/2024
3.5.6-patch-35250 14 10/09/2024
3.5.6-patch-35249 12 10/09/2024
3.5.5 13 10/09/2024
3.5.5-patch-35246 12 10/09/2024
3.5.5-patch-35245 13 10/09/2024
3.5.5-patch-35244 12 10/09/2024
3.5.5-patch-35243 9 10/09/2024
3.5.5-patch-35241 14 10/09/2024
3.5.5-patch-35239 10 11/24/2024
3.5.5-patch-35237 12 10/09/2024
3.5.5-patch-35235 11 10/09/2024
3.5.5-patch-35232 12 10/09/2024
3.5.5-patch-35231 14 10/09/2024
3.5.5-patch-35223 8 10/09/2024
3.5.5-patch-35222 11 11/17/2024
3.5.5-patch-35221 12 10/09/2024
3.5.5-patch-35220 13 10/09/2024
3.5.5-patch-35219 15 10/09/2024
3.5.5-patch-35218 12 10/09/2024
3.5.5-patch-35216 11 10/09/2024
3.5.4 11 10/09/2024
3.5.4-patch-35202 13 10/09/2024
3.5.4-patch-35199 12 10/09/2024
3.5.4-patch-35196 12 10/09/2024
3.5.4-patch-35194 10 10/09/2024
3.5.3 8 10/09/2024
3.0.30187 8 10/09/2024
3.0.30183 12 10/09/2024
3.0.30182 11 10/09/2024
3.0.30181-Hotfix 11 10/09/2024
3.0.30180-Hotfix 8 10/09/2024
3.0.30179 11 10/09/2024
3.0.30175-Hotfix 12 10/09/2024
3.0.30172-Hotfix 11 11/18/2024
3.0.30171 11 10/09/2024
2.5.25043 9 10/09/2024
2.5.25042 8 10/09/2024
2.5.25041 11 11/19/2024
2.5.25040 8 10/09/2024
2.5.25039 8 10/09/2024
2.5.25038 11 10/09/2024
2.5.25037 8 10/09/2024
2.5.25034 8 10/09/2024
2.5.25033 11 10/09/2024
2.5.25032 12 10/09/2024
2.5.25031 11 10/09/2024
2.0.2380 8 10/09/2024
1.0.992 10 10/09/2024