32 votes

Umbraco v6 MVC Razor Cheatsheets

This project is devoted to cheatsheets designed specifically for developers who are working with Umbraco in MVC rendering mode which has been available since version 4.10 however the features listed are known to work fully with version 6.x and above.

There are two cheats available, one focussed on the the dynamic view Model (DynamicPublishedContent) and the other is focussed on the strongly typed view Model (PublishedContent).

The cheatsheets are color coded to help the developer quickly identify what they are looking for.

These cheatsheets may not be fully exhaustive and they assume the developer is familiar with the basics of the razor language and its featues. They cover:

  • Property Access
  • Dictionary Access
  • Collections
  • Filtering & Ordering
  • Tree Traversal
  • Agregate Functions
  • Umbraco Helper
  • Condtionals
  • Manipulation
  • Property Checking
  • IsHelpers
  • Macro Parameter Access
  • Permissions
For basic Razor syntax help and cheatsheet check out http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx

 

If you are looking for the DynamicNode Razor Cheatsheet for use with Umbraco 4.7.1+ please see http://our.umbraco.org/projects/developer-tools/razor-dynamicnode-cheat-sheet

Screenshots

Package owner

Peter Gregory

Peter Gregory

Peter has 1614 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Peter Gregory
  • Created: 26/08/2013
  • Current version 0.1
  • License MIT
  • Downloads on Our: 26.5K