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
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.
Abhimanyu Kumar Vatsa
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.
We understand your time is important. Uniquely amongst the major publishers, we seek to develop and publish the broadest range of learning and information products on each technology. Every Packt product delivers a specific learning pathway, broadly defined by the Series type. This structured approach enables you to select the pathway which best suits your knowledge level, learning style and task objectives.
As a new user, these step-by-step tutorial guides will give you all the practical skills necessary to become competent and efficient.
Friendly, informal tutorials that provide a practical introduction using examples, activities, and challenges.
Fast paced, concentrated introductions showing the quickest way to put the tool to work in the real world.
A collection of practical self-contained recipes that all users of the technology will find useful for building more powerful and reliable systems.
Guides you through the most common types of project you'll encounter, giving you end-to-end guidance on how to build your specific solution quickly and reliably.
Take your skills to the next level with advanced tutorials that will give you confidence to master the tool's most powerful features.
Accessible to readers adopting the topic, these titles get you into the tool or technology so that you can become an effective user.
Building on core skills you already have, these titles share solutions and expertise so you become a highly productive power user.