As I mentioned earlier, one of our goals with Razor is to
minimize typing, and enable it to be easily edited with nothing more than a basic
text editor (notepad works great). We’ve kept the syntax clean, compact
and simple to help enable that.
We have also designed Razor so that you get a rich code
editing experience within Visual Studio. We will provide full HTML,
JavaScript and C#/VB code intellisense within Razor based files:
Notice above how we are providing intellisense for a Product
object on the “@p.” code embedded within the <li> element inside a
foreach loop. Also notice how our \Views folder within the Solution
Explorer contains both .aspx and .cshtml view templates. You can use
multiple view engines within a single application – making it easy to choose
whichever syntax feels best to you.