Questions tagged [ravendb]

RavenDB is an Open Source document database for the .NET Core platform (Windows, MacOS, Linux). RavenDB offers a flexible data model designed to fit the needs of real world systems. RavenDB stores schema-less JSON documents, and allows you to define indexes using Linq queries and focus on low latency and high performance.

RavenDB Logo

RavenDB is an Open Source (with a commercial option) document database for the .NET platform. RavenDB offers a flexible data model designed to fit the needs of real world systems. RavenDB stores schema-less JSON documents, and allows you to define indexes using Linq queries and focus on low latency and high performance.

  • Scalable infrastructure: RavenDB builds on top of existing, proven and scalable infrastructure.
  • Simple Windows configuration: RavenDB is simple to setup and run on windows as either a service or IIS7 website.
  • Transactional: RavenDB supports System.Transaction with ACID transactions. If you put data in it, that data is going to stay there.
  • Map/Reduce: Easily define map/reduce indexes with Linq queries.
  • .NET Client API: RavenDB comes with a fully functional .NET client API which implements Unit of Work and much more.
  • RESTful: RavenDB is built around a RESTful API.
  • Ad-hoc queries: RavenDB supports ad-hoc queries and automatically creates indexes on the fly - no need to write indexes upfront.

RavenDB is released under a dual Open Source license and a commercial license. Simply put, that means that it is freely available under the AGPL license but if you want to use this with proprietary software, you must buy a commercial license.

2515 questions
15
votes
3 answers

RavenDB Ids and ASP.NET MVC3 Routes

Just building a quick, simple site with MVC 3 RC2 and RavenDB to test some things out. I've been able to make a bunch of projects, but I'm curious as to how Html.ActionLink() handles a raven DB ID. My example: I have a Document called "reasons" (a…
SeanKilleen
  • 8,809
  • 17
  • 80
  • 133
15
votes
2 answers

RavenDB: Getting exception for in memory Document Store "Voron is prone to failure in 32-bits mode."

After following RavenDB's documentation http://ravendb.net/docs/article-page/2.5/csharp/samples/raven-tests/createraventests I am not able to successfully get a unit test to run past the creation of the in memory document store. I copy and pasted…
14
votes
3 answers

RavenDB Network Access

I'm having a difficult time finding information on how to get RavenDB to work on a network. Within the same network, I can have an instance of my app running, and it will show data from my RavenDB. However, when I try to write data, I get a 401…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
14
votes
3 answers

RavenDB ASP.NET session provider?

A little background: I currently make use of Memcached Providers for managing session state in my ASP.NET application. It provides facilities for using SQL Server as a fallback storage mechanism (when sessions need to be purged from the memcached…
DanP
  • 6,310
  • 4
  • 40
  • 68
14
votes
1 answer

RavenDB and stale indexes on application startup

I have an application that: Uses an embedded RavenDB database With the Monotonic read option With static indexes I've noticed that when the application starts up, the indexes are all temporarily stale even if they weren't stale when the…
Paul Stovell
  • 32,377
  • 16
  • 80
  • 108
13
votes
2 answers

Handling namespace changes with TypeNameHandling.All

I managed to get my self into a fix with the JSON.net TypeNameHandling. I am storing a JSON formatted object using RavenDB and set the TypeNameHandling of the JSON.net serializer to true in order to deal with an inheritance structure I have in…
Ross Jones
  • 973
  • 7
  • 20
13
votes
4 answers

Is a document/NoSQL database a good candidate for storing a balance sheet?

If I were to create a basic personal accounting system (because I'm like that - it's a hobby project about a domain I'm familiar enough with to avoid getting bogged-down in requirements), would a NoSQL/document database like RavenDB be a good…
Neil Barnwell
  • 41,080
  • 29
  • 148
  • 220
13
votes
3 answers

Many-to-many relationship in NoSQL

I am trying to figure out how to best implement this for my system...and get my head out of the RDBMS space for now... A part of my current DB has three tables: Show, ShowEntry, and Entry. Basically ShowEntry is a many-to-many joining table between…
codedog
  • 2,488
  • 9
  • 38
  • 67
13
votes
2 answers

RavenDB: Id Generation For Sub-Documents

I'm trying migrating an existing web application to use RavenDB. I currently have pages in my web application which allow you to view Categories, SubCategories and Resources based on an id in the querystring. However I notice that RavenDB generates…
Andy
  • 7,646
  • 8
  • 46
  • 69
13
votes
1 answer

RavenDB tracked changes bypasses validation

I am playing around trying to get an application framework going that uses RavenDB. I have setup a business logic service, which has a 1 to 1 relationship with a session and effectively becomes the unit of work abstraction. Part of the business…
Alex
  • 3,245
  • 2
  • 19
  • 17
12
votes
1 answer

RavenDb - The remote server returned an error: (403) Forbidden

When I try to create a database people collection on RavenDb, I get the following error: The remote server returned an error: (403) Forbidden. I hots the Raven on IIS and I am not sure what is going on. On the raven Management Studio, when I try…
tugberk
  • 57,477
  • 67
  • 243
  • 335
12
votes
3 answers

Cloud Service Providers for RavenDb

Not to be confused with Shared hosting providers supporting RavenDB or other similar questions. I do not need a web host, nor want to deploy RavenDb in Embedded or Web Site mode... Question: Are there any cloud service providers for RavenDB, like…
one.beat.consumer
  • 9,414
  • 11
  • 55
  • 98
12
votes
3 answers

Delete a single ravendb database while ravendb is running hosting other databases

Is there any way I can remove all data in a single database while RavenDB is still running, hosting other databases? In a production environment with RavenDB hosting multiple databases for different customers, it is not acceptable to stop RavenDB in…
Stephan Møller
  • 1,247
  • 19
  • 39
12
votes
2 answers

How would I model data that is heirarchal and relational in a document-oriented database system like RavenDB?

Document oriented databases (particularly RavenDB) are really intriguing me, and I'm wanting to play around with them a bit. However as someone who is very used to relational mapping, I was trying to think of how to model data correctly in a…
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
12
votes
2 answers

Data access architectures with Raven DB

What data access architectures are available that I can use with Raven DB? Basically, I want to separate persistence via interfaces, so I don't expose underline storage to the upper layers. I.e. I don't want my domain to see IDocumentStore or…
oleksii
  • 35,458
  • 16
  • 93
  • 163