ISBN-10:
1861007248
ISBN-13:
9781861007247
Pub. Date:
07/28/2002
Publisher:
Apress
Professional ASP.NET 1.0 XML with C# / Edition 1

Professional ASP.NET 1.0 XML with C# / Edition 1

Hardcover

Current price is , Original price is $0.01. You

Temporarily Out of Stock Online

Please check back later for updated availability.

This item is available online through Marketplace sellers.

This item is available online through Marketplace sellers.

Overview

XML has a central role in the .NET Framework. ASP.NET developers, therefore, need to know how to capitalize on it and its related technologies, so that they can efficiently read, write, filter, merge, and display XML data in web applications. ASP.NET can handle XML from a wide range of sources, from local XML files to relational databases on remote servers. In this book, we'll examine how to access these sources, apply transformations to the data once we have it, and render that data for display. We'll also look at how to analyze the performance of our XML web applications to eliminate bottlenecks. Finally, we try out some of what we've learned in an e-commerce case study.

Product Details

ISBN-13: 9781861007247
Publisher: Apress
Publication date: 07/28/2002
Series: Professional Ser.
Edition description: 2002
Pages: 400
Product dimensions: 0.00(w) x 0.00(h) x 0.04(d)

Table of Contents

Introduction1
Who Is This Book For?2
What Does This Book Cover?2
What You Need to Use This Book3
Conventions3
Customer Support4
How to Download the Sample Code for the Book4
Errata5
E-Mail Support5
p2p.wrox.com5
Chapter 1Introduction to XML Technologies9
An Introduction to XML10
What is XML?10
XML Design Goals11
The Appeal of XML12
The Universal Data Exchange Format12
Separation of Content and Presentation15
XML-based Languages16
Content Management and Document Publishing16
XML and Instant Messaging17
XML as a File Format17
XML in Vertical Industries17
Distributed Architecture17
In the Beginning: Client-Server18
Architecture Reaches the Web: 3-Tier19
Today: n-Tier21
Sample Architectures23
Content Site23
Intranet Application24
ASP .NET Web Development26
Welcome to ASP .NET26
The Role of XML in ASP .NET27
XML 1.0 Syntax28
Special Attributes29
Likely Changes in XML 1.131
Well-Formedness31
Namespaces in XML32
XML Information Set34
Processing XML34
Document Object Model (DOM)34
Simple API for XML (SAX)34
XML Data Binding and XML Serialization35
Validating XML36
Navigating, Transforming, and Formatting XML37
XPath37
XSLT37
XSL-FO39
Other Standards in the XML Family39
XLink and XPointer39
XQuery40
XHTML40
XForms40
XML Security Standards41
XML Signature41
XML Encryption41
XML Key Management Specification (XKMS)41
XML Messaging42
XML-RPC42
SOAP42
WSDL44
UDDI45
DIME45
GXA45
WS-I46
REST46
Summary46
Chapter 2XmlReader and XmlWriter49
Reading XML: XmlReader50
Processing Concept50
Derived Classes51
XmlReader Supporting Classes52
XmlTextReader53
XmlValidatingReader67
Writing XML: XmlWriter77
XmlTextWriter77
Summary90
Chapter 3XmlDocument93
Document Object Model94
.NET Class Hierarchy for the DOM95
Core Classes96
XmlNode96
XmlNamedNodeMap103
XmlNodeList105
Derived Classes107
XmlDocument107
XmlDocumentFragment115
XmlAttribute116
A Word about XmlLinkedNode118
XmlElement119
Conference Schedule Sample Application122
User Interface and Application Lifecycle123
Data Documents125
Server-Side Processing126
Summary132
Chapter 4XPath135
Why XPath?136
XPath and .NET136
XPath and XSLT Style Sheets136
XPath and SQL Server 2000136
XPath and Other XML Technologies137
Accessing Node Information137
Understanding the XPath Tree137
Location Paths141
Structure of a Location Path142
Location Step143
Using XPath with XmlNode150
The XPath Web Project150
Using XPath Operators and Functions160
Node-Set Operators and Functions160
Boolean Operators and Functions162
Numeric Operators and Functions163
String Functions165
Using XPathNavigator167
Typed Results of an XPath Expression167
Determining the Result Type with XPathExpression168
Creating the XPath2.aspx Web Form169
Summary174
Chapter 5Transformations177
What is XSLT?177
Transforming XML Documents178
Structure of an XSLT Style Sheet180
XSLT is a Declarative, Rule-Based Language180
Specifying the Output Type182
Defining Template Rules182
Applying Templates with [left angle bracket]apply-templates[right angle bracket]184
Applying an XSLT Style Sheet to an XML Document186
Enhancing Template Rules189
Controlling Document Output193
Sorting Node-Sets with [left angle bracket]sort[right angle bracket]193
Performing Repetition with [left angle bracket]for-each[right angle bracket]196
Using Conditional Logic in XSLT198
Understanding XSLT Functions, Variables, and Parameters202
Uniquely Identifying Nodes with generate-id()202
Accessing Nodes using [left angle bracket]key[right angle bracket] and key()204
Assigning Values with [left angle bracket]variable[right angle bracket]208
Processing Multiple XML Documents with document()209
Creating Dynamic Output with [left angle bracket]param[right angle bracket]210
Using XsltArgumentList to Add Parameters212
Summary213
Chapter 6ADO.NET215
What is ADO.NET?215
Data Access using Managed Data Providers216
Creating the ADONET Web Application219
Security and ADO.NET in ASP.NET Applications220
Accessing Data with User ID and Password220
Accessing Data with Integrated Security223
Using DataSets in ASP.NET231
Filling a DataSet using DataAdapter231
Filling a DataSet with XML Content235
Synchronizing a DataSet with XmlDataDocument237
Summary242
Chapter 7SQL Server 2000 and SqlXml Managed Classes245
SQL Server .NET Data Provider246
Advantages of the SQL Server .NET Data Provider246
Creating the SQL2000 Web Application246
Understanding XML Queries248
Writing XML Queries using FOR XML248
Retrieving Schema Information with XMLDATA250
Retrieving XML in a .NET Client250
Executing XML Queries with ExecuteXmlReader250
SQLXML 3.0253
Benefits of SQLXML 3.0253
The SQLXML Managed Classes254
The DisplayEmployees.aspx Web Form257
Summary265
Chapter 8E-Business and XML267
Transacting with XML Web Services268
SOAP--The Backbone of Electronic Messaging269
Describing Web Services with WSDL279
Discovering Organizations and Services using UDDI288
How Microsoft and IBM are extending Web Services289
Collaborative Electronic Business with ebXML294
Summary298
Chapter 9XQuery301
XQuery 1.0301
XQuery (Human-Readable) Syntax303
Implementations of XQuery305
Microsoft's .NET Classes for XQuery306
Summary322
Chapter 10Performance325
Improving ASP .NET Application Performance326
Caching326
Data Access328
Working with Strings330
Performance Monitoring in ASP .NET330
Trace Facility331
Measuring Performance in ASP .NET335
Testing ASP .NET Web Applications with ACT342
The Applications343
Creating Tests351
The ACT_XQuerySearchEngine Project354
The Test Results360
Summary365
Chapter 11A Web Services Case Study--An E-Commerce Business Engine367
Web Services--For All?368
The E-Commerce Engine369
Demonstrating the Concept371
The Database373
Building the Services375
The CatalogueService375
Testing the CatalogueService385
The BasketService390
The OrderService395
The Online Shop--A Consuming Example400
Consuming CatalogueService402
Implementing a Basket406
Summary410
Index413

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews