问题
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
来源:https://stackoverflow.com/questions/6947092/is-it-possible-to-connect-to-an-embedded-db-with-raven-management-studio