Thoughts from the Wet Coast
The musings of an ASP.NET Developer from Canada's We(s)t Coast
In a number of articles last fall I discussed NoSQL Databases in general and showed how RavenDB – a .NET NoSQL Database - could be used as the Data Store for an ASP.NET MVC Application.
In this article, I will demonstrate how RavenDB can be used as the Data Store for a DotNetNuke Module. First lets assume I have created a Web Application Project for my DotNetNuke Module. My Module, surprise, surprise, is going to be a Tasks or To-do List module.
In the fall of 2011 I started a series of blog posts on NoSQL databases. Since then I have developed a conference session on the topic which I presented at DevTeach 2012 in Vancouver in May. In developing the talk I spent a good deal of time trying to understand the concept of Map/Reduce, as it can be a challenging topic.
As described earlier in this series, NoSQL databases can be partitioned across many systems (or servers). This gives rise to an interesting problem - how to query across these multiple servers. This problem was solved by the concept of Map/Reduce algorithms. Map/Reduce is a multi step querying process, which takes a big task and breaks it down into multiple smaller tasks, and as with many of the NoSQL innovations it was first developed at Google.
Last week I gave two presentations at DevTeach in Vancouver. I am now making the slide decks and demo files available.
In my previous post in this series on NoSQL Databases, I showed how RavenDB embedded could be added to an existing ASP.NET MVC 3 application using NuGet and how it can be configured to use a folder in the App_Data folder.
In this blog I will add the code needed for my TaskController class to use RavenDB to store its data.
In my continuing series on NoSQL Databases I have been mainly describing some of the concepts behind NoSQL (and in particular Document) Databases. In this post I will start to dive into some code.
As mentioned earlier I will be using RavenDB as this is a .NET friendly database.
In my continuing research into NoSQL databases I needed to find a database to work with. As a .NET developer I was immediately drawn to RavenDB – a Document Database written in .NET by Ayende Rahien of NHibernate and Rhino Mocks fame.
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.