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
, Software Engineer and one of the guys who designed and wrote the "Razor" parser. Of course,
questions are also asked. Thanks to those of you who posted them!
Tune in as we take a razor to "Razor."