Ответ 1
Да.
У меня есть RavenDB, работающий в среде общедоступного хостинга, http://www.winhost.com/, используя ASP.NET MVC 3 и RavenDB 1.0.0.371, который был выпущен где-то около июля 2011 года.
Мой код:
public static class Store
{
private static IDocumentStore store = createStore();
private static EmbeddableDocumentStore createStore()
{
var returnStore = new EmbeddableDocumentStore();
returnStore.DataDirectory = @"./PersistedData";
returnStore.Initialize();
return returnStore;
}
public static xxx Read(string key)
{
using (var session = store.OpenSession())
{
var anEntity = session.Query<xxx>().
Where(item => item.key == key).Single();
return anEntity;
}
}
public static void Write(xxx)
{
using (var session = store.OpenSession())
{
session.Store(xxx);
session.SaveChanges();
}
}
}
Единственным недостатком до сих пор я не получаю студию управления RavenDB.