Introducing ASP.NET Web Pages 2.pdf

(3132 KB) Pobierz
1146788116.002.png
Introducing ASP.NET Web Pages 2
Mike Pope
Summary : This set of tutorials gives you an overview of ASP.NET Web Pages
(version 2) and Razor syntax, a lightweight framework for creating dynamic
websites. It also introduces WebMatrix, a tool for creating pages and sites. The
tutorials take you from novice programmer through seeing your site live on the
Internet. Topics include how to install Microsoft WebMatrix (a set of tools for
creating sites); how to work with forms; how to display, add, update, and delete
data; how to create a consistent site layout; and how to publish to the Web.
Category: Step-by-Step
Applies to : ASP.NET Web Pages 2 RC, Visual Studio 2012 RC
Source : ASP.NET site ( link to source content )
E-book publication date : June 2012
1146788116.003.png
Copyright © 2012 by Microsoft Corporation
All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any
means without the written permission of the publisher.
Microsoft and the trademarks listed at
Microsoft group of companies. All other marks are property of their respective owners.
The example companies, organizations, products, domain names, email addresses, logos, people, places, and
events depicted herein are fictitious. No association with any real company, organization, product, domain name,
email address, logo, person, place, or event is intended or should be inferred.
This book expresses the author’s views and opinions. The information contained in this book is provided without
any express, statutory, or implied warranties. Neither the authors, Microsoft Corporation, nor its resellers, or
distributors will be held liable for any damages caused or alleged to be caused either directly or indirectly by this
book.
Introducing ASP.NET Web Pages 2
Tutorial 1: Getting Started
2
Contents
This set of tutorials gives you an overview of ASP.NET Web Pages (version 2) and Razor syntax, a
lightweight framework for creating dynamic websites. It also introduces WebMatrix, a tool for
creating pages and sites.
Level : New to ASP.NET Web Pages.
Skills assumed : HTML, basic cascading style sheets (CSS).
Prerequisites : Windows XP SP3 or later. (See What Do You Need? l ater for more details.)
Note This tutorial is based on the ASP.NET Web Pages version 2 RC and Microsoft
WebMatrix 2 RC.
Introducing ASP.NET Web Pages 2
Tutorial 1: Getting Started
3
1146788116.004.png 1146788116.005.png 1146788116.001.png
 
What you'll learn in the first tutorial of the set:
What ASP.NET Web Pages technology is and what it's for.
What WebMatrix is.
How to install everything.
How to create a website by using WebMatrix.
Features/technologies discussed:
Microsoft Web Platform Installer.
WebMatrix.
.cshtml pages
What Should You Know?
We're assuming that you're familiar with:
HTML . No in-depth expertise is required. We won't explain HTML, but we also don't use
anything complex. We'll provide links to HTML tutorials where we think they're useful.
Cascading style sheets (CSS) . Same as with HTML.
Basic database ideas . If you've used a spreadsheet for data and sorted and filtered the
data, that's the level of expertise we're generally assuming for this tutorial set.
We're also assuming that you're interested in learning basic programming. ASP.NET Web Pages
use a programming language called C#. You don't have to have any background in programming,
just an interest in it. If you've ever written any JavaScript in a web page before, you've got plenty
of background.
Note that if you are familiar with programming, you might find that this tutorial set initially moves
slowly while we bring new programmers up to speed. As we get past the first few tutorials,
though, there will be less basic programming to explain and things will move along at a faster clip.
Introducing ASP.NET Web Pages 2
Tutorial 1: Getting Started
4
Zgłoś jeśli naruszono regulamin