Book description
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
- Dedication
- A Note Regarding Supplemental Files
- Preface
- 1. Introduction
- 2. Razor and Microsoft WebMatrix
- 3. Organizing Razor Templates
- 4. Razor and ASP.NET MVC
- 5. The Razor API
- 6. Advanced Techniques
- 7. Conclusion
- About the Author
- Copyright
Product information
- Title: Programming Razor
- Author(s):
- Release date: September 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449306762
You might also like
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Dependency Injection Principles, Practices, and Patterns
Dependency Injection Principles, Practices, and Patterns is a revised and expanded edition of the bestselling classic …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …