Skip to content


Subversion checkout URL

You can clone with
Download ZIP
BrickPile is an open source content management system built on RavenDB and ASP.NET MVC 5.
JavaScript C# CSS HTML

BrickPile is a lightweight CMS built on RavenDB and ASP.NET MVC 5. NuGet Version NuGet Downloads


Brace yourself, BrickPile makes the following demands:

  • ASP.NET MVC 5 and Web Api
  • RavenDB

And that's about it. A slight bit of knowledge about ASP.NET MVC development is also required.


Getting Installed

Installing BrickPile is simply the act of writing a single PowerShell command inside the package manager console.

PM> Install-Package BrickPile

And that's basically it. Of course you need an empty ASP.NET MVC 5 web application with Web Api.


As default BrickPile will run RavenDB in embedded mode and store the documents in ~\App_Data\Raven. This can easily be configured to use an other location or RavenDB server. The following example shows how to use RavenDB server.

    <add name="RavenDB" connectionString="Url = http://localhost:8080;Database=brickpile" />

Note: To run BrickPile with RavenDB server you need to download it and execute [RavenDBdir]\Server\Raven.Server.exe. For more configuration options see RavenDB documentation.

Assets configuration

In order to use Assets you have to change two things. In Global.asax, add: HostingEnvironment.RegisterVirtualPathProvider(new NativeVirtualPathProvider());

And then make sure that your web.config has the correct PhysicalPath and that the directory exist:

    <add key="PhysicalPath" value="C:\temp\static\" />

Note: The PhysicalPath can also be relative to the site root like this ~/App_Data/Static


When the configuration is done just hit F5 inside Visual Studio, this will hopefully bring up the setup screen. Fill the form with the correct information and hit "Let's do this" and your done.

Something went wrong with that request. Please try again.