An open API service indexing awesome lists of open source software.

https://github.com/orleanscontrib/orleans.storageprovider.ravendb

Orleans StorageProvider for RavenDB
https://github.com/orleanscontrib/orleans.storageprovider.ravendb

orleans orleans-storage-provider ravendb

Last synced: 15 days ago
JSON representation

Orleans StorageProvider for RavenDB

Awesome Lists containing this project

README

        

Orleans StorageProvider for RavenDB
===============================

This is a StorageProvider for RavenDB for the Microsoft Research Project Orleans. The storage provider allows to persist stateful grains into RavenDB. The provider offers the following options:

* Server Mode
* Embedded Mode
* InMemory

In order to use the provider you need to add the following provider to your configuration:

````

````
and this line to any grain that uses it
````
[StorageProvider(ProviderName = "RavenDBStore")]
````
In addition you need an application configuration file (app.config) with a connection string named after the ConnectionStringName in the provider configuration entry.
````



````
All connection string officially supported by RavenDB are also supported by the provider. The mode (Server, Embedded, InMemory) is chosen based on the connection string according to the following strategy:

* When the connection string is empty the InMemory mode is used
* When the connection string is an Url the Server mode is used
* When the connection string is a DataDir the Embedded mode is used

Here are examples of such connection strings:

````





````