Razor syntax

Post on 17-Aug-2015

94 views 2 download

Tags:

Transcript of Razor syntax

Razor Syntax

Why Razor?

Add Code Using @Character

Enclose code blocks in {Braces}

End each code with ;semicolon;

Enclose Literal Values in “----”

@\Back slash\ @””double_Quotation””

Check IsPostBack

IsPost Example

Plain Text

Multi line plain text

Code Comment