ASP.Net Web Developer's Guide by SyngressASP.Net Web Developer's Guide by Syngress

ASP.Net Web Developer's Guide


Other | January 2, 2002

Pricing and Purchase Info

$43.19 online 
$54.00 list price save 20%
Earn 216 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores


All the essential information needed to take full advantage of Microsoft's newest Web development platform

What is ASP .NET
ASP.NET is a revolutionary new programming framework that enables the rapid development of powerful web applications and services. Part of the emerging Microsoft .NET Platform, it provides the easiest and most scalable way to build, deploy and run distributed web applications that can target any browser or device. ASP.NET (formerly referred to as ASP+) is more than the next version of Active Server Pages (ASP); it is a unified Web development platform that provides the services necessary for developers to build enterprise-class Web applications.
ASP .net Web Developer's Guide will teach Web developers to quickly and easily build solutions for the Microsoft .NET platform. Programmers who are expert in asp and other languages will find this book invaluable.

This book will appeal to all web developers - regardless of what language they are using or what platform they will be using
You can take it with you. The book comes packaged with Syngress' revolutionary wallet-sized CD containing a printable HTML version of the book, all of the source code examples and demos of popular ASP .NET programming tools
Comprehensive Coverage of the Entire .net Framework for B2B commerce
Title:ASP.Net Web Developer's GuideFormat:OtherDimensions:608 pages, 1 × 1 × 1 inPublished:January 2, 2002Publisher:Elsevier ScienceLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:0080475949

ISBN - 13:9780080475943


Table of Contents


Chapter 1 Introducing ASP.NET


Learning from the History of ASP

The Origins of ASP

Developing ASP 1.x

Developing ASP 2.x

Developing ASP 3.0

The ASP Timeline

Reviewing the Basics of the ASP.NET Platform

Utilizing the Flexibility of ASP.NET

Comparing Improvements in ASP.NET to Previous ASP Models

How Web Servers Execute ASP Files

Client-Server Interaction

Server-Side Processing

Running ASP.NET Web Pages

Upgrading from Classic ASP

Taking Security Precautions


Solutions Fast Track

Frequently Asked Questions

Chapter 2 ASP.NET Namespaces


Reviewing the Function of Namespaces

Using Namespaces

Using the Microsoft.VisualBasic Namespace

Understanding the Root Namespace: System

Supplied Functionality

Grouping Objects and Data Types with the System.Collections Namespace

Supplied Functionality

Enabling Client/Browser Communication with the System.Web Namespace

Supplied Functionality

Working with Data Sources Using the System.Data Namespace

Supplied Functionality

Processing XML Files Using the System.XML Namespace

Supplied Functionality


Solutions Fast Track

Frequently Asked Questions

Chapter 3 ASP Server Controls


Major Features of ASP.NET Server Controls

Collecting Data Using HTML Forms

Server-Side Processing in ASP.NET

A Simple Application Using Conventional HTML Controls

A Simple Application Using ASP Server Controls

Mapping Server Controls and Preserving Their States

Including Scripts in an .aspx File

Using the IsPostBack Property of a Page

AutoPostBack Attributes of Server Controls

Code-Behind versus In-Page Coding

Using Code-Behind without Compilation

Using Code Behind with Compilation

Using VS.Net for Developing a Web Application

Using HTML Server Controls

Using the HtmlAnchor Control

Using the HtmlTable Control

Using HtmlInputText and HtmlTextArea Controls

Using HtmlButton and HtmlImage Controls

Using the HtmlInputFileControl

Using the HtmlSelect Control with Data Binding to a SortedList Structure

Using HtmlCheckBox and HtmlInputRadioButton Controls

Using ASP.NET Web Controls

Basic Web Controls

Validation Controls

</form>The Databound ListControls Family

Creating Custom ASP Server User Controls

Creating a Simple Web User Control

Exposing Properties of a User Control


Solutions Fast Track

Frequently Asked Questions

Chapter 4 Configuring ASP.NET


Overview of ASP.NET Configuration

Uses for a Configuration File

Application Configuration

System Configuration


Anatomy of a Configuration File

Retrieving Settings


Solutions Fast Track

Frequently Asked Questions

Chapter 5 An ASP.NET Application


Understanding ASP.NET Applications

Managing State

Analyzing Global.asax

Understanding Application State

Using Application State

State Example

Using Application Events

Supported Application Events

More Events

Threading Use

Understanding Session State

Configuring Sessions

Using Session Events

Working with Session Events

Comparing Application and Session States

Static Values


Solutions Fast Track

Frequently Asked Questions

Chapter 6 Optimizing Caching Methods


Caching Overview

Output Caching

Using the @ OutputCache Directive

Using the HttpCachePolicy Class

Advantages of Using Output Caching

Fragment Caching

Advantages of Using Fragment Caching

Data Caching

Using the Cache Method

Using the cache.add and cache.insert Methods

Using the Cache.Remove


Advantages of Using Data Caching

Best Uses for Caching

Output Caching

Fragment Caching

Data Caching


Solutions Fast Track

Frequently Asked Questions

Chapter 7 Introduction to ADO.NET: A Simple Address Book


Understanding the Changes in ADO.NET

Supported Connectivity

The System.Data Namespace

The System.Data.Common Namespace

Creating Connection Strings

Where to Put the Connection String

Creating an Address Book Application

Connecting to a Database: Exercise

Browsing a Database: Exercise

Adding to a Database: Exercise

Updating Data in a Database: Exercise

Deleting from a Database: Exercise


Solutions Fast Track

Frequently Asked Questions

Frequently Asked Questions

Chapter 8 Using XML in the .NET Framework


An Overview of XML

What Does an XML Document Look Like?

Creating an XML Document

Components of an XML Document

Well-Formed XML Documents

Schema and Valid XML Documents

Structure of an XML Document

Processing XML Documents Using .NET

Reading and Writing XML Documents

Storing and Processing XML Documents

Reading and Parsing Using the XmlTextReader Class

Parsing an XML Document:

Navigating through an XML Document to Retrieve Data

Writing an XML Document Using the XmlTextWriter Class

Generating an XML Document Using XmlTextWriter

Exploring the XML Document Object Model

Navigating through an XmlDocument Object

Parsing an XML Document Using the XmlDocumentObject

Using the XmlDataDocument Class

Querying XML Data Using XPathDocument and XPathNavigator

Using XPathDocument and XPathNavigator Objects

Using XPathDocument and XPathNavigator Objects for Document Navigation

Transforming an XML Document Using XSLT

Transforming an XML Document to an HTML Document

Transforming an XML Document into Another XML Document

Working with XML and Databases

Creating an XML Document from a Database Query

Reading an XML Document into a DataSet


Solutions Fast Track

Frequently Asked Questions

Chapter 9 Debugging ASP.NET


Handling Errors

Syntax Errors

Compilation Errors

Runtime Errors

Logic Errors

Page Tracing

Using the TraceClass

Sorting the Trace Information

Writing the Trace Information to the Application Log

Application Tracing

Using Visual Studio .NET Debugging Tools

Setting Breakpoints

Enabling and Disabling Debug Mode

Viewing Definitions Using the Object Browser

Using the Class Viewer


Solutions Fast Track

Frequently Asked Questions

Chapter 10 Web Services


Understanding Web Services

Communication between Servers

Using XML in Web Services

An Overview of the System.Web.Services Namespace

The System.Web.Services.Description Namespace

The System.Web.Services.Discovery Namespace

The System.Web.Services.Protocols Namespace

Type Marshalling

Using DataSets


Solutions Fast Track

Frequently Asked Questions

Chapter 11 Creating an XML.NET Guestbook


Functional Design Requirements of the XML Guestbook

Constructing the XML

Adding Records to the Guestbook

Understanding the pnlAdd Panel

Adding a Thank-You Panel with PnlThank

Exploring the Submit Button Handler Code

Viewing the Guestbook

Displaying Messages

Advanced Options for the Guestbook Interface

Manipulating Colors and Images

Modifying the Page Output


Solutions Fast Track

Frequently Asked Questions

Chapter 12 Creating an ADO.NET Shopping Cart


Setting up the Database

Setting up the Table "Books"

Setting up the Table "Categories"

Setting up the Table "Customer"

Setting up the Table "Orders"

Setting up the Table "BookOrders"

Creating an Access Database

SQL Server Database

Creating the Stored Procedures

Creating the Web Services

Overview of the Book Shop Web Services

Creating the Data Connection

Creating a Web Service

Testing a Web Service

Using WSDL Web References

Building the Site

Site Administration

Creating the Administration Login (adminLogin.aspx)

Creating the Administrator Page (adminPage.aspx)

Creating the addBook Page (addBook.aspx)

Customer Administration

Creating the Customer Admin Section

Creating an ADOCatalog

Creating the BookCatalog Class

Building an XMLCart

Creating the User Interface

Creating the start.aspx Page

Rendering the Catalog

Rendering the Cart

Creating the Code


Solutions Fast Track

Frequently Asked Questions

Chapter 13 Creating a Message Board with ADO and XML


Setting up the Database

MSAccess Database

SQL Server Database

Designing Your Application

Designing Your Objects

Creating Your Data Access Object

Designing the UserClas

Designing the BoardClass

Designing the User Interface

Setting up General FunctionsIndex

Building the Log-In Interface

Designing the Browsing Interface

Board Browsing

Creating the User Functions

Editing the Member ProfileIndex

Creating Threads and Posts

Building the Administrative Interface


Solutions Fast Track

Frequently Asked Questions