Instant Razor View Engine How-to
()
About this ebook
Related to Instant Razor View Engine How-to
Related ebooks
The Art of Modern PHP 8: Learn how to write modern, performant, and enterprise-ready code with the latest PHP features and practices Rating: 0 out of 5 stars0 ratingsBeginning PHP: Master the latest features of PHP 7 and fully embrace modern PHP development Rating: 0 out of 5 stars0 ratingsMastering Python Design Patterns: Craft essential Python patterns by following core design principles Rating: 0 out of 5 stars0 ratingsCakePHP 1.3 Application Development Cookbook Rating: 0 out of 5 stars0 ratingsPractical Design Patterns for Java Developers: Hone your software design skills by implementing popular design patterns in Java Rating: 0 out of 5 stars0 ratingsMongoDB for Jobseekers: Reach new heights in your career with MongoDB (English Edition) Rating: 0 out of 5 stars0 ratingsMastering Visual Studio: A Comprehensive Guide Rating: 0 out of 5 stars0 ratingsSOA for the Business Developer: Concepts, BPEL, and SCA Rating: 0 out of 5 stars0 ratingsMastering JBoss Enterprise Application Platform 7 Rating: 0 out of 5 stars0 ratingsReal-World Svelte: Supercharge your apps with Svelte 4 by mastering advanced web development concepts Rating: 0 out of 5 stars0 ratingsFirebase The Ultimate Step-By-Step Guide Rating: 0 out of 5 stars0 ratingsCloud Development and Deployment with CloudBees Rating: 0 out of 5 stars0 ratingsNode.js for Beginners: A comprehensive guide to building efficient, full-featured web applications with Node.js Rating: 0 out of 5 stars0 ratingsNosql A Complete Guide - 2019 Edition Rating: 0 out of 5 stars0 ratingsPractical Ansible: Learn how to automate infrastructure, manage configuration, and deploy applications Rating: 0 out of 5 stars0 ratingsDatabase Security A Complete Guide - 2020 Edition Rating: 0 out of 5 stars0 ratingsBuilding Your Own JavaScript Framework: Architect extensible and reusable framework systems Rating: 0 out of 5 stars0 ratingsJSF 2.0 Cookbook: LITE Rating: 0 out of 5 stars0 ratingsOCA Java SE 7 Programmer I Certification Guide: Prepare for the 1Z0-803 exam Rating: 0 out of 5 stars0 ratingsC++ System Programming Cookbook: Practical recipes for Linux system-level programming using the latest C++ features Rating: 0 out of 5 stars0 ratingsAlfresco 3 Cookbook Rating: 0 out of 5 stars0 ratingsBeginning DotNetNuke Skinning and Design Rating: 0 out of 5 stars0 ratingsBeginning Laravel: Build Websites with Laravel 5.8 Rating: 0 out of 5 stars0 ratingsAjax in Action Rating: 0 out of 5 stars0 ratingsVideo Streaming Second Edition Rating: 0 out of 5 stars0 ratings
Internet & Web For You
No Place to Hide: Edward Snowden, the NSA, and the U.S. Surveillance State Rating: 4 out of 5 stars4/5How to Disappear and Live Off the Grid: A CIA Insider's Guide Rating: 0 out of 5 stars0 ratingsWireless Hacking 101 Rating: 5 out of 5 stars5/5Social Engineering: The Science of Human Hacking Rating: 3 out of 5 stars3/5How to Be Invisible: Protect Your Home, Your Children, Your Assets, and Your Life Rating: 4 out of 5 stars4/5Coding For Dummies Rating: 5 out of 5 stars5/5Grokking Algorithms: An illustrated guide for programmers and other curious people Rating: 4 out of 5 stars4/5Coding All-in-One For Dummies Rating: 4 out of 5 stars4/5Beginner's Guide To Starting An Etsy Print-On-Demand Shop Rating: 0 out of 5 stars0 ratingsEverybody Lies: Big Data, New Data, and What the Internet Can Tell Us About Who We Really Are Rating: 4 out of 5 stars4/5Cybersecurity For Dummies Rating: 5 out of 5 stars5/5The Hacker Crackdown: Law and Disorder on the Electronic Frontier Rating: 4 out of 5 stars4/5How To Start A Profitable Authority Blog In Under One Hour Rating: 5 out of 5 stars5/5Podcasting For Dummies Rating: 4 out of 5 stars4/5Six Figure Blogging Blueprint Rating: 5 out of 5 stars5/5Cybersecurity All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsThe Beginner's Affiliate Marketing Blueprint Rating: 4 out of 5 stars4/5An Ultimate Guide to Kali Linux for Beginners Rating: 3 out of 5 stars3/5Surveillance and Surveillance Detection: A CIA Insider's Guide Rating: 3 out of 5 stars3/5How To Make Money Blogging: How I Replaced My Day-Job With My Blog and How You Can Start A Blog Today Rating: 4 out of 5 stars4/5Python QuickStart Guide: The Simplified Beginner's Guide to Python Programming Using Hands-On Projects and Real-World Applications Rating: 0 out of 5 stars0 ratingsTor and the Dark Art of Anonymity Rating: 5 out of 5 stars5/5The Gothic Novel Collection Rating: 5 out of 5 stars5/5Notion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5Stop Asking Questions: How to Lead High-Impact Interviews and Learn Anything from Anyone Rating: 5 out of 5 stars5/5JavaScript All-in-One For Dummies Rating: 5 out of 5 stars5/5The $1,000,000 Web Designer Guide: A Practical Guide for Wealth and Freedom as an Online Freelancer Rating: 4 out of 5 stars4/5
Reviews for Instant Razor View Engine How-to
0 ratings0 reviews
Book preview
Instant Razor View Engine How-to - Abhimanyu Kumar Vatsa
Table of Contents
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...
There's 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...
Instant Razor View Engine How-to
Instant Razor View Engine How-to
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: May 2013
Production Reference: 1160513
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84969-630-2
www.packtpub.com
Credits
Author
Abhimanyu Kumar Vatsa
Reviewer
Ahsan Murshed
Acquisition Editor
Akram Hussain
Commissioning Editor
Shreerang Deshpande
Technical Editor
Nitee Shetty
Project Coordinator
Siddhant Shetty
Proofreader
Maria Gould
Production Coordinator
Prachali Bhiwandkar
Cover Work
Prachali Bhiwandkar
Cover Image
Sheetal Aute
About the Author
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.
A big thank you to my mom, dad, my sister Ambuj, my brother Avnish, the Indian MVP Community, and to you for reading this book. Enjoy!
About the Reviewer
Ahsan Murshed is an ex-MVP (Microsoft Most Valuable Professional) for the period of 2011-2013. Now he is working as a software engineer, with more than 6 years of experience in the