Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

ASP.NET Developer's JumpStart

ASP.NET Developer's JumpStart

by Paul Sheriff, Ken Getz

ISBN-10: 0672323575

ISBN-13: 9780672323577

Pub. Date: 04/28/2002

Publisher: Addison-Wesley

The purpose of ASP.NET JumpStart is to show readers the practical applications of .NET and ASP.NET by illustrating how to build Web-based applications using Web Forms and Web Services. Emphasis will be on good programming standards and practices. The reader will be taken from an introduction of the VB .NET language to intermediate topics through a


The purpose of ASP.NET JumpStart is to show readers the practical applications of .NET and ASP.NET by illustrating how to build Web-based applications using Web Forms and Web Services. Emphasis will be on good programming standards and practices. The reader will be taken from an introduction of the VB .NET language to intermediate topics through a step-by-step approach, which gives the reader the opportunity to try out the practices presented in each chapter.

Product Details

Publication date:
Product dimensions:
7.30(w) x 9.00(h) x 1.50(d)

Related Subjects

Table of Contents

(NOTE: Each chapter concludes with a Summary.)



1. Getting Started with the Sample Application.

Preparing for the Sample Application.

Installing the Examples.

Before You Get Started.

Introducing the Sample Application.

The Main Page.

The Login Page.

The Products Page.

The Employees and Orders Page.

The Employees (Stored Procedures) Page.

The Sales by Category Page.

The Edit Products Page.

The Product Details Page.

The Categories Page.

The Category Detail Page.

The Employee Information Page.

The Employee Maintenance Page.

The Change Password Page.

Using the Debugger.

Handling Errors.

Using the Framework Classes.

Using Other ASP.NET Controls.

Using the Mobile Internet Toolkit.

Using State Management.

Introducing Visual Basic .NET Language Basics.

2. Introduction to Microsoft .NET.

.NET and XML.

Overview of the .NET Framework.

The Common Language Runtime.

The .NET Classes.

Common Language Specification.

Intermediate Language.

Services in .NET.

Common Type System and Standard Data Types.

Types of Applications You Can Build.

Windows Applications.

Web Applications.

XML Web Services.

Class Libraries.

Types of Applications You Can Build.

Windows Applications.

Web Applications.

XML Web Services.

Class Libraries.

Migrating to .NET.

Migration Tools.

Reasons to Migrate.

Benefits of Using the .NET Framework.

What's in It for Users.

What's in It for Developers.

What's in It for Managers.

3. Introduction to Visual Studio .NET.

Configuring Visual Studio .NET.

The My Profile Page.

Visual Studio Start Page.

Creating a New Project.

Project Templates.

Visual Studio Integrated Development Environment (IDE).

Toolbox Window.

Solution Explorer Window.

Class View Window.

Server Explorer Window.

Properties Window.

Object Browser Window.

Task List Window.

Using Help.

Dynamic Help Window.

Contents Window.

Index Window.

Search Window.

Types of Windows.

Tool Windows.

Document Windows.

Using the Editor.

Using IntelliSense to Enter Code.

Splitting the Editing Window.

Finding Text.

Replacing Text.

Finding Text in All Project Files.

Replacing Text in All Project Files.

Searching for Symbols.

Incremental Searching.

Using Bookmarks to Locate Code.

Commenting/Uncommenting Blocks of Code.

Dragging and Dropping Text.

Word Wrapping.

Toggling Full Screen Mode.

Tabbing Between Windows.

Managing the Clipboard Using the Clipboard Ring.

Going Back.

Creating Macros.

4. Overview of .NET Framework Classes.

.NET Framework Namespaces.

The System Namespace.

A System.GC (Garbage Collection) Example

The System.Data Namespace.

The SqlClient and OleDb Namespaces.

The System.Data Classes.

A Data-Handling Example.

The System.IO Namespace.

A System.IO Example.

The System.Text Namespace.

A System.Text Example.

The System.Collections Namespace.

A System.Collections Example

The System.Web.Services Namespace.

A System.Web.Services Example.

The System.Xml Namespace.

A System.Xml Example.

5. Introduction to Internet Programming.

Internet Basics.

HTML Basics.

HTML Elements.

Creating Web Sites Before ASP.NET.

Using HTML to Create Sites.

Using ASP.

Web Sites Created Using ASP.NET.

Creating a New ASP.NET Application.

6. Introduction to ASP.NET.

Overview of ASP.NET.

Web Forms.

XML Web Services.

Introducing Web Form Controls.

HTML Controls.

Web Form Server Controls.

Field Validator Controls.

How Web Forms Work.

Internet Information Server (IIS) Objects.

The Response Object.

The Request Object.

The Session Object.

The Application Object.

The Server Object.

The global.asax File.

Creating User Controls.

Creating the Northwind Solution.

7. Working with ASP.NET and VB .NET.

Event-Handling Basics.

Interacting with the Server.

How Event Handling Works.

Data Types.

Option Strict.

Conversion Functions.

Constructing Text Using the String.Format Method.

Creating Your Own Procedures.

Creating Classes.

Applying What You Learned.

8. Validation Controls.

Requiring Data Entry.

Checking a Range.

Validating Expressions.

Creating Your Own Validation.

Summarizing Validation Messages.

Comparing Values.

9. Debugging in Visual Studio .NET.

Using the Debugger.

Three Modes of Existence.

Finding the Debug Toolbar.

Invoking the Debugger.

Stepping over Code.

Entering Break Mode.

The Stop Statement.

Introducing the Debugging Tools.

Using Breakpoints.

Breakpoints Toolbar.

Setting the Next Statement to Execute.

Useful Versus .NET Debugging Tools.

Watching Variables Using Your Mouse.

Watch Window.

Adding Watch Values Using QuickWatch.

Call Stack Window.

Using the Command Window.

Other Useful Debugging Windows.

Using the Debug Class.

The Assert Method.

The WriteLineIf Method.

Conditional Compilation.

Declaring a File-Level Compiler Constant.

Using Conditional Compilation Constants.

Declaring a Global Compiler Constant.


10. Introduction to ADO.NET.

Using ADO.NET Classes.

ADO.NET Namespaces.

Getting Started with ADO.NET.

Using a DataAdapter to Fill a DataSet.

Using a DataReader Object.

Benefits of ADO.NET.

11. Data Binding on Web Forms.

Creating a Sample Page.

Creating and Configuring a DataSet.

Displaying Your Data.

Adding the Grid.

Populating the DataGrid with Data.

Filling a DropDownList Control with Data.

Using the DropDownList Control to Filter by Categories.

12. Error Handling.

The Promise of Structured Exception Handling.

Using Exception Handling.

The Base Case: No Error Handling at All.

Adding a Simple Try/Catch Block.

Determining What Happened.

Working with Specific Exceptions.

The Exception Hierarchy.

Throwing Exceptions.

Error-Handling Options.

Using the Throw Keyword.

Searching for Handlers.

Passing Error Information.

Running Code Unconditionally.

Creating an Error Page.

13. ADO.NET Connection and Command Objects.

Providing ADO.NET Connection Information.

Using ADO.NET Connection Objects.

Adding Code to Retrieve and Display Data.

Investigating the CategoryAvgPrice Procedure's Code.

Updating Data Using a Command Object.

To Close or Not to Close?

14. Working with Data.

Using the DataReader Object.

Using a DataReader to Fill a DropDownList Control.

Filtering the Grid Based on Supplier ID

Retrieving Datasets Generically.

Using the GetDataSet Procedure.

Working with Relations in a Dataset.

Investigating the Relation-Handling Code.

Building the Relational DataSet.

Filtering the Grid Based on the Relation.

15. Using Stored Procedures with ADO.NET.

Setting Up the Sample Stored Procedures.

Adding Stored Procedures to the Database.

Loading the DataHandlerSqlClient Class.

Modifying Global.asax.

The OleDb Namespace and Stored Procedures.

Retrieving a List of All Employees.

Adding an Employee.

Deleting an Employee.

The SqlClient Namespace and Stored Procedures.

16. Using the DataGrid Control.

Adding Features to the DataGrid Control.

Loading the DataGrid Control with Data.

Formatting the DataGrid Control.

Creating the Columns.

Hooking Up the Data.

Loading the DataGrid Control.

Formatting Numeric Columns.

Enabling Paging.

Customizing the Pager.

Selecting a Row.

Sorting Columns.

17. Editing Data Using the DataGrid Control.

Project Setup.

Investigating the ProductsEdit Page.

Editing Data Using Links.

Adding a Hyperlink Column.

Editing Data on the Detail Page.

Editing Data on the Grid.

Beginning the Editing.

Saving the Data.

Cancelling the Edit.

Adding a Template Column.

Adding and Deleting Rows.

Adding a New Row.

Deleting a Row.

18. Using the Repeater Control.

How Does the Repeater Control Work?

Displaying Data.

Binding Data in Templates.

Hooking Up the Data.

Creating a Repeater.

Adding the Header and Footer Templates.

Adding the Data-Retrieval Code.

Adding the ItemTemplate Element.

Adding a Hyperlink.

More Advanced Repeater Features.

Creating the Detail Page.

Creating the ItemTemplate Element.

The AlternatingItem Template.

Adding the ItemCommand Event Procedure.

19. Using the DataList Control.

Project Setup.

Adding the Control's Data Source.

Adding the Full ItemTemplate.

Using the DataList Control's Properties.

Adding the EditItemTemplate Section.

Using the LinkButton Control Properties

Adding Event-Handling Code.


20. Using Crystal Reports.

Creating a Report.

Viewing the Report.

Creating a Report Viewer Page.

Displaying the Report.

Selecting Specific Rows.

21. Creating User Controls.

Creating a Header Control.

Creating a Navigation Control.

Creating More Complex User Controls.

Creating Properties.

Overriding the DataBind Method.

Using the Control.

Under the Hood.

Defining and Raising Events.

Allowing for Automatic Postback.

Retrieving the Selected Item.

Reacting to the Event.

22. Rich ASP.NET Controls.

The CheckBoxList and RadioButtonList Controls.

The Calendar Control.

Initializing the Calendar.

The AdRotator Control.

Filtering the AdRotator Control.

The Literal Control.

The PlaceHolder Control.

23. State Management in ASP.NET.

State Management Techniques in Brief.

The Session and Application Objects.


Hidden Input Fields.

Embedded URL Parameters.

The StateBag Class.

SQL Server.

Using the Session Object.

The Session and Application Objects.


Hidden Input Fields.

Embedded URL Parameters.

The StateBag Class.

SQL Server.

Using Cookies.

Permanent Cookies.

Issues with Cookies.

Using the ViewState Property.

Using the StateBag Object.

State Bag Issues.

Cookieless Sessions.

ASP.NET State Service.

Using a Separate State Server Machine.

Issues with the ASP.NET State Service.

Automatic SQL Server State Management.

Issues with Automatic SQL Server State Management

24. Introduction to Web Security.

Forms-Based Authentication.

Denying Anonymous Users.

Authenticating Employees.

Logging Out.

Supporting Authorization.

Using Web.Config.

Managing Authorization Dynamically.

Role-Based Authorization.

Using Identities and Principals.

Adding Support for Role-Based Authorization.

25. Creating Mobile Web Applications.

Introducing the Microsoft Mobile Internet Toolkit.

Testing Mobile Pages.

Handling Mobile Requests.

Controls Supplied by MMIT.

Creating a Page for Mobile Devices.

Creating the Page and First Two Forms.

Displaying Cities.

Navigating to the City Form.

Different Views.

Working with the ObjectList Control.

Setting Up Fields in the ObjectList Control.

Filling the ObjectList Control with Data.

Adding a Custom Command.

Adding Validation Controls

26. Development and Deployment Techniques.

Development Techniques.

Creating a Class Library.

Adding a Reference.

Accounting for Namespaces.

More on Namespaces.

Managing Assembly Information.

Deploying ASP.NET Applications.

XCOPY Deployment.

Windows Installer Deployment


27. Introduction to XML.

The Power of XML.

What About HTML?

XML's Helpers

Getting Started with XML.

XML Element Rules.

XML Document Structure.

XML Schema.

28. Introduction to XML Web Services.

Web Service Requirements.

XML Web Services Then and Now.

Doing XML Web Services the Hard Way.

Doing XML Web Services the Easy Way.

Web Services in Action.

29. Creating and Consuming XML Web Services.

Creating a Simple XML Web Service.

Testing the Web Service.

Consuming a Web Service.

Creating a Client Application.

Creating a Useful Web Service.

Returning a DataSet from a Web Service.

30. Investigating Web Service Consumers.

Consuming a Web Service Synchronously.

The Sample Web Service.

Calling the Web Service.

What's Going On?

Consuming a Web Service Asynchronously.

Adding the Method Call.

What's Going On?

31. Securing Web Services.

Security Mechanisms.

Using Secure Sockets Layer (SSL).

Using IIS.

Using ASP.NET.

Windows Integrated Authentication.

Authentication Modes.

Authorization of Users.

Custom SOAP Authentication.

Creating a SOAP Header Class.

Calling the SOAP Method.

Client Certificates.

IP Address Restriction.


Appendix A. Programming Standards.

Setting Up Your Environment.

Computer Setup.

Visual Studio .NET Options.

Option Strict.

Naming Conventions.

Naming Variables.

Naming Controls and Menus.

Naming ADO.NET Objects.

Coding Conventions.

Naming Data Structures.

Naming Procedures.

Commenting Your Code.



Customer Reviews

Average Review:

Post to your social network


Most Helpful Customer Reviews

See all customer reviews