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
22
votes
2 answers

RavenDB Map-Reduce Example using .NET Client

I'm looking for an example of how to implement and use Map-Reduce within the RavenDB .NET Client. I'd like to apply it to a specific scenario: generating unique and total visitor counts. A sample document that would be stored within RavenDB:…
user111013
21
votes
4 answers

Changing "schema" in RavenDB

Just for the interest of expanding my knowledge I have started looking at various NoSQL options. The first one I visited is RavenDB and it looks interesting. I am still trying to break my deep-seated relational thinking, along with the typical RDBMS…
codedog
  • 2,488
  • 9
  • 38
  • 67
19
votes
3 answers

Can I install ravendb client alongside Microsoft.AspNet.WebApi.Client?

I'm trying an ASP.NET MVC4 Web API project. I'm trying to install the ravendb client through nuget. This is the error: Attempting to resolve dependency 'NLog (= 2.0.0.2000)'. Successfully installed 'Newtonsoft.Json 4.0.8'. Successfully installed…
DannykPowell
  • 1,227
  • 5
  • 18
  • 30
18
votes
6 answers

Retrieving entire data collection from a RavenDB

I have a requirement where I need to fetch the entire data collection Users from RavenDB and compare the retrieved result set with another set of data. There are close to 4000 records in this particular collection. Because Raven is Safe By Default,…
annantDev
  • 367
  • 4
  • 20
18
votes
1 answer

Tell RavenDB to ignore a property

I have a document model to store in RavenDB but I don't want to store a calculated property. How do I tell RavenDB to ignore this property? In the below example I don't want to store Duration. public class Build { public string Id { get; set; } …
Ben Clark-Robinson
  • 1,449
  • 16
  • 22
17
votes
3 answers

RavenDB - retrieving part of document

I am playing with Raven DB for few days and I would like to use it as a storage for my Web chat application. I have document which contains some user data and chat history - which is big collection chat messages. Each time I load user document chat…
tpx86
  • 229
  • 2
  • 7
17
votes
2 answers

"Could not find transactional storage type" error with embedded RavenDB

I was able to successfully run a simple test for RavenDB based on the code found at: http://ravendb.net/tutorials/hello-world Next I tried to run it in an Embedded Manner, but I keep on getting the following error: Message: Could not find…
Pranav Shah
  • 3,233
  • 3
  • 30
  • 47
17
votes
1 answer

Linq query with multiple Contains/Any for RavenDB

I have a document class that contains a list of "tags". Something like: class Item { string Name { get; set; } List Tags {get; set;} } Now I would like to create a query for RavenDB that hands me all items filtered by a list of tags.…
CodingInsomnia
  • 1,843
  • 2
  • 15
  • 19
17
votes
2 answers

Updating documents in RavenDB

If you add, delete or rename a property on a persisted entity, what's the easiest way to update the documents in RavenDB?
henningc
  • 215
  • 1
  • 2
  • 7
17
votes
3 answers

How to use SimpleMembership in MVC without Entity Framework

What are the required steps to use SimpleMembership (ASP.NET MVC 4) with RavenDB (or other databases) instead of SQL Server? I am used to override the MembershipProvider but how does it work with the new SimpleMembership? I saw there is a…
W3Max
  • 3,328
  • 5
  • 35
  • 61
17
votes
4 answers

Raven DB: How can I delete all documents of a given type

More specifically in Raven DB, I want to create a generic method with a signature like; public void Clear() {... Then have Raven DB clear all documents of the given type. I understand from other posts by Ayende to similar questions that you'd…
Ryan Worsley
  • 655
  • 1
  • 4
  • 17
16
votes
1 answer

Is it possible to connect to an embedded DB with Raven Management Studio

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?
Ken Sykora
  • 1,124
  • 13
  • 27
16
votes
2 answers

RavenDB Session > 30

If I'm trying to save a list of items I want to save that has a count > 30 I get an error saying The maximum number of requests (30) allowed for this session has been reached. Raven limits the number of remote calls that a session is allowed …
15
votes
2 answers

Should I run RavenDB as a windows service or through IIS?

I am playing with the idea of using RavenDB as the data store for an application that will most likely have an HTML UI, a WebService UI, and server utilities that will access the data as well. One reason for using RavenDB is the horizontal scaling…
jedatu
  • 4,053
  • 6
  • 48
  • 60
15
votes
1 answer

Running RavenDB as an EmbeddableDocumentStore and accessing RavenDB Management Studio

I'm playing with an embedded RavenDB => RavenDB-Embedded.1.0.499 package installed via NuGet in Visual Studio 2010. It's being used in a current project that I started after reading this excellent MSDN article: Embedding RavenDB into an ASP.NET MVC…
Leniel Maccaferri
  • 100,159
  • 46
  • 371
  • 480