rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780130417909

Fundamentals of Web Applications Using .Net and Xml

by ; ; ; ;
  • ISBN13:

    9780130417909

  • ISBN10:

    0130417904

  • Format: Paperback
  • Copyright: 2002-02-01
  • Publisher: Pearson P T R
  • 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: $44.99
We're Sorry.
No Options Available at This Time.

Summary

This is a practical introduction to the fundamentals of .NET Web development for experienced programmers who are now learning .NET. Using rich code examples, this book covers the entire process of .NET Web development, and all the relevant technologies, from ASP.NET to XML. The authors offer a concise review of traditional Web development, then demonstrate the value .NET adds for those building advanced Web applications and services. After introducing .NET's key languages, they present a straightforward migration path from current technologies to ASP.NET, ADO.NET and VB.NET. Coverage includes: .NET framework and architecture; the role of XML, SOAP, and UDDI in .NET development; new techniques such as object remoting; and interoperability with non-.NET systems. The book's key concepts are tied together through a case study that is shared by other books in this .NET series from Object Innovations and Prentice Hall PTR -- giving readers a jumpstart when they're ready for other books in the series.

Table of Contents

Preface xxiii
Organization xxiii
Sample Programs xxv
Web Site xxv
Acknowledgments xxvi
About this Series xxvii
Web Sites in a .NET World
1(30)
Integrated Web Sites
2(4)
Collaboration
2(1)
The Costs of Collaboration
3(1)
Experience
4(1)
Site-to-Site Collaboration
5(1)
The .NET Solutions
5(1)
Comparing Visions
6(8)
Conventional Online Brochures
7(1)
.NET Online Brochures
7(1)
Conventional Support Sites
8(1)
.NET Support Sites
9(1)
Conventional Online Stores
10(1)
.NET Online Stores
11(1)
Conventional Web Applications
12(1)
.NET Web Applications
12(1)
Conventional Services
13(1)
.NET Services
13(1)
Experiences
14(6)
Experiences in Web Services
14(1)
Shallow Experience
15(1)
Evolving to Deep Experiences
16(1)
Deep Experience
17(1)
Implementing Experiences
18(2)
Building and Maintaining a Web Site
20(5)
Pages
20(1)
Services
21(1)
Production
21(1)
Building and Maintaining with .NET
22(1)
Implementing .NET
23(1)
Migrating to .NET
23(2)
Unanswered Challenges
25(2)
Availability
25(1)
Confidentiality
26(1)
Provisioning
26(1)
Mediation
27(1)
The Next Five Years
27(4)
Summary
29(2)
Fundamentals of .NET
31(20)
Overview
31(4)
Common Language Runtime
32(1)
.NET Framework Class Library
33(1)
Application Development
33(2)
Inside .NET Framework
35(3)
Managed Execution Processes
35(1)
Multilanguage Execution Environment
36(1)
Microsoft Intermediate Language (MSIL)
36(1)
JIT Compilation
37(1)
Execution
38(1)
Assemblies
38(8)
Assembly Functions
38(1)
Assembly Benefits
39(1)
Assembly Contents
40(3)
Assembly Security Considerations
43(1)
Assembly Versioning
43(2)
Assembly Location
45(1)
Side-by-Side Execution
45(1)
Application Domains
46(3)
What Are Application Domains?
46(2)
Application Domains and Assemblies
48(1)
Application Domain and Threads
48(1)
Run-Time Hosts
49(2)
Summary
50(1)
The Programming Environment of .NET Framework
51(44)
Cross-Language Interoperability
51(1)
The Programming Environment
52(9)
Supported Languages
53(1)
Common Type System
54(1)
Metadata System
55(1)
Common Language Specification
56(1)
Debugger
57(1)
Classes
57(2)
Class Library
59(2)
Console Programs That Say ``Hello!''
61(9)
Required Tools
61(1)
Required Classes and Methods
61(4)
C++ Program
65(2)
C# Program
67(2)
Visual Basic Program
69(1)
Components That Say ``Hello!''
70(3)
Base Class
70(1)
Component as a Derived Class in C#
71(1)
Component as a Derived Class in Visual Basic
72(1)
Component as a Derived Class in C++
72(1)
Client Programs of the Components
73(11)
Console Program in C#
73(2)
Console Program in Visual Basic
75(1)
Console Program in C++
76(2)
Windows Program
78(4)
ASP.NET Page
82(2)
Network Programming
84(11)
Request-Response Model
85(2)
TCP Client
87(2)
Socket Programming
89(2)
TCPListener and Server Programming
91(2)
Summary
93(2)
ASP.NET
95(88)
Overview
96(2)
Features of ASP.NET
98(8)
Coding in ASP.NET versus ASP
99(2)
ASP.NET and Common Language Runtime
101(3)
Other ASP.NET Features
104(2)
Web Forms
106(20)
Web Forms and Page Class
106(2)
ASP.NET Page Processing
108(1)
Page Life Cycle
108(4)
Web Forms Events
112(6)
Page Directive and Tracing
118(2)
HttpRequest and HttpResponse Classes
120(1)
HttpRequest Class
120(2)
HttpResponse Class
122(1)
Request/Response Programming in ASP.NET
123(3)
Server Controls
126(6)
HTML Controls
127(1)
Creating an ASP.NET Web Application Using VS.NET
128(1)
HTML Controls in Visual Studio
129(2)
Examples of HTML Controls
131(1)
Validation Controls
132(6)
Required Field Validation
133(2)
Regular Expression Validation
135(1)
Other Validation Controls
135(3)
Web Form Controls
138(4)
Rich Controls
142(1)
ASP.NET Web Applications
143(32)
Building the TAUM Web Site Using Visual Studio.NET
143(1)
Configuring the TAUM Web Site
144(1)
Building Supporting Libraries
144(2)
TAUM Web Site Version 1
146(5)
TAUMLib Components
151(3)
TAUM Web Site Version 2
154(2)
ASP.NET State Fundamentals
156(1)
Session State: ASP.NET Versus ASP
157(1)
Global.asax
157(2)
Application State
159(3)
Session State
162(1)
Configuration Under ASP.NET
163(1)
Configuration Files
163(2)
Application Tracing
165(1)
Session Configuration
166(1)
Application Security Under ASP.NET
167(1)
IIS Security
167(2)
Authentication in ASP.NET
169(1)
Forms-Based Authentication and Authorization
170(4)
Impersonation
174(1)
Migrating from ASP to ASP.NET
175(8)
To Migrate or Not to Migrate
175(1)
Option 1: Do Not Migrate
176(1)
Option 2: Start from Scratch Now
176(1)
Option 3: Migrate
176(1)
Areas of Change
177(1)
Changes in Intrinsic Objects
177(2)
Changes in Layout and Coding Style
179(1)
Changes in Application Configurations
179(1)
Changes in Session and State Management
180(1)
Changes in Security Model and Practice
180(1)
Best Practices to Prepare for Migration
180(1)
Summary
181(2)
ADO.NET
183(58)
Overview
183(3)
ADO.NET Design Goal
184(1)
ADO.NET Architecture
185(1)
Simple Example
186(5)
ADO.NET Data Providers
191(6)
The SQL Server .NET Data Provider
192(1)
The OLE DB .NET Data Provider
192(1)
Choosing a .NET Data Provider
193(1)
Common Model
194(3)
Using .NET Data Provider to Access Data
197(12)
Connection
197(1)
Command
198(1)
DataReader
199(2)
Single Value Retrieval
201(1)
Multiple Result Sets
201(2)
Non-Query SQL Statements
203(1)
Stored Procedures and Functions
203(4)
Transactions
207(2)
DataSet and DataAdapter
209(24)
Building Blocks of DataSet
209(1)
Populate DataSet from Database
210(3)
Define a New DataTable
213(2)
Manipulate a DataTable
215(1)
Insert Data
215(1)
Select Data
216(2)
Edit or Update Data
218(4)
Delete or Remove Data
222(1)
Handle Events
222(3)
Relation Between DataTables
225(3)
Update Database from Dataset
228(1)
Update Method
229(1)
A Scenario with a Single Table
229(1)
A Scenario with Multiple Tables
230(2)
Processing Orders
232(1)
XML Integration With ADO.NET
233(8)
Data Exchange Between XML and DataSet
233(1)
Writing XML from a DataSet
233(2)
Loading a DataSet from XML
235(1)
Schemas of DataSet and XML
236(1)
Writing DataSet Schema as XSD
237(1)
Loading DataSet Schema by Reading XSD
237(1)
Inferring DataSet Schema from XML
237(1)
Typed DataSet
238(1)
Summary
239(2)
Web Services
241(22)
Defining Web Services
241(9)
``Hello!'' Service in C#
242(2)
``Hello!'' Service in Visual Basic
244(3)
``Hello!'' Service in JScript
247(3)
Clients of Web Services
250(5)
Proxy for Web Services
250(2)
Console Program as a Client of Web Services
252(1)
ASP.NET Page as a Client of Web Services
253(2)
Asynchronous Invocation of Web Services
255(8)
Synchronous Mode versus Asynchronous Mode
255(1)
Standard Approach to Asynchronous Invocation
255(5)
Shortcut for Web Services
260(1)
Summary
261(2)
Programming XML with .NET Framework
263(46)
Accessing XML
263(30)
Tree---XML DOM---Random Hierarchy Access Model
264(3)
Tree Traverse
267(1)
Query by Tag Name
268(2)
Using the Properties of an XmlNode
270(2)
Query by XPath and Insert New Node
272(2)
Cursor---Reader/Writer---Sequential Access Mode, Forward Only
274(1)
Read Through the Entire Tree
274(8)
Read the Required Nodes Only
282(2)
Validation
284(1)
Validation Type Property and ValidationEventHandler Event
284(5)
XmlSchemaCollection
289(3)
Write XML Data
292(1)
Working with Relational Data: XmlDataDocument and DataSet
293(8)
DataSet and Schema: DataSet.ReadSchema
293(4)
Mapping XML to Tables: DataSet.Tables
297(2)
Data Record in Rows: DataSet.Tables().Rows
299(2)
Transform XML
301(4)
Working With XML Style Sheet: Xml.Xsl.XslTransform
301(1)
Transform to XHTML or Another XML
302(3)
Serve XML
305(4)
Serve XML from Web Servers
305(2)
Data Presentation
307(1)
Data Exchange
307(1)
Web Services and Object Remoting
308(1)
Summary
308(1)
Object Remoting
309(26)
Concept
309(4)
Communication Between Applications
309(1)
Building Blocks for Object Remoting
310(1)
Server Object
310(1)
Channel
311(1)
Formatter
311(1)
Registration of Well-Known Object
311(1)
Configuration of Remoting
312(1)
Activation
313(1)
Object Remoting over an HTTP Channel
313(9)
Server with Registration of Well-Known Object
314(1)
Client Using Activator.GetObject
315(2)
Server with Registration of Remoting
317(2)
Client with Registration of Remoting
319(1)
ASP.NET Page as Client
320(2)
Object Remoting over a TCP Channel
322(3)
Server with Registration of Well-Known Object
322(1)
Client Using Activator.GetObject
323(2)
Server with Registration of Remoting
325(1)
Client with Registration of Remoting
325(1)
ASP.NET Page as Client
325(1)
Asynchronous Invocation of Remote Method
325(3)
Deployment of a Service Without Its Implementation
328(7)
Using Bace Class
329(3)
Using an Interface
332(2)
Summary
334(1)
SOAP Client and XML
335(36)
SOAP Concepts
336(10)
What Is SOAP?
336(2)
The SOAP Message Exchange Model and XML
338(1)
The SOAP Envelope
338(2)
SOAP Encoding
340(1)
Simple Types
340(1)
Compound Types
341(1)
SOAP Fault
342(2)
Using SOAP in HTTP and for RPC
344(1)
Using SOAP in HTTP
344(1)
Using SOAP for RPC
345(1)
The Benefits of SOAP
346(4)
SOAP versus DCOM
346(1)
SOAP versus CORBA
347(1)
SOAP versus RMI-IIOP
348(1)
Limitations of SOAP
349(1)
Conclusions
349(1)
Building Simple SOAP Clients Under .NET
350(21)
Accessing Web Services Using SOAP Clients
350(1)
Creating a Web Service Using VS.NET
351(5)
Creating a VB.NET SOAP Client Using VS.NET
356(3)
Putting the Client and Server Together
359(6)
.NET Remoting Using SOAP Clients
365(3)
Summary
368(3)
Interoperating .NET with Other Platforms
371(32)
WSDL and .NET
372(9)
WSDL Defined
372(5)
Operation and Port Type
377(1)
Binding
378(1)
SOAP Binding
378(1)
HTTP and MIME Binding
379(1)
Port and Service
380(1)
Interoperating with .NET by Examples
381(18)
Accessing .NET Web Services from an Apache SOAP Client
382(1)
Customizing NET Web Services forInteroperating
382(2)
Configuring Apache SOAP Server and Client
384(3)
Our First Apache SOAP Client for .NET Web Services
387(2)
Enhancing the Apache SOAP Client
389(4)
Accessing Apache Web Services from a .NET SOAP Client
393(1)
Creating and Deploying Apache SOAP Web Services
393(2)
Generating WSDL Documents Based on Apache SOAP
395(3)
Generating Proxy for Web Services Under .NET
398(1)
Running the C# Client for Apache SOAP Web Services
398(1)
Universal Description, Discovery, and Integration
399(4)
What UDDI Is
399(1)
Connecting Enterprises Using SOAP, UDDI, and WSDL
400(1)
The State of UDDI Development Today
401(1)
Summary
402(1)
A Case Study: A Distributed Web Application
403(22)
The TAU Business Model
404(1)
The Goals of TAU.NET System Design
405(3)
Cell Systems
405(1)
Information Exchange
406(1)
Remote Services
406(1)
TAU.NET Node
406(2)
Architecture
408(11)
Overview
408(2)
Schema for Data Exchange
410(1)
Schema for Inquiries About TAU Products and Services
410(2)
Data Schema for Inquiries About Member Services
412(3)
Other Schema for Data Exchange
415(1)
Classes for the Schemas
415(1)
TAU.NET Node Interface
416(1)
Server Objects for Web Services
416(2)
Proxy Objects for Web Services
418(1)
TAU.NET Node Adaptor
419(6)
TAU.NET Node Adaptor to Link Cell System Database
419(2)
TAU.NET Node Adaptor to Serve a Web Page
421(3)
Summary
424(1)
APPENDIX A Web Programming Fundamentals 425(38)
A.1 Classical Web Technology
426(10)
A.1.1 Hypertext and HTML
426(2)
A.1.1.1 Uniform Resource Locators
428(1)
A.1.1.2 Web Browsers
428(1)
A.1.1.3 HTML Forms
428(3)
A.1.2 Internet Servers
431(1)
A.1.3 HTTP
431(1)
A.1.3.1 HTTP Headers
432(1)
A.1.3.2 Web Server Response
432(1)
A.1.3.3 HTTP Methods
433(1)
A.1.4 CGI
433(1)
A.1.4.1 A Dynamic Web Page
434(1)
A.1.4.2 More About HTML Forms
435(1)
A.2 An Internet Programming Testbed
436(6)
A.2.1 Internet Explorer 6.0
436(1)
A.2.2 Internet Information Services 5.0
437(1)
A.2.2.1 Publishing to Your Web Site
437(2)
A.2.2.2 Directory Browsing
439(1)
A.2.2.3 Running CGI Scripts
440(2)
A.3 Microsoft Web Technologies
442(15)
A.3.1 Microsoft Client-Side Web Technologies
443(1)
A.3.1.1 Scripting
444(1)
A.3.1.2 VBScript and JavaScript
445(1)
A.3.1.3 ActiveX Controls
446(2)
A.3.1.4 Safety Configuration in Internet Explorer
448(1)
1.3.1.5 Downloading an ActiveX Control
448(4)
A.3.2 Microsoft Server-Side Web Technologies
452(1)
A.3.2.1 Internet Server API (ISAPI)
452(3)
A.3.2.2 ASP
455(2)
A.4 ASP and COM
457(6)
A.4.1 ASP Object Model
458(1)
A.4.2 Request and Response Using ASP
459(1)
Summary
460(3)
APPENDIX B New Features of VB. NET 463(26)
B.1 More Object-Oriented
463(12)
B.1.1 Inheritance
464(1)
B.1.2 Method Overriding and Polymorphism
465(1)
B.1.3 Method Overloading
466(1)
B.1.4 Constructor
467(1)
B.1.5 Termination of Objects and Garbage Collection
467(2)
B.1.6 Interface
469(1)
B.1.7 Delegates
470(2)
B.1.8 Shared Methods and Class Members
472(1)
B.1.9 Properties
472(1)
B.1.10 Structured Exception Handling
473(2)
B.2 More Modularized
475(5)
B.2.1 Namespaces
475(1)
B.2.2 Assemblies
476(2)
B.2.3 Decisions on Modularization
478(1)
B.2.4 Imports Directive
479(1)
B.3 More Formal, Less Casual
480(4)
B.3.1 Variant Type
480(1)
B.3.2 Type Statement
480(1)
B.3.3 Def<Type>Statements
481(1)
B.3.4 Assignment
481(1)
B.3.5 Calling Procedures
481(1)
B.3.6 ByVal versus ByRef
482(1)
B.3.7 While Block
482(1)
B.3.8 Nonstructured Programming Constructs
482(1)
B.3.9 VarPtr, StrPtr, and ObjPtr
482(1)
B.3.10 Property
482(1)
B.3.11 Default Property
483(1)
B.3.12 Object Creation
483(1)
B.3.13 Optional Parameters
483(1)
B.3.14 Static Local Variables
484(1)
B.4 Safer, More Powerful, and Improved Performance
484(5)
B.4.1 Cross-Language Interoperability
484(1)
B.4.2 JIT Compilation
484(1)
B.4.3 Type-Safe
485(1)
B.4.4 Execution
485(1)
B.4.5 Free Threading
485(1)
B.4.6 Garbage Collection
485(1)
B.4.7 Versioning
486(1)
Summary
486(3)
APPENDIX C C# for C++ or Java Programmers 489(18)
C.1 C# for C++ Programmers
489(7)
C.1.1 Simpler and Safer
491(1)
C.1.1.1 Memory Management
491(1)
C.1.1.2 Type-Safe
491(2)
C.1.1.3 Delegates
493(1)
C.1.1.4 Syntax Improvement
493(2)
C.1.2 Object-Oriented
495(1)
C.2 C# for Java Programmers
496(11)
C.2.1 C# Simple Type versus Java Primitive Type
496(1)
C.2.2 C# Namespace and Assembly versus Java Package
497(1)
C.2.3 Properties
498(2)
C.2.4 Indexers
500(3)
C.2.5 Statements
503(1)
C.2.5.1 Foreach
503(1)
C.2.5.2 switch
503(1)
C.2.6 Method Parameter Passing, ref, and out
504(1)
C.2.7 struct and enum
504(1)
C.2.8 Operator Overloading
504(1)
C.2.9 Preprocessor
504(1)
C.2.10 XML Documentation versus JavaDoc
505(1)
Summary
505(2)
APPENDIX D New Features in JScript.NET 507(22)
D.1 Why Use JS.NET?
508(1)
D.2 Compiled JScript
508(1)
D.3 The Two Uses of JS.NET
509(1)
D.4 JScript Tour in Visual Studio.NET
509(2)
D.4.1 Working with JS.NET in VS.NET
509(1)
D.4.2 Creating a JS.NET File
510(1)
D.4.3 Building a JS.NET Executable
510(1)
D.4.4 Running Your JS.NET Executable
510(1)
D.5 Object-Oriented Features
511(8)
D.5.1 Classes
511(1)
D.5.2 Unique Names
512(1)
D.5.3 Inheritance
513(4)
D.5.4 Strong Typing
517(1)
D.5.5 Visibility
517(2)
D.6 Performance Enhancements
519(1)
D.7 Packaging and Deployment (EXE, DLLs, and Packaging)
520(2)
D.7.1 DLLS
521(1)
D.7.2 Package and Import Keywords
521(1)
D.8 Debugging
522(2)
D.9 The Compiler
524(5)
D.9.1 Conditional Compilation
524(1)
D.9.2 Command Line Arguments
524(4)
Summary
528(1)
APPENDIX E Visual Studio.NET 529(18)
E.1 Overview of Visual Studio.NET
529(3)
E.2 Toolbars
532(2)
E.3 Creating a Console Application
534(2)
E.3.1 Creating a C# Project
535(1)
E.3.2 Adding a C# File
535(1)
E.4 Using the VS.NET Text Editor
536(2)
E.4.1 Building the Project
537(1)
E.4.2 Running the Program
537(1)
E.4.3 Running the Program in the Debugger
537(1)
E.5 Project Configurations
538(2)
E.5.1 Creating a New Configuration
538(1)
E.5.2 Setting Build Settings for a Configuration
539(1)
E.6 Debugging
540(7)
E.6.1 Just-in-Time Debugging
540(2)
E.6.2 Standard Debugging
542(1)
E.6.2.1 Break Points
542(1)
E.6.2.2 Watching Variables
543(1)
E.6.2.3 Debugger Options
544(1)
E.6.2.4 Single Stepping
545(1)
Summary
545(2)
Index 547

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