ASP.NET Developer's Guide

ASP.NET Developer's Guide

ASP.NET Developer's Guide

ASP.NET Developer's Guide

Paperback

$61.00 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

A comprehensive and authoritative guide to development with ASP.NET, Microsoft's ActiveServer Pages. It covers all the features and syntax of ASP.NET, and a special ASP.NET in Action part features the development of three full-fledged applications, including a product catalogue, shopping cart, and customer customization. This guide also addresses the critical issues of debugging and security. The CD contains all the code from the book, ready to run, plus additional application solutions not provided in the book.

Product Details

ISBN-13: 9780072192889
Publisher: McGraw-Hill Companies, The
Publication date: 01/01/2002
Series: Application Development Ser.
Pages: 752
Product dimensions: 7.68(w) x 9.12(h) x 1.59(d)

Table of Contents

Acknowledgmentsxv
Introductionxvii
Part IASP.NET Basics
Chapter 1ASP.NET Language Structure3
Page Structure4
Defining Your Own Procedures12
Page17
Page_Load Event17
Page_UnLoad Event18
IsPostBack Property18
IsValid Property18
Compiler Directives19
@Page Directive19
@Import Directive20
@OutputCache Directive20
Quiz Sample Page21
Chapter 2HTML Server Controls29
HTMLAnchor Control30
HTMLTable, HTMLTableRow, and HTMLTableCell Controls36
HTMLForm and Form Input Controls49
HTMLForm Control49
Input Controls50
Submitting the Form57
Form Sample Page58
HTMLInputFile Control67
Chapter 3Basic Web Server Controls71
Label Control72
TextBox Control80
Button Control85
LinkButton Control90
ImageButton Control92
CheckBox Control96
RadioButton Control100
HyperLink Control103
Image Control105
Chapter 4Data List Web Server Controls107
CheckBoxList Control108
RadioButtonList Control124
DropDownList Control126
ListBox Control130
DataGrid Control134
Repeater Control151
Chapter 5Other Web Server Controls159
Calendar Control160
AdRotator Control173
Validation Controls181
RequiredFieldValidator Control181
CompareValidator Control186
RangeValidator Control191
CustomValidator Control194
ValidationSummary Control197
Part IIExtra Controls and Classes
Chapter 6IE Web Controls203
TreeView Control204
ToolBar Control220
TabStrip and MultiPage Controls240
Chapter 7User Controls249
ZipCodeLookUp Control251
LogIn Control259
BulletList Control265
FixedPageText Control270
Chapter 8Request and Response Objects277
Request Object278
QueryString Collection278
Form Collection280
Browser Object283
ServerVariables Collection286
AcceptTypes Collection289
Headers Object291
Visitor and Referrer Information293
SaveAs Method295
Response Object296
Cookies297
Chapter 9Additional Classes301
Encoding and Decoding302
Page Caching305
Random Numbers307
Part IIIWorking with Data
Chapter 10System.Data and System.Data.OLEDB Namespaces313
OLEDBConnection Class314
OLEDBCommand Class316
OLEDBTransaction Class318
OLEDBDataAdapter Class320
DataSet Class321
Simple Sample Application324
Browse ASP.NET Page331
View ASP.NET Page342
Add ASP.NET Page345
Edit ASP.NET Page349
Chapter 11System.Data.SQLClient Namespace357
Connecting to a SQL Server Database358
Manipulating Data in a SQL Server Database359
Retrieving Data from a SQL Server Database360
Chat Sample Site360
Chat Page364
Add To Thread Page372
Add Page375
Part IVAdvanced Issues
Chapter 12E-Mail379
Sending a Simple E-Mail Message380
SmtpMail and MailMessage Classes381
Attaching a File382
Sending an HTML E-Mail Message383
File Request Sample Site Page383
Product Info Sample Site Page388
Chapter 13Application Issues393
Creating an ASP.NET Application394
Maintaining Session State395
Maintaining Application State397
Application and Session Objects Sample Application398
Global.asax File405
Global.asax Sample Page407
Web.Config File410
Chapter 14Working with IIS and Page Directives413
WWW Service Properties414
Web Site Properties414
Performance Properties418
ISAPI Filters Property419
Home Directory Properties420
Documents421
Custom Errors422
Web Sites Within IIS423
Adding a Web Site424
Web Site Properties428
Multiple Sites on the same IP Address428
Web Site Properties Sheet428
Home Directory Properties430
Virtual Directories431
Folder and File Properties434
ASP.NET Applications435
Configuring an ASP.NET Application435
Chapter 15Error Handling439
No Error Handling440
Resume Next443
On Error Goto Handler445
Resume from Handler447
Try/Catch Code Block448
Err Object450
Using the CustomErrors Section of Web.Config451
Chapter 16Code Behind and Code Libraries455
Code Behind Files456
More Info Request Sample Page460
Support Sample Tool468
Include Files477
Chapter 17Creating Web Services481
Simple Web Service482
Web Service Code483
Testing Your Web Service488
Referencing a Web Service491
Client Test Page493
Zip Code Web Service495
Zip Code Web Service496
Consuming ASP.NET Application501
Chapter 18Security505
Authentication Control506
IP Address Restrictions512
Secure Communications Through SSL514
Client Certificates516
Chapter 19Developing with Visual Studio.NET523
Creating an ASP.NET Application in Visual Studio.NET524
Development Windows527
Working with ASP.NET Pages in Visual Studio.NET536
Debugging in Visual Studio.NET540
Chapter 20ASP.NET Mobile Web SDK545
Developing Mobile ASP.NET546
Getting the ASP.NET Mobile Web SDK547
Mobile ASP.NET Page Structure549
Mobile Web Controls551
Label and TextView Controls551
Link Control554
Call Control557
Image Control558
TextBox Control562
Command Control564
SelectionList Control566
Messenger Application568
Application Walk-Through569
Mobile ASP.NET Code574
Part VASP.NET in Action
Chapter 21Sample Application: Product Catalog593
Walk-Through594
Access Back-End Database602
ASP.NET Code603
Home Page603
Products Page609
Product Page616
Employee Directory Page627
Chapter 22Sample Application: Shopping Cart631
Walk-Through632
Access Back-End Database640
ASP.NET Code640
Home Page640
Product Page642
Shopping Cart Page647
Check Out Page656
Order Status Page666
Chapter 23Sample Application: Working with Customers671
Walk-Through672
Access Back-End Database676
ASP.NET Code677
FAQ Page678
Product Page683
New Product Notification Page685
Utility Page687
Customer Feedback Page696
Appendix AASP.NET VB Language Quick Reference699
Abs700
Asc700
Conversion Methods (CBool, CByte, CCur, CDate, CDbl, CInt, CLng, CSng, CStr)701
Chr701
DateAdd702
DateDiff703
DatePart703
DateSerial704
Day705
Do...Loop705
Fix706
For...Each706
For...Next707
FormatCurrency707
FormatDateTime708
FormatNumber708
FormatPercent709
Hex710
Hour710
If711
InStr712
InStrRev712
Int713
IsDate713
IsNumeric714
LCase714
Left715
Len715
LTrim716
Mid716
Minute717
Month717
MonthName718
Now718
Oct719
Replace719
Right720
RTrim720
Second721
Select...Case721
Space722
Sqrt722
StrComp723
TimeOfDay724
TimeSerial724
Today724
Trim725
Ucase725
Weekday726
WeekdayName726
Year727
Index729
From the B&N Reads Blog

Customer Reviews