Skip to main content

C#

22

Bringing Connection Strings Together in RavenDB

Consolidate duplicate ETL, backup, and replication connection strings scattered across databases into a single server-wide definition, and migrate existing databases to it.

Jul 21, 2026

Setting Up an Azure Service Bus Sink in RavenDB

Set up a RavenDB Azure Service Bus Queue Sink that turns incoming Service Bus messages into documents, covering SAS, Entra ID, and passwordless authentication, configured either in the Studio or with the C# client API.

Jul 21, 2026

One Chat, Many Agents: RavenDB Multi-Agents

Learn how to connect multiple RavenDB AI Agents into a multi-agent system, where specialized sub-agents handle focused tasks while a coordinator routes work between them.

Apr 27, 2026

Beyond Text: Adding File Attachments to RavenDB AI Agents

Learn how to attach binary files such as PDFs and images to RavenDB AI Agent conversations, reducing token usage while keeping files accessible across the conversation lifecycle.

Apr 15, 2026

Backups in RavenDB: How to keep your database safe

Learn how RavenDB backups work, when to use logical backups versus snapshots, and how to configure scheduled and server-wide backup tasks via Studio and C# code.

Apr 14, 2026

Transactional Outbox with RavenDB Queue ETL

Learn to implement the transactional outbox pattern in C# using RavenDB data subscriptions or Queue ETL, with RabbitMQ and Kafka code examples.

Feb 13, 2026

Employing Schema Validation to Standardize Your Data

Configure JSON schema validation in RavenDB to enforce data consistency across teams. Learn how to audit documents against a schema or block invalid writes at the database level.

Feb 1, 2026

Using Remote Attachments to cut storage costs

Store RavenDB attachments in Amazon S3 or Azure Blob Storage to cut costs. Studio and C# setup guide with bulk migration of existing attachments.

Feb 1, 2026

A Practical Look at AI Agents with RavenDB

Build an AI agent with RavenDB: create an Orders Manager in Studio, wire up Query and Action tools, and scope conversation data per user.

Dec 24, 2025

Employing Data Archival

Use RavenDB Data Archival to exclude historical documents from indexes and queries, keeping performance high without deleting data you need to retain.

Nov 17, 2025

Unlock RavenDB GenAI Potential with Attachments

Feed PDFs, images, and logs straight into RavenDB's GenAI feature. Three worked examples: image vector search without an image model, attachment-aware support triage, and PDF resume screening.

Oct 8, 2025

How to Query Using RavenDB and ASP.NET Core 9

Build a minimal ASP.NET Core 9 API that queries RavenDB documents, including optional LINQ-based filtering and Swagger-based testing.

Sep 22, 2025

Using RavenDB Persistence in an Akka.NET Application

Build a persistent Akka.NET console app that stores its actor state in RavenDB through event sourcing and snapshots, so it can recover exactly where it left off after a crash or restart.

Aug 26, 2025

Diacritic-Sensitive Search in RavenDB

Match accented terms like Kraków against both Kraków and Krakow. Compares manual diacritics normalization with a custom ASCIIFoldingFilter analyzer for Lucene and Corax indexes.

May 9, 2025

Simple CRUD Operations with RavenDB and ASP.NET Core 8

Learn how to scaffold a minimal API with ASP.NET Core 8 and wire up create, read, update, and delete document operations against a RavenDB database.

Mar 31, 2025

External

Integrating RavenDB with .NET Aspire

Read about Integrating RavenDB with .NET Aspire on the RavenDB.net news section

Mar 25, 2025

Connecting C# application to RavenDB Cloud

Learn how to connect a C# console application to a RavenDB Cloud instance using the RavenDB Client package, a PFX certificate, and DocumentStore.

Feb 25, 2025

How to setup RavenDB with ASP.NET Core 8 application

Step-by-step guide to connecting an ASP.NET Core 8 web API to RavenDB Cloud, including certificate setup, DocumentStore initialization, and verifying the connection by loading a document.

Feb 25, 2025

Processing Invoices Using Data Subscriptions

See how RavenDB Data Subscriptions let you offload invoice processing to a background worker in C#, with PDF generation and attachment storage included.

Dec 8, 2024

Machine Learning Inside RavenDB Indexing

Extend RavenDB's indexing process with machine learning in C#: train an ML.NET model to flag toxic comments during indexing, and use a pre-trained Catalyst model to detect each document's language, all through AdditionalAssemblies and AdditionalSources.

Dec 2, 2024

Writing unit tests with RavenDB .NET Test Driver

Learn how to use RavenDB.TestDriver to run integration tests against a real in-memory RavenDB instance instead of mocks, with full support for indexing, Studio debugging, and CI/CD pipelines.

Aug 28, 2024

Getting Started with GraphQL and RavenDB

Query RavenDB through GraphQL using Hot Chocolate as a standalone ASP.NET Core server, translating paging, filtering, sorting, and projections into native RavenDB queries.

Jun 27, 2024