We suggest you use the new razor tutorial to learn how to do these things. This old tutorial still demos some edge cases not described there, which is why we still provide it.
Contains all kind of Razor-Demos like
v. 00.01.01 GUID: bd9cb97d-a872-4386-85f8-9fa97c8eba5d
If this is the first time you've seen DNN-Apps and would like to try one - just install 2sxc first, then install this app inside it.