Is it possible to connect to an embedded DB with R

2020-02-06 18:23发布

问题:

I'm playing with Raven DB and am wondering if it's possible to connect to an embedded DB with Raven Management Studio. Has anyone ever done this?

回答1:

If I understood you correct and you mean the Web UI, you simply have to enable the embedded web server.

var documentStore = new EmbeddableDocumentStore
{
  DataDirectory = "Data",
  UseEmbeddedHttpServer = true
};

See http://ravendb.net/docs/server/deployment/embedded

Also make sure to include Raven.Studio.xap in the root of your web application