GoingDeep: Andrew Nurse: Inside "Razor"

GoingDeep

ASP.NET's latest MVC view engine, "Razor," is optimized for HTML generation using a code-focused templating approach. Razor minimizes the number of characters and keystrokes required in a file, and enables a fast, fluid coding workflow. Unlike most template syntaxes, you do not need to interrupt

Running time
0h55m
File size
25.00MB

Download Original File | View original post

Episode synopsis

ASP.NET's latest MVC view engine, "Razor," is optimized for HTML generation using a code-focused templating approach. Razor minimizes the number of characters and keystrokes required in a file, and enables a fast, fluid coding workflow. Unlike most template syntaxes, you do not need to interrupt your coding to explicitly denote server blocks within your HTML. The parser is smart enough to infer this from your code. This enables a really compact and expressive syntax which is clean, fast, and fun to type.

How exactly does the "Razor" parser work? What were the design goals? How is it implemented? These are Going Deep questions and we knew exactly who could answer them. Meet Andrew Nurse, Software Engineer and one of the guys who designed and wrote the "Razor" parser.

Tune in as we take a razor to "Razor."

Enjoy.

You might also like...

Comments

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” - Brian Kernighan