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
- Host: GitHub
- URL: https://github.com/orleanscontrib/orleans.storageprovider.ravendb
- Owner: OrleansContrib
- License: apache-2.0
- Created: 2014-05-26T13:58:55.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-11-19T20:52:44.000Z (over 10 years ago)
- Last Synced: 2025-03-25T08:38:18.215Z (about 1 month ago)
- Topics: orleans, orleans-storage-provider, ravendb
- Language: C#
- Size: 302 KB
- Stars: 11
- Watchers: 18
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
* InMemoryIn 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 usedHere are examples of such connection strings:
````
````