Programming Razor
Tools for Templates in ASP.NET MVC or WebMatrix
Publisher: O'Reilly Media
Released: September 2011
Pages: 120

Take Razor for a test drive and discover first hand how this scripting syntax simplifies the way you create dynamic, data-driven websites. With this concise guide, you’ll work with Razor syntax by building example websites with Microsoft WebMatrix and ASP.NET MVC. You'll quickly learn how Razor lets you combine code and content in a fluid and expressive manner on Windows-based servers.

Programming Razor also explores components of the Razor API, and shows you how Razor templates are turned into rendered HTML. By the end of this book, you'll be able to create Razor-based websites with custom extensions that meet the specific needs of your projects.

  • Use Razor with Microsoft WebMatrix to build a working blog, complete with data
  • Organize and manage your web application, using Razor features for layouts, sections, and partial views
  • Create clean and effective ASP.NET MVC views with the Razor View Engine
  • Learn how the Razor API interprets Razor templates and turns them into executable .NET code
  • Implement advanced techniques for exposing reusable code and sharing ASP.NET MVC views across projects
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyProgramming Razor
 
3.0

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (2)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

 
3.0

Limited usefulness

By eyesea

from Austin, Texas

About Me Developer

Verified Reviewer

Pros

  • Easy to understand
  • Well-written

Cons

  • Too many errors

Best Uses

  • Novice

Comments about oreilly Programming Razor:

The first part of this book explaining Razor with Web Pages and WebMatrix is very good but the material on Razor with MVC is hopelessly out of date and the sample code won't run because of updates and changes to MVC3. It would be nice if this were updated. As it is it has limited usefulness.

(2 of 2 customers found this review helpful)

 
3.0

Understand the Razor view engine

By Dace Zariņa

from Riga, Latvia

About Me Developer

Verified Reviewer

Pros

  • Easy to understand
  • RazorPad
  • Short

Cons

    Best Uses

    • Novice
    • Student

    Comments about oreilly Programming Razor:

    This book is about Microsoft Razor view engine. If you do not know anything about Razor view engine then this is the right book to start with. It covers fundamentals of Razor view engine - how it works, what can be done, how can you use it, etc. Only this book does not cover other view engines like Castle and ASPX. In my opinion there should be at least one chapter about other view engines. However, I am working with Razor engine this book was useful because I learned about lot of useful tools , for example, RazorGenerator, PrecompiledMvcEngine, aspnet_compiler.exe, etc. Only sometimes when reading this book is feeling that something could be explained a little better. For example, there should be a little bit longer explanation about MVC Areas for novice who is not familiar with MVC it would be difficult to understand it. One of the things which I really liked about this book was RazorPad. RazorPad - a light-weight WPF application or online application for learning Razor syntax.

    Displaying reviews 1-2

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $9.99
    Formats:  DAISY, ePub, Mobi, PDF
    Print & Ebook: $21.99
    Print: $19.99