@page @{ var user = "root"; } <p> Hello @user </p>
Only thing which hurts there: not everywhere deployed like PHP is :)
And technically you need a 2 files boilerplate. But that will vanish within the next year when I understand the .NET team right.