Microsoft ASP.NET 2.0 Step by Step


cover



PUBLISHED BY
Microsoft Press
A Division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399

Copyright © 2005 by George Shepherd

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.

Library of Congress Control Number: 2005933911

Printed and bound in the United States of America.

1  2  3  4  5  6  7  8  9     QWT    8  7  6  5  4  3

Distributed in Canada by H.B. Fenn and Company Ltd. A CIP catalogue record for this book is available from the British Library.

Microsoft Press books are available through booksellers and distributors worldwide. For further information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/learning/. Send comments to [For Resource Kits: rkinput@microsoft.com.; For Training Kits: tkinput@microsoft.com.; For all other titles: mspinput@microsoft.com.]

Microsoft, ActiveX, BizTalk, FrontPage, Hotmail, Microsoft Press, MSN, SharePoint, Verdana, Visual Basic, Visual Studio, Windows, Windows NT, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.

The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.

This book expresses the author's views and opinions out 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.

Acquisitions Editor: Ben Ryan
Project Editor: Kathleen Atkins
Editorial and Production: Custom Editorial Productions, Inc.

Body Part No. X11-50498



Companion Content

This title includes references to electronic content, such as sample files, sample code, beta software, tools, and other content. This content is provided as an additional learning tool to accompany the text. Although the references to this content might mention a CD or CD-ROM where these files are available, you can access selected portions of this content online by going to http://www.microsoft.com/mspress/products/mell.

To view the companion content for a title at this Web site, type in the product ISBN (International Standard Book Number) of the title in the text box and click Go.

The ISBN for this title is listed below and can also be found on the LOC (Library of Congress) page listed in the Table of Contents.

ISBN: 0-7356-2201-9



Introduction

This book will help you figure out how to write Web applications using Microsoft's most current version of its HTTP request processing framework—ASP.NET 2.0. Web development has come a long way since the earliest sites began popping up in the early 1990s. The world of Web development offers several different choices as far as development tools go. Over the past few years, ASP.NET has evolved to become one of the most consistent, stable, and feature-rich frameworks available for managing HTTP requests.

ASP.NET together with Visual Studio include a number of features to make your life as a Web developer easier. For example, Visual Studio starts you off with several very useful project templates from which to develop your site. Visual Studio also supports a number of development modes, including using Internet Information Services directly to test your site during development, using a built-in Web server, or developing your site over an FTP connection. The debugger in Visual Studio lets you run the site and step through the critical areas of your code to find problems. The Visual Studio designer enables effective user interface development, allowing you to drop control elements onto a canvas to see how they appear visually. These are but a few of the features built into the ASP.NET framework when paired with Visual Studio.

While ASP.NET and Visual Studio offer excellent tools for writing Web applications, Web development on the Microsoft platform hasn't always been this way. The road to ASP.NET 2.0 has been nearly a decade in the making.