Simplification Tools

W12 The Almighty @ - A Razor Primer

04/20/2011

2:30 PM - 3:45 PM

Level: Introductory

Charles Nurse

Charles Nurse

Senior Architect

DotNetNuke Corporation

Razor – it sounds like a facial grooming product – is a new technology from Microsoft that ships as part of WebMatrix. But what is it and how does it work with the rest of the ASP.NET components that we all know and love?

In this session we will explore the new Razor syntax and how Razor is being used as part of Web Pages - a new simpler approach to building Web Applications. But Razor is not just a new way to build Web Applications. Its parsing engine can be hosted by other Applications, and we will show how it is used as the basis of a new View Engine for MVC. Finally, we will explore how the Razor parser can be hosted inside a Web Forms Application – DotNetNuke – to provide a simple scripting solution.

You will learn:

  • Razor Syntax and how to build simple Web Sites with the new ASP.NET Web Pages Framework
  • How to use the Razor View Engine in an ASP.NET MVC 3 Web Application
  • How you can host the Razor View Engine in your own Application