would think that there will be no official documentation on MSDN as yet due to the status of the Razor and MVC3. However check

  1. http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-asp-net-mvc-3-preview-1.aspx
  2. Introducing “Razor” – a new view engine for ASP.NET
  3. ASP.NET MVC 3: New @model keyword in Razor
  4. ASP.NET MVC 3: Layouts with Razor
  5. ASP.NET MVC 3: Server-Side Comments with Razor
  6. ASP.NET MVC 3: Razor’s @: and syntax
  7. ASP.NET MVC 3: Implicit and Explicit code nuggets with Razor
  8. ASP.NET MVC 3: Layouts and Sections with Razor
  9. Razor Syntax Quick Reference - Phil Haack
  10. Introduction to ASP.NET Web Programming Using the Razor Syntax

Haacked also has a post as well, and provides link to other resources including ,Brad Wilson, Scott Gu and others.

New: http://www.asp.net/learn/whitepapers/mvc3-release-notes

Online: introduction-to-asp-net-web-programming-using-the-razor-syntax

PDF: ASPNETWebPagesWithRazorSyntax-Book-Beta3.pdf

Introduction:

  • 1 - Getting Started with WebMatrix and ASP.NET Web Pages
  • 2 - Introduction to ASP.NET Web Programming Using the Razor Syntax
  • 3 - Creating a Consistent Look
  • 4 - Working with Forms
  • 5 - Working with Data
  • 6 - Displaying Data in a Grid
  • 7 - Displaying Data in a Chart
  • 8 - Working with Files
  • 9 - Working with Images
  • 10 - Working with Video
  • 11 - Adding Email to Your Web Site
  • 12 - Adding Search to Your Web Site
  • 13 - Adding Social Networking to Your Website
  • 14 - Analyzing Traffic
  • 15 - Caching to Improve the Performance of Your Website
  • 16 - Adding Security and Membership
  • 17 - Introduction to Debugging
  • 18 - Customizing Site-Wide Behavior
  • ASP.NET API Quick Reference
  • ASP.NET Web Pages Visual Basic
  • Program ASP.NET Web Pages in Visual Studio

    Razor – use of templates

     

     

    StockTrader - Demo