Installation : Embedded

RavenDB makes it very easy to be embedded within your application. The first step is to reference the Raven.Database.dll, either via nuget (package name: RavenDB.Database) or by taking the files from the zip distribution package.

After referencing the Raven.Database.dll from your project, all that is left to do is initializing:

HTTP access

By default you don't have an external access to RavenDB, so you cannot use the Studio to look at what the database is doing, or to use the REST API. Other features relying on being able to communicate over HTTP (like replication) will be disabled too.

RavenDB can be run in an embedded mode with HTTP enabled. To do that, you will just need to set another flag when initializing the embedded document store: