是否可以使用 Raven Management Studio 连接到嵌入式数据库 [英] Is it possible to connect to an embedded DB with Raven Management Studio

查看:52
本文介绍了是否可以使用 Raven Management Studio 连接到嵌入式数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Raven DB,想知道是否可以使用 Raven Management Studio 连接到嵌入式 DB.有人做过吗?

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?

推荐答案

如果我理解你的意思是正确的,你指的是 Web UI,你只需要启用嵌入式 Web 服务器.

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
};

参见http://ravendb.net/docs/server/deployment/embedded

还要确保在 Web 应用程序的根目录中包含 Raven.Studio.xap

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

这篇关于是否可以使用 Raven Management Studio 连接到嵌入式数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆