

Instant Razor View Engine How-to



Instant Razor View Engine How-to - Najlepsze oferty
Instant Razor View Engine How-to - Opis
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. Spis treści: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 (...) więcej 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... O autorze: Abhimanyu Kumar Vatsa works at Coxtan College, located in Bokaro Steel City, India as a lecturer focused on web technologies. He is a Microsoft MVP in ASP.NET/IIS. He loves to blog and started blogging in June 2009. He holds a bachelor's degree in Computer Science and Applications, a master's degree in Information Technology, and a few application-level diplomas. He moved to Bokaro Steel City from a remote village to pursue higher education in March 2003, and that was when he saw a computer with Windows 95 OS on Pentium 1 for the first time, and since then, he has never looked back. mniej
Instant Razor View Engine How-to - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.