Friday, October 7, 2011

Razor View Engine Cheat Sheet for C#

C# Razor view engine is the most beautiful templating syntax I have ever seen in the MVC frameworks (rail and django included ... sorry for bringing django up).

Here is a quick cheatsheet that I made when revising if there was anything about the syntax that I didn't get the first time. I am sure there are still syntax related things that I am missing. If you feel that anything needs to be added to this let me know.