Skip to content
Sample of how to deploy RavenDb to Azure as Web Role
C# ASP
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
AzureHostedRavenDb
Lib/RavenDb/Server
RavenDbRole
.gitignore
AzureHostedRavenDb.sln
README.md

README.md

Update: better solution

Here is a better sample of RavenDB hosting solution (and more advanced): https://github.com/cloudpowerups/cp-azure-samples/tree/master/CP.Azure.Samples.RavenDB

Sample: Azure hosting of RavenDb as Web role

This is a sample of how you can host RavenDb as Web role. It is highly recommended to use RavenDB build >602 (which is currently unstable). Version embedded here is 573.

A few things to mention

  • Tested to be working propertly in "Esent" storage mode when running in real Azure (with build >602).
  • Application pool is configured to never recycle and timeout to achieve best performance
  • Max query string is configured for up to 16Kb
  • If you need to host it as Worker Role search "simplefx/AzureRavenDB" on GitHub. Originally I was using that solution to get it working for me.
Something went wrong with that request. Please try again.