Orleans.Providers.RavenDB 1.0.3

dotnet add package Orleans.Providers.RavenDB --version 1.0.3
                    
NuGet\Install-Package Orleans.Providers.RavenDB -Version 1.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="Orleans.Providers.RavenDB" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Orleans.Providers.RavenDB" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="Orleans.Providers.RavenDB" />
                    
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 Orleans.Providers.RavenDB --version 1.0.3
                    
#r "nuget: Orleans.Providers.RavenDB, 1.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.
#:package Orleans.Providers.RavenDB@1.0.3
                    
#: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=Orleans.Providers.RavenDB&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=Orleans.Providers.RavenDB&version=1.0.3
                    
Install as a Cake Tool

RavenDB-Orleans Provider

Build NuGet License

πŸ“Œ Overview

RavenDB-Orleans Provider is a Microsoft Orleans storage provider that integrates RavenDB as a backing store for grain persistence, reminders, and clustering.

This provider enables high-performance, distributed applications that leverage the event-driven, distributed actor model of Orleans with the scalability and flexibility of RavenDB.


πŸš€ Features

βœ” Grain Storage – Persist and retrieve Orleans grain states using RavenDB.
βœ” Reminders Provider – Stores Orleans timers and reminders in RavenDB.
βœ” Clustering Support – Uses RavenDB for Orleans cluster membership management.
βœ” Optimized Queries – Efficient indexing and querying using RavenDB’s built-in indexing.
βœ” Fully Asynchronous – Non-blocking, highly scalable storage provider.
βœ” .NET 8 Support – Fully compatible with the latest Orleans & .NET 8.


πŸ”§ Configuration


var host = Host.CreateDefaultBuilder(args)
	.UseOrleans(siloBuilder =>
	{
		// Define RavenDB connection settings
		string serverUrl = "http://localhost:8080";
		string databaseName = "OrleansDemo";

		siloBuilder
			// Configure clustering with RavenDB
			.UseRavenDbMembershipTable(options =>
			{
				options.Urls = new[] { serverUrl };
				options.DatabaseName = databaseName;
			})
			// Configure grain storage with RavenDB
			.AddRavenDbGrainStorage("RavenGrainStorage", options =>
			{
				options.Urls = new[] { serverUrl };
				options.DatabaseName = databaseName;
			})
			// Configure reminders with RavenDB
			.AddRavenDbReminderTable(options =>
			{
				options.Urls = new[] { serverUrl };
				options.DatabaseName = databaseName;
			})
			// Configure other Orleans settings
			.Configure<ClusterOptions>(options =>
			{
				options.ClusterId = "dev";
				options.ServiceId = "OrleansDemo";
			})
			.Configure<EndpointOptions>(options =>
			{
				options.AdvertisedIPAddress = IPAddress.Loopback;
				options.SiloPort = 11111;
				options.GatewayPort = 30000;
			})
			.ConfigureLogging(logging => logging.AddConsole());
	}).Build();

await host.RunAsync();

πŸ“¦ Installation

You can install the package via NuGet:

dotnet add package Orleans.Providers.RavenDb

To build the project locally, run:

pwsh ./build.ps1

or (on Linux/macOS)

./build.sh

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 137 9/11/2025
1.0.2 135 8/13/2025
1.0.1 154 7/7/2025
1.0.0 155 3/27/2025