ASP.NET MVC 3 Razor documentation [closed]
Is there any documentation on how to use the Razor view engine using ASP.NET MVC 3?
Or any other resources?
I am trying to find it in Google and MSDN with no luck so far.
Solution 1:
I would think that there will be no official documentation on MSDN as yet due to the status of the Razor and MVC3. However check
- http://weblogs.asp.net/scottgu/archive/2010/07/27/introducing-asp-net-mvc-3-preview-1.aspx
- Introducing “Razor” – a new view engine for ASP.NET
- ASP.NET MVC 3: New @model keyword in Razor
- ASP.NET MVC 3: Layouts with Razor
- ASP.NET MVC 3: Server-Side Comments with Razor
- ASP.NET MVC 3: Razor’s @: and syntax
- ASP.NET MVC 3: Implicit and Explicit code nuggets with Razor
- ASP.NET MVC 3: Layouts and Sections with Razor
- Razor Syntax Quick Reference - Phil Haack
- Introduction to ASP.NET Web Programming Using the Razor Syntax
- ASP.NET MVC 3 and the @helper syntax within Razor
- [MSDN Labs] ASP.NET MVC 3 Razor
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
Solution 2:
Until documentation is out specific to MVC3, you might want to start with the Razor docs available for the Web Matrix Beta 3 release. There is good information available on the syntax and structure of Razor.
Online: introduction-to-asp-net-web-programming-using-the-razor-syntax
PDF: ASPNETWebPagesWithRazorSyntax-Book-Beta3.pdf