BrickPile 0.5.3-unstable
See the version list below for details.
dotnet add package BrickPile --version 0.5.3-unstable
NuGet\Install-Package BrickPile -Version 0.5.3-unstable
<PackageReference Include="BrickPile" Version="0.5.3-unstable" />
paket add BrickPile --version 0.5.3-unstable
#r "nuget: BrickPile, 0.5.3-unstable"
// Install BrickPile as a Cake Addin #addin nuget:?package=BrickPile&version=0.5.3-unstable&prerelease // Install BrickPile as a Cake Tool #tool nuget:?package=BrickPile&version=0.5.3-unstable&prerelease
BrickPile is a lightweight CMS built on RavenDB and ASP.NET MVC 5
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.Mvc (>= 5.1.2)
- Microsoft.AspNet.WebApi (>= 5.1.2)
- RavenDB.Embedded (>= 2.5.2879)
- SquishIt (>= 0.9.5.4)
- structuremap (>= 3.0.3.116)
- structuremap.web (>= 3.0.0.108)
- WebActivatorEX (>= 2.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.5.4 | 2,275 | 5/3/2015 |
0.5.3 | 1,775 | 1/11/2015 |
0.5.3-unstable | 1,409 | 7/21/2014 |
0.5.2 | 1,850 | 6/8/2014 |
I'm happy to announce a new pre release of BrickPile with support for working drafts and I gladly take feedback on both the API for working with page drafts and how the UI works when editing a draft and so on.
So to get started with the new pre release just create a new ASP.NET MVC 5 empty project, open the Package Manager Console and type `Install-Package BrickPile -Pre -DependencyVersion Highest`. If you are new to BrickPile, check out this [introduction](https://github.com/brickpile/brickpile/wiki/How-BrickPile-Works)
In the UI it's now possible to uncheck the **Published** checkbox and thereby save the page as a working draft. Then if you edit the page again you can revert back to the published page and remove the working draft.
Maybe this isn't so intuitive but it works for now.
I have also introduced the concept of saving page drafts using the API.
var page = new MyPage();
session.Store(page); // Default RavenDB
session.Store(page, StoreAction.None); // Default RavenDB
session.Store(page, StoreAction.Save); // Save the page as a working draft
session.Store(page, StoreAction.Publish); // Publish a page, this will remove any working draft if available
session.Store(page, StoreAction.UnPublish); // Unpublish page
In this release I have also included a couple of extension methods for easy access to the parent page, start page, children and ancestors using the following methods.
var children = session.Advanced.GetChildrenFor<T>(page);
var parent = session.Advanced.GetParentFor(page);
var ancestors = session.Advanced.GetAncestorsFor<T>(page, true); // Add true to include the start page
var start = session.Advanced.GetStartPage();
var navigationContext = session.Advanced.GetNavigationContextFor(page, true); // Add true to include the start page
I hope find this interesting and give me a lot of feedback!
Cheers!