NuGet packages


Piranha CMS i split up into a number of different packages that you can use depending on the kind of application you're building. Some of the packages are mainly dependecies and will be included when you install any of the main template packages.


PiranhaCMS

Install-Package PiranhaCMS

This is the main template for building a Web Site with the ASP.NET Web Pages framework. It installs the base templates for pages, posts and sets up the database with some default data. It is dependent on the PiranhaCMS.Core and PiranhaCMS.WebPages packages.


PiranhaCMSMvc

Install-Package PiranhaCMSMvc

This is the main template for building a Web Application with the ASP.NET MVC framework. It installs the base controllers and views for pages and posts and sets up the database with some default data. It is dependent on the PiranhaCMS.Core and PiranhaCMS.Mvc packages.


PiranhaCMS.WebPages

Install-Package PiranhaCMS.WebPages

This package is used for building client application with the ASP.NET Web Pages framework. It is dependent on the PiranhaCMS.Core package and contains routing for Web Pages, helpers and base classes.

This package can't be installed in the same project as the PiranhaCMS.Mvc package as there will be a MEF import collisions between the route handlers.


PiranhaCMS.Mvc

Install-Package PiranhaCMS.Mvc

This is the package for building client applications with the ASP.NET MVC 4 framework. It is dependent on the PiranhaCMS.Core package and contains routing for Mvc, helpers and base classes.

This package can't be installed in the same project as the PiranhaCMS.WebPages package as there will be MEF import collisions between the route handlers.


PiranhaCMS.Core

Install-Package PiranhaCMS.Core

The PiranhaCMS package is the core package of the framework. It includes the manager interface, scripts for creating and maintaining the database, entity framework mappings and application models. It also creates the default folders needed for uploading, caching and scaling media uploaded with the manager interface.

If you only plan on using Piranha CMS for managing content and then consuming it by using the rest services, this is the only package you'll need.