Constellation.Umbraco

This library introduces ease of use for handmade ViewModels that represent IPublishedContent items.

The ViewModels should inherit from Models.ContetnViewModel in order to take advantage of the
automatic property mapping provided by this library.

To Use:
1. Create ViewModels that represent content. ViewModel properties should match types and names of the published content Properties[] collection.
2. Each ViewModel should have a ContentType attribute on the class that specifies the Alias for the content that it represents.
3.

To convert a PublishedContent to a ViewModel, use the extension methods provided in this library. You may automatically cast to the "best fit" type, or you may cast to a specific ViewModel type.

This library was ported from concepts in Constellation.Sitecore.Items - it is not a 1:1 match, expect evolution.

Info

Version: 1.0.5682.14609
Author(s): Richard J. Cabral
Last Update: Thursday, July 23, 2015
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/sitecorerick/constellation.Umbraco
NuGet Url: https://www.nuget.org/packages/Constellation.Umbraco


Install
Install-Package Constellation.Umbraco
dotnet add package Z.EntityFramework.Plus.EF6
paket add Constellation.Umbraco
Constellation.Umbraco Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

1

days-since-last-release

1235