Free Sample
+ Collection
Code Files

Instant Razor View Engine How-to

Abhimanyu Kumar Vatsa

Create dynamic web pages in your MVC web application with the Razor view engine
RRP $14.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849696302
Paperback80 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Configure and setup Razor View
  • Learn the anatomy of Razor View Syntax
  • Create helper components and enable code reusability

Who This Book Is For

This book is for developers who are looking for alternate ways to simplify web application development.

Table of Contents

Chapter 1: Instant Razor View Engine How-to
Creating the project (Should know)
Fundamental Razor syntaxes (Must know)
Razor layout pages (Become an expert)
Models in Razor (Must know)
Razor helpers (Must know)
Partial views (Should know)

What You Will Learn

  • Understand the anatomy of Razor Syntax
  • Learn RazorView code expressions
  • Understand and implement models, scaffolding, and directives
  • Understand helpers with extension methods
  • Reuse code throughout the application with Partial Views

In Detail

Razor View Engine is an advanced view engine from Microsoft. Razor View is one of the most popular view engines which doesn’t require you to explicitly close the code block. This book will help you understand and configure RazorView in your system to create dynamic web pages.

Instant Razor View Engine How-to will help you to make your application more MVC friendly with clean, lightweight code which is quicker and easier to understand compared to other view engines.

Instant Razor View Engine How-to introduces you to methods to make your web application more MVC friendly. The book begins by detailing the anatomy of RazorView Syntax and configuring Razor View as well as creating a web application project which will also help you to select an appropriate programming language. The later section of the book goes on to discuss creating view templates and creating View pages using Razor syntax. By the end of the book, you will also be familiar with Razor directives, helper components, and work with Partial views to reuse razor code throughout the application.


Read More