Asp.net webmatrix web pages with razor syntax original book beta 3

Solo disponible en BuenasTareas
  • Páginas : 127 (31687 palabras )
  • Descarga(s) : 0
  • Publicado : 7 de junio de 2011
Leer documento completo
Vista previa del texto
ASP.NET Web Pages Using The Razor Syntax
Microsoft® ASP.NET Web Pages is a free Web development technology that is designed to deliver the world's best experience for Web developers who are building websites for the Internet. This book provides an overview of how to create dynamic Web content using ASP.NET Web Pages with the Razor syntax. Note This document is preliminary documentation forthe Beta 3 release of Microsoft WebMatrix and ASP.NET Web pages and is subject to change. For the latest information, visit http://www.asp.net/webmatrix.

Contents
Chapter 1 – Getting Started with WebMatrix Beta and ASP.NET Web Pages ........................................1
What is WebMatrix Beta?.........................................................................................................................................1 Installing WebMatrix Beta .........................................................................................................................................1 Getting Started with WebMatrix Beta ......................................................................................................................2 Creating a Web Page.................................................................................................................................................4 Installing Helpers with Package Manager .................................................................................................................7 Using ASP.NET Web Pages Code...............................................................................................................................9 Programming ASP.NET Razor Pages in Visual Studio ..............................................................................................12 Creating and Testing ASP.NET Pages Using Your Own Text Editor .....................................................................13

Chapter 2 – Introduction to ASP.NET WebProgramming Using the Razor Syntax ............................... 15
The Top 8 Programming Tips ...................................................................................................................................15 HTML Encoding ...................................................................................................................................................16 HTTPGET and POST Methods and the IsPost Property .......................................................................................21 A Simple Code Example ...........................................................................................................................................22 Basic Programming Concepts..................................................................................................................................24 Classes and Instances..........................................................................................................................................25 Language and Syntax ...............................................................................................................................................26Additional Resources ...............................................................................................................................................47

Chapter 3 – Creating a Consistent Look ............................................................................................. 48
Creating Reusable Blocks of Content......................................................................................................................48 Creating a Consistent Look Using Layout Pages ......................................................................................................51 Designing Layout Pages That Have Multiple Content Sections ...............................................................................55 Making Content Sections Optional...
tracking img