Instant Razor View Engine How-to
暫譯: 即時 Razor 視圖引擎實用指南

Abhimanyu Kumar Vatsa

  • 出版商: Packt Publishing
  • 出版日期: 2013-05-26
  • 售價: $1,260
  • 貴賓價: 9.5$1,197
  • 語言: 英文
  • 頁數: 80
  • 裝訂: Paperback
  • ISBN: 1849696306
  • ISBN-13: 9781849696302
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

Create dynamic web pages in your MVC web application with the Razor view engine with this book and ebook

Overview

  • 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

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.

What you will learn from this book

  • 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

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This is a Packt Instant How-to guide, which provides concise and clear recipes for configuring RazorView and working with its syntax and view types.

Who this book is written for

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

商品描述(中文翻譯)

使用本書和電子書在您的 MVC 網頁應用程式中創建動態網頁,搭配 Razor 視圖引擎

概述

  • 瞬間學習新知!一本短小、快速、專注的指南,提供立即的結果
  • 配置和設置 Razor 視圖
  • 了解 Razor 視圖語法的結構
  • 創建輔助組件並啟用代碼重用

詳細內容

Razor 視圖引擎是微軟的一個先進視圖引擎。Razor 視圖是最受歡迎的視圖引擎之一,無需明確關閉代碼區塊。本書將幫助您理解並配置 RazorView,以創建動態網頁。

Instant Razor View Engine How-to 將幫助您使應用程式更具 MVC 友好性,使用乾淨、輕量的代碼,與其他視圖引擎相比,更快且更易於理解。

Instant Razor View Engine How-to 介紹了使您的網頁應用程式更具 MVC 友好性的方法。本書首先詳細說明 RazorView 語法的結構和配置 Razor 視圖,並創建一個網頁應用程式專案,這也將幫助您選擇合適的程式語言。本書的後半部分將討論創建視圖模板和使用 Razor 語法創建視圖頁面。到本書結束時,您還將熟悉 Razor 指令、輔助組件,並使用部分視圖在整個應用程式中重用 Razor 代碼。

您將從本書中學到什麼

  • 理解 Razor 語法的結構
  • 學習 RazorView 代碼表達式
  • 理解和實現模型、腳手架和指令
  • 理解帶有擴展方法的輔助工具
  • 通過部分視圖在整個應用程式中重用代碼

方法

本書充滿了實用的逐步指導和對最重要和有用任務的清晰解釋。這是一本 Packt Instant How-to 指南,提供簡潔明瞭的配置 RazorView 和使用其語法及視圖類型的食譜。

本書的讀者對象

本書適合尋找簡化網頁應用程式開發替代方法的開發人員。