RavenDB.Client
v7.1.5-rc-71026Pre-release
net6.0net7.0net8.0.NETStandard2.0.NETStandard2.1
RavenDB Client is the client library for accessing RavenDB
Published
Dec 18, 2025
10mo ago
Total Downloads
24.6M
24,568,485
Install
dotnet add package RavenDB.Client --version 7.1.5-rc-71026
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
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
- Documentation - https://ravendb.net/docs π
- 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
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
- 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.1/CONTRIBUTING.md
Changes from Previous Version
No structural changes between v7.1.5-rc-71025 and v7.1.5-rc-71026.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.The published metadata declares 44 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.