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
8
votes
1 answer

Temp path already used by another database instance RavenDB MVC3

I'm running windows 7 64bit, RavenDB Embedded 1.0.701, MVC 3, C#, VS 2010 Pro. After following the instructions on RavenDB's site, I get a "Could not open transactional storage: F:/RavenDBDataStore/Data" w/ inner exception "Temp path already used by…
Jason Foglia
  • 2,414
  • 3
  • 27
  • 48
8
votes
1 answer

How to setup multitenancy within an mvc 3 application with ravendb

We've an mvc3 application setup with RavenDb in the following way (with some help from NoSql with RavenDb and Asp.net MVC): The following code is in the Global.asax private const string RavenSessionKey = "RavenMVC.Session"; private static…
Andrew
  • 5,395
  • 1
  • 27
  • 47
8
votes
2 answers

RavenDB Upgrade

I'm almost afraid to ask this question here because it seems like it should be readily available via google or on ravendb.net. However, I've been having a tough time finding out the proper way to upgrade my RavenDB to a new version. I'm currently…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
8
votes
1 answer

Multitenant indexes in RavenDB in asp.net MVC

In a multitenant RavenDB application (one database per tenant, and one 'overview' database with general tenant data), what would be the index creation strategy? (asp.net mvc) In a simple (not multitenant) application, you can create the indexes in…
Tom Deleu
  • 1,177
  • 1
  • 15
  • 29
8
votes
1 answer

Raven DB: How is 'smuggler' different from 'Import/Export'?

With Raven DB, there is a program called "Smuggler" which allows dumps to be taken of Raven DB. However, there is also an option within Raven DB Management Studio to 'Import/Export' database. What is the difference?
dreadwail
  • 15,098
  • 21
  • 65
  • 96
8
votes
2 answers

RavenDB - Planning for scalability

I have been learning RavenDB recently and would like to put it to use. I was wondering what advice or suggestions people had around building the system in a way that is ready to scale, specifically sharding the data across servers, but that can…
Chris Sainty
  • 9,086
  • 1
  • 26
  • 31
8
votes
2 answers

How to disable RavenDB replication

How do I disable RavenDB replication? The reason for that is I have a simple database on one server and I don't need any replication at this point. IDocumentStore tmpStore = new DocumentStore { Url =…
oleksii
  • 35,458
  • 16
  • 93
  • 163
8
votes
2 answers

ASP.NET MVC 3, RavenDB, & Autofac Issue Plus 2 Other Autofac Questions

NOTE: There are 3 questions in here and I did not make separate questions since they are all somewhat related to the same code. I have the following code that registers the connection to my RavenDB in the Application_Start once per the application's…
ryanzec
  • 27,284
  • 38
  • 112
  • 169
8
votes
1 answer

How to do a RavenDB query over multiple (complex structure) fields and return the matched values?

I have a RavenDB 3.5 collection "Municipalities" with documents structured like this: { "Name": ..., ..., "Districts": [ { "Name": ..., ... } ] } Note that the districts property can also be null. Now I'm working on a…
Koen
  • 3,626
  • 1
  • 34
  • 55
8
votes
1 answer

Azure DocumentDb vs RavenDb

As .NET developers currently we're using RavenDb as our default choice of database, in the nosql scenario. Now that Microsoft introduced DocumentDb, a nosql document database-as-a-service, we're looking for the differences between the two.…
Andrew
  • 5,395
  • 1
  • 27
  • 47
8
votes
5 answers

Returning async stream of query results

I have the following WebApi method that returns an unbounded result stream from RavenDB: public IEnumerable Get() { var query = DocumentSession.Query(); using (var enumerator = DocumentSession.Advanced.Stream(query)) …
Diego Mijelshon
  • 52,548
  • 16
  • 116
  • 154
8
votes
1 answer

Custom Field Design with C# and RavenDB

I'm facing a key design question related to how to attach custom fields to entities in my system. The entities are represented in C# and persisted in RavenDB. We are roughly following tenants of Domain Driven Design and our entities are aggregate…
Eric Farr
  • 2,683
  • 21
  • 30
8
votes
1 answer

Mongo Vs Raven Evaluation

I was in the process of evaluating nosql databases and finalised on two. RavenDB and MongoDb. Which one is better and why? Which will help in writing more performance oriented queries.
Ajai rajan
  • 163
  • 1
  • 8
8
votes
1 answer

How do I tell RavenDB to ignore a property but not WebAPI?

I have a property I don't want to store in RavenDB. If I add the JsonIgnore attribute RavenDB will ignore fine but then so will WebApi. I still want WebApi to serialize the data down to a web client though. How do I tell RavenDB to ignore a…
kareem
  • 753
  • 1
  • 5
  • 10
8
votes
1 answer

RavenDB storing property with JsonIgnore attribute

Fairly new to raven. But just reading some of the documention ignorning a property seems pretty straight forward. But for some reason my property that I do not want save is being saved. Not sure why. Thanks for any help or guidance. This is property…
user516883
  • 8,868
  • 23
  • 72
  • 114