Details zum E-Book

Instant Razor View Engine How-to. Create dynamic web pages in your MVC web application with the Razor view engine

Instant Razor View Engine How-to. Create dynamic web pages in your MVC web application with the Razor view engine

Abhimanyu Kumar Vatsa

E-book
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.
  • Instant Razor View Engine How-to
    • Instant Razor View Engine How-to
    • Credits
    • About the Author
    • About the Reviewer
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. Instant Razor View Engine How-to
      • Introduction
        • Why Razor?
        • Versions
        • Prerequisites
      • Creating the project (Should know)
        • Getting ready
        • How to do it...
        • Theres more...
      • Fundamental Razor syntaxes (Must know)
        • Getting ready
        • How to do it...
          • Inline code expressions
          • Code block expression
          • Mixed code expression
      • Razor layout pages (Become an expert)
        • Getting ready
        • How to do it...
        • How it works...
        • There's more...
      • Models in Razor (Must know)
        • Getting ready
        • How to do it...
          • Creating a data model class
          • Scaffolding view templates
          • @inherits and @model directives
            • Manually adding view templates
        • There's more...
      • Razor helpers (Must know)
        • Getting ready
        • How to do it...
          • HTML helpers using the extension method
          • HTML helpers using the @helper syntax
          • Standard HTML helpers
            • Input helpers
            • Form helpers
            • Validation helpers
            • Link helpers
            • Label helpers
        • How it works...
        • There's more...
      • Partial views (Should know)
        • Getting ready
        • How to do it...
          • Partial helper
          • RenderPartial
            • Action and RenderAction helpers
        • How it works...
        • There's more...
  • Titel: Instant Razor View Engine How-to. Create dynamic web pages in your MVC web application with the Razor view engine
  • Autor: Abhimanyu Kumar Vatsa
  • Originaler Titel: Instant Razor View Engine How-to. Create dynamic web pages in your MVC web application with the Razor view engine
  • ISBN: 9781849696319, 9781849696319
  • Veröffentlichungsdatum: 2013-05-22
  • Format: E-book
  • Artikelkennung: e_2x65
  • Verleger: Packt Publishing