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
Publisher resources
Table of contents
-
Programming Razor
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
- 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
- SPECIAL OFFER: Upgrade this ebook with O’Reilly
Product information
- Title: Programming Razor
- Author(s):
- Release date: September 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449317164
You might also like
book
Programming ASP .NET
ASP.NET is the successor technology to Active Server Pages (ASP), the world?s most successful development environment …
book
Programming ASP.NET Core, First edition
The complete, pragmatic guide to building high-value solutions with ASP.NET Core Programming ASP.NET Core is the …
book
Building Single Page Applications in .NET Core 3: Jumpstart Coding Using Blazor and C#
Attention .NET developers who no longer want to use JavaScript for your front end. Quickly and …
book
Programming Entity Framework: Code First
Take advantage of the Code First data modeling approach in ADO.NET Entity Framework, and learn how …