I am using ravendb 1.0.531 in an MVC 3 app to store my data.
I’d like to use the built in HTTP server to view my data. Everything works fine on port 8080 in my localhost. On production it doesn’t work because it is on port 8080. Is there a way to make Ravendb work with MVC 3 so MVC 3 can run on port 80 and send the raven requests to Raven MGMT studio?
Here is my code:
var returnStore = new EmbeddableDocumentStore();
returnStore.DataDirectory = @"./PersistedData";
returnStore.UseEmbeddedHttpServer = true;
returnStore.Configuration.Port = 80;
returnStore.Initialize();
David,
RavenDB uses an abstraction for HTTP layer, so I guess you could write something that would redirect that. But it would be much easier to do that if you are hosting RavenDB as a virtual directory, instead.