2. What is it View Engine for generating HTML (ie: ASPX) Supported by Web Frameworks ASP.Net MVC Monorail OpenRasta
3. Advantages Intellisense Breakpoints in the view Can generate a HTML from the view with Xpark.exe Very readable (<% %> tags scare people)
4. Advantages Lets you use other languages in the view C# Visual Basic IronPython IronRuby
5. Disadvantages Error pages are ugly and hard to read Intellisense hard to setup Try unistallingresharper first I feel like I’m doing ColdFusion again
6. Hello World <p>Hello ${"World"}!</p> Or you can use this if you must <p>Hello <%= "World!"%></p>
7. If blocks <test if="name == 'acme'"> acme is my favourite. <else/> ${name} is okay too I suppose. </test>
9. For loops <varnames="new[] { 'alpha', 'beta’}"/> <for each="var name in names"> ${name} </for>
10. Each Attribute <varnames="new[] { 'alpha', 'beta' }"/> <div each="var name in names"> ${name} </div>