26 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


 Download package
version 0.1

Project owner

Peter Gregory

Peter Gregory

Peter has 1374 karma points

Project Compatibility

This project is compatible with the following versions as reported by community members who have downloaded this package:
7.3.x (untested)
7.2.x (untested)
7.1.x (untested)
7.0.x (untested)
6.1.x (untested)
6.0.x (untested)
4.11.x (untested)
4.10.0 (untested)
4.9.1 (untested)
4.9.0 (untested)

You must login before you can report on package compatibility.

Project Information

  • Project owner: Peter Gregory
  • Created: 26/08/2013
  • Current version 0.1
  • License MIT
  • Downloads: 14319
Our.umbraco.org is the community mothership for Umbraco, the open source asp.net cms. With a friendly forum for all your questions, a comprehensive documentation and a ton of packages from the community. This site is running Umbraco version 7.3.0