did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781861007346

Beginning Asp.Net 1.0 With C#.Net

by
  • ISBN13:

    9781861007346

  • ISBN10:

    1861007345

  • Format: Trade Paper
  • Copyright: 2002-06-27
  • Publisher: WROX

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $10.00
  • Buy Used
    $29.99

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

Updated and expanded version, also updated to the final version release of ASP.NET. Provides new security issue coverage. Softcover.

Table of Contents

Introduction 1(1)
What does this Book Cover?
1(2)
Who is this Book For?
3(1)
What do you Need to use This Book?
4(1)
Conventions
4(1)
Customer Support
5(4)
How to Download the Sample Code for the Book
5(1)
Errata
6(1)
E-mail Support
6(1)
p2p.wrox.com
7(1)
Why this System Offers the Best Support
7(2)
Getting Started with ASP.NET
9(54)
What is a Static Web Page?
10(1)
How are Static Web Pages Served?
11(2)
The Limitation of Static Web Pages
12(1)
What is a Web Server?
13(1)
How are Dynamic Web Pages Served?
13(9)
Two Ways of Providing Dynamic Web Page Content
14(1)
Client-Side Dynamic Web Pages
14(1)
Server-Side Dynamic Web Pages
15(2)
An Overview of the Technologies
17(1)
Client-Side Technologies for Providing Dynamic Content
17(2)
Server-Side Technologies for Providing Dynamic Content
19(3)
What is ASP.NET?
22(1)
How does ASP.NET Differ from ASP?
22(1)
I'm Still Confused about ASP, ASP.NET, and C#
23(1)
The Installation Process
23(19)
Installing the IIS 5.x Web Server
24(3)
Working with IIS
27(1)
Testing your Installation
28(1)
Identifying your Web Server's Name
29(1)
Browsing to a Page on your Web Server
30(3)
Managing Directories on your Web Server
33(1)
Virtual Directories
34(5)
Permissions
39(3)
Configuring Directory Security
42(8)
Prerequisites for Installing ASP.NET
45(1)
Installing ASP.NET and the .NET Framework SDK
46(4)
Troubleshooting Hints and Tips
50(1)
ASP.NET Test Example
50(3)
ASP.NET Troubleshooting
53(7)
Program Not Found, the Result of the ASP.NET Isn't Being Displayed, or The Browser Tries to Download the File
53(2)
Page Cannot Be Displayed: HTTP Error 403
55(1)
Page Cannot Be Found: HTTP Error 404
56(2)
Web Page Unavailable while Offine
58(1)
I Just Get a Blank page
58(1)
The Page Displays the Message but not the Time
58(1)
I Get an Error Statement Citing a Server Error
59(1)
I Have a Different Problem
59(1)
Summary
60(3)
Anatomy of an ASP.NET Page
63(24)
What is .NET?
63(6)
From Your Code to Machine Code
65(1)
Introducing a Common Intermediate Language
66(1)
Objects, Objects Everywhere
66(1)
The .NET Base Classes
67(1)
The Class Browser
68(1)
How ASP.NET Works
69(10)
Saving your ASP.NET Files with an ASPX Suffix
69(1)
Inserting ASP.NET Code into our Web Pages
70(1)
The <script> Tags
70(6)
Inline Code Blocks (the <% %> Delimiters)
76(1)
Server Controls
77(2)
ASP.NET in Action
79(6)
Binding to a Database
79(4)
Binding to a Simple XML File
83(2)
Summary
85(2)
Forms and HTML Server Controls
87(40)
Forms in the Real World
88(1)
Web Pages, HTML Forms, and Web Forms
88(2)
Simple Web Theory
90(3)
The HTTP Protocol
91(1)
Where ASP.NET Fits in with the .NET Framework
92(1)
HTML Forms
93(4)
The <form> Tag
93(1)
The action Attribute
94(1)
The method Attribute
94(2)
HTML Form Controls
96(1)
How the <form> Tag Works in ASP.NET
97(28)
ASP.NET Server Controls
98(1)
The <asp:label> Control
98(4)
Control Attributes
102(1)
The <asp:dropdownlist> Control
103(7)
The <asp:listbox> Control
110(3)
The <asp:textbox> Control
113(4)
The <asp:radiobutton> and <asp:radiobuttonlist> Controls
117(4)
The <asp:checkbox> and <asp:checkboxlist> Controls
121(4)
Summary
125(1)
Exercises
125(2)
Storing Information in C#
127(50)
What is a Variable?
128(4)
Declaration
128(4)
Data Types
132(11)
Numeric Types
133(2)
Suffixes
135(1)
Character Data Types
135(1)
The string Type
135(2)
The char Type
137(1)
Escape Sequences
137(2)
Boolean Type
139(1)
The Object Type
139(1)
Handling Dates
139(1)
Naming Variables
140(2)
Case Issues
142(1)
Hungarian Notation
142(1)
Operators
143(6)
Assignment Operator
144(1)
Arthimetic Operations
145(1)
Operator Precedence
146(2)
Concatenating Strings
148(1)
Converting Between Data Types
149(11)
Implicit Conversion
149(2)
Explicit Conversion
151(1)
Invalid Casts
152(1)
Data Conversion
153(1)
String Output
154(1)
Data Input
155(1)
What if Conversions Fail?
156(4)
Constants
160(1)
Structured Data Types
161(12)
Arrays
161(5)
Multi-Dimensional Arrays
166(1)
Jagged Arrays
167(1)
Structs
168(3)
Enumerations
171(2)
Summary
173(1)
Exercises
173(4)
Introducing XML
177(32)
The Format of XML
177(3)
Tags and Elements
178(1)
Attributes
179(1)
Examples of Markup Languages
180(2)
SGML
180(1)
HTML
181(1)
Drawbacks of HTML
182(1)
How XML Came About
182(1)
Creating an XML Document
183(5)
Beyond Data Display
188(9)
Well-Formed vs. Valid Documents
189(1)
Well-Formed Documents
189(7)
Valid Documents
196(1)
Styling XML
197(7)
Why Use Style Sheets?
198(1)
Cascading Style Sheets
199(5)
Using XML with ASP.NET
204(1)
Summary
204(1)
Exercises
205(4)
Control Structures and Procedural Programming
209(52)
A Quick Look at Control Structures
210(2)
Overview of Branching Structures
210(1)
Overview of Looping Structures
210(1)
Overview of Functions
211(1)
When to Use a Particular Control Structure
211(1)
Branching Structures in Detail
212(21)
Comparison Operators
213(1)
Logical Comparisons Using if
213(1)
Logical Operators
214(2)
Extending if Statements Using else if and else
216(3)
The Conditional or Ternary Operator
219(1)
Comparing Strings
220(1)
A Word about Nested ifs and Indenting
220(7)
Conditional Statements Using Switch...case
227(3)
Another Note on Nesting and Indenting
230(3)
Looping Structures in Detail
233(11)
The for Loop
234(5)
The while Loop
239(3)
The do...while Loop
242(1)
The foreach Loop
243(1)
Break and Continue
243(1)
Functions in Detail
244(13)
Defining Functions
244(1)
Return Types and Parameters
245(1)
Calling Functions
246(5)
Variable Scope
251(1)
Local Variables
252(3)
Global Variables
255(2)
Summary
257(1)
Exercises
258(3)
Event-driven Programming and Postback
261(28)
What is an Event?
262(1)
What is Event-driven Programming?
263(1)
ASP.NET Events
263(4)
Events in HTML
267(2)
Server Control Events in ASP.NET
269(6)
The ASP.NET button Server Control
272(3)
Event-Driven Programming and Postback
275(5)
The IsPostBack Test
280(1)
Changing the Way we Program on the Web
280(6)
Summary
286(1)
Exercises
286(3)
Introduction to Objects
289(44)
Organizing Your Code
290(1)
So, What's an Object?
291(5)
Abstraction -- Modeling the Real World
293(1)
Encapsulation -- The Black Box
294(1)
Object Properties
295(1)
Object Methods
295(1)
Using Objects
296(33)
Where do Objects Come From?
296(1)
Defining a class
297(3)
Creating Objects
300(1)
Setting Objects to null
301(1)
Using Methods and Properties
302(9)
Initializing Objects with Constructors
311(5)
Overloaded Methods
316(8)
Operator Overloading
324(3)
An Example of Operator Overloading
327(1)
More on Operator Overloading
328(1)
Summary
329(1)
Exercises
330(3)
Shared Members and Class Relationships
333(48)
Shared Members
334(8)
Shared Properties
334(3)
Shared Methods
337(5)
Class Relationships
342(21)
Association -- `Uses A'
342(7)
Containment -- A `Has a' Relationship
349(3)
Containment in .NET
352(2)
Inheritance -- `Is A'
354(3)
Terminology for Inheritance
357(1)
The Pros and Cons of Inheritance
358(1)
System.Object -- The Ultimate Base Class
358(5)
The Limitations of Inheritance
363(1)
Advanced Inheritance Concepts
363(14)
Virtual Functions
365(2)
Referring to the Current Object -- The this Reference
367(1)
Abstract Classes and Interfaces
367(2)
Converting between Object Types
369(1)
Implicit Conversions
370(1)
Explicit Conversions
371(1)
Boxing and Unboxing
372(2)
User-Defined Conversions
374(3)
Summary
377(1)
Exercises
378(3)
Objects in ASP.NET
381(50)
Namespaces
382(2)
Namespaces for ASP.NET
384(1)
The Page Class
384(7)
Redirecting the User to Another Page
387(4)
ASP.NET Core Objects
391(18)
Request Object
392(5)
Response Object
397(5)
Server Object
402(7)
State Handling
409(19)
Application State
410(5)
Session State
415(6)
Cookies
421(1)
How Do Cookies Work?
421(6)
Shelf Life -- How Long Do Cookies Last?
427(1)
Sessions and Cookies
427(1)
Summary
428(1)
Exercises
428(3)
Objects and Structured Data
431(30)
What is a Collection?
431(13)
Different Types of Collection
432(1)
Arrays as Collections
433(3)
Searching an Array
436(3)
Working on Multiple Elements in an Array
439(3)
Data Binding
442(1)
Pros and Cons of Working with Arrays
443(1)
Getting More from Collections
444(14)
ArrayList
444(4)
Some More ArrayList Techniques
448(2)
Hashtable
450(2)
Using a Hashtable
452(3)
SortedList
455(3)
Summary
458(1)
Exercises
459(2)
Reading from Data Sources
461(38)
Understanding Modern Databases
461(4)
Data Models
462(1)
Normalization and Relational Databases
463(2)
ADO.NET
465(27)
NET Data Providers
467(1)
ADO.NET Objects
468(1)
The Connection Object
469(1)
Connecting to Northwind
470(6)
The Command Object and DataReader
476(6)
Simple Data Binding
482(3)
The DataSet and DataTable Objects
485(4)
Microsoft SQL Server and ADO.NET
489(3)
Catching Errors
492(4)
Summary
496(1)
Exercises
497(2)
Manipulating Data Sources
499(42)
Disconnected Data
500(1)
Methods of Updating Data
500(1)
DataSets and DataTables
501(2)
The DataRow Object
503(8)
Updating the Original Data Source
511(1)
The Command Object
511(1)
The DataAdapter Object
512(2)
The CommandBuilder Object
514(4)
The DataAdapter.Update Method
518(5)
Referential Integrity
523(1)
Updating Data -- Summary
523(1)
Using SQL
524(5)
Adapting the DataAdapter Commands
524(1)
Using Stored Procedures
525(2)
Direct SQL Commands
527(2)
Using SQL -- Summary
529(1)
XML
529(7)
XML into Strings
533(1)
XML in a DataSet
533(3)
What to Study Next
536(1)
Summary
537(1)
Exercises
537(4)
ASP.NET Server Controls
541(62)
Other Types of Controls
543(3)
HTML Server Controls
543(1)
HTML Server Controls vs. ASP.NET Server Controls
544(1)
User Controls
545(1)
ASP.NET Server Controls
546(5)
Rich Object Model
546(1)
Automatic Browser Detection
546(1)
Properties
547(1)
Events
548(3)
Page Lifecycle
551(49)
Page_Load
551(1)
Event Handling
552(1)
Page_Unload
552(9)
Control Families
561(1)
Intrinsic Controls
561(1)
Validation Controls
562(1)
Rich Controls
563(3)
Data Rendering Controls
566(4)
The XML Source -- MyCalendar.xml
570(1)
The Web Form -- MyCalendar.aspx
571(14)
Editing the Data Using Templates
585(15)
Summary
600(1)
Exercises
601(2)
Reusable Code for ASP.NET
603(30)
Encapsulation
603(1)
Components
604(3)
Why use Components?
605(1)
Applying Component Theory to our Applications
606(1)
User Controls
607(14)
When Should we use User Controls?
608(13)
Code Behind
621(7)
Using Code Behind
625(3)
Inheritance
628(2)
Summary
630(1)
Exercises
631(2)
NET Assemblies and Custom Controls
633(40)
Three-Tier Application Design
634(1)
ASP.NET Application Design
635(1)
.NET Assemblies
636(23)
What is Compilation?
638(4)
Accessing a Component from within an ASP.NET Page
642(3)
XCopy Deployment
645(1)
Accessing Assemblies in Other Locations
646(1)
Writing Code in Other Languages
647(3)
Data Access Components
650(9)
Custom Server Controls
659(4)
What are Custom Controls?
659(1)
How are Custom Controls Different from User Controls?
659(1)
How are Custom Controls different from Business Objects?
659(4)
How it All Fits Together
663(6)
Summary
669(1)
Exercises
669(4)
Debugging and Error Handling
673(50)
A Few Good Habits
674(1)
Good Coding Practice
674(13)
How and from where do Errors Arise?
677(1)
Syntax Errors
677(2)
Logical Errors
679(3)
Trapping Invalid Data
682(4)
System Errors
686(1)
Finding Errors
687(9)
Debug mode
688(2)
Tracing
690(1)
Page-Level Tracing
690(3)
Writing to the trace log
693(2)
Application-Level Tracing
695(1)
Handling Errors
696(15)
On Error Goto...?
697(1)
Structured Error Handling
697(1)
Exceptions
698(1)
Using try...catch...finally
699(1)
Multiple catch Blocks
700(2)
What You Can Put in a catch Block
702(1)
And finally
703(1)
Generating Exceptions using throw
703(3)
Nested try Blocks
706(3)
Handling Errors Programmatically
709(2)
Notification and Logging
711(9)
Customized Error Messages
712(3)
Writing to the Event Log
715(1)
System. Diagnostics Namespace
715(3)
Mailing the Site Administrator
718(1)
System. Web. Mail Namespace
718(2)
Summary
720(3)
Web Services
723(38)
What is a Web Service?
724(4)
HTTP, XML, and Web Services
728(5)
HTTP GET
729(1)
HTTP POST
730(1)
Simple Object Access Protocol (SOAP)
731(2)
Building an ASP.NET Web Service
733(13)
Processing Directive
733(1)
Namespaces
734(1)
Public Class
734(1)
Web Methods
734(3)
Testing your Web Service
737(3)
Using your Web Service
740(6)
Consuming a Web Service
746(6)
How does a Proxy Work?
746(2)
Creating a Proxy
748(4)
Web Service Discovery
752(1)
Securing a Web Service
753(2)
Username-Password Combination or Registration Keys
753(1)
Secure Sockets Layer (SSL)
754(1)
IP Address Restriction
755(1)
Other Considerations
755(3)
Network Connectivity
755(1)
Asynchronous Method Calls
756(1)
Service Hijacking (or Piggybacking)
757(1)
Provider Solvency
757(1)
The Interdependency Scenario
757(1)
Summary
758(1)
Exercises
758(3)
Configuration and Optimization
761(24)
Configuration Overview
762(5)
Browsing .config Files
762(1)
The Configuration Files
763(2)
Configuration File Rules
765(1)
Configuration File Format
766(1)
The Structure of the Configuration Files
767(4)
General Configuration
767(1)
Page Configuration
768(1)
Application Settings
769(1)
Custom Errors
769(2)
Performance Optimization
771(8)
Caching
771(1)
Output Caching
771(3)
Fragment Caching
774(1)
Tracing
775(4)
Monitoring the ASP.NET Process
779(3)
Tips and Tricks
782(1)
Summary
783(2)
ASP.NET Security
785(36)
What is Security?
785(1)
Types of Security
786(1)
Authentication
786(31)
Implementing Basic Authentication
787(11)
Weighing up Basic Authentication
798(1)
Integrated Windows Authentication
799(3)
Weighing up Integrated Windows Authentication
802(1)
Implementing Forms-based Authentication
803(9)
Forms-based Authentication using a database
812(5)
Encryption using SSL
817(1)
Microsoft Passport Authentication
817(1)
What is Microsoft Passport?
817(1)
Why Passport?
817(1)
Technologies supported by Passport
818(1)
Summary
818(3)
Index 821

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program