Andrew Nurse: Inside "Razor"

  • Posted: Jul 15, 2010 at 1:10 PM
  • By: Charles
  • Avg Rating: 4.25

    (4)
  • 48,394 Views
  • 30 Comments

Download

Right click “Save as…”

Embed code for this video

Copy the code above to embed our video on your website/blog.

Close

Video format

Note: These selections will fall back to the next best format depending upon browser capability.

Close
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. Of course, your questions are also asked. Thanks to those of you who posted them!

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

Enjoy.

Tags:

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.