Adding RavenDB to an MVC application
Posted in RavenDB
Adding RavenDB to an MVC 3 application is very straightforward – in this post I will add RavenDB via Nuget and it will run RavenDB in embedded mode.
- Start Visual Studio 2010 and Add a new MVC 3 Application, choose Internet Application from the project template option. This will create our new app ready to add RavenDB to.
-
Ok now to Add RavenDB into your application lets use Nuget to add in the RavenDB Embedded package, go to the Tools Menu and then select Library Package Manager and then Manage Nuget Packages – search for RavenDB Embedded as seen below:-
Click install and wait a little, it’s a larger package compared to most, also accept the license agreement.
- That’s it RavenDB has been added to our MVC 3 application, in the next blog post we will make use of RavenDB in our application.
[…] RavenDB to a new MVC 3 application – RavenDB in MVC 3 App Like this:LikeBe the first to like this […]
[…] RavenDB to an MVC application – RavenDB in MVC 3 App Like this:LikeBe the first to like this […]
You might want to mention how to set it up if you don’t want to use the embedded server.
i will do, I plan to cover all of the options as well as the options for deploying.