Tài liệu Module 1: Introduction to XML in the .NET Framework doc

22 411 0
Tài liệu Module 1: Introduction to XML in the .NET Framework doc

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Contents Overview 1 Course at a Glance 2 Lesson: Common Business Problems 3 Lesson: XML in the .NET Framework 7 Review 14 Module 1: Introduction to XML in the .NET Framework Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. ©2002 Microsoft Corporation. All rights reserved. Microsoft, MS-DOS, Windows, Windows NT, Win32, Active Directory, ActiveX, BizTalk, IntelliSense, JScript, Microsoft Press, MSDN, PowerPoint, SQL Server, Visual Basic, Visual C#, and Visual Studio are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. Module 1: Introduction to XML in the .NET Framework iii Instructor Notes After completing this module, students will be able to:  Explain how Extensible Markup Language (XML) in the Microsoft® .NET Framework helps provide solutions to common business problems.  Discuss how Microsoft’s implementation of World Wide Web Consortium (W3C) standards for XML provides a framework for XML solutions to business problems.  Diagram XML support in the .NET Framework. To teach this module, you need the following materials:  Microsoft PowerPoint® file 2663A_01.ppt  2663A_ataglance.htm To prepare to effectively teach this module:  Read all of the materials for this module.  Practice using the interactive Flash animation. This module contains an interactive Flash animation that shows the relationship of trading partners with regard to XML and other data they share. The animation contains a slider that you use to scroll horizontally left or right. In addition, it contains buttons you click to display text that explains business problems and XML solutions. This animation is discussed in detail in the following section. Presentation: 30 minutes Required materials Preparation tasks About the interactive Flash animation iv Module 1: Introduction to XML in the .NET Framework How to Teach This Module This section contains information that will help you to teach this module. Course at a Glance This topic provides an overview of Course 2663. There is a link at the bottom of the slide that you can click to display an .htm file in Microsoft Internet Explorer. This file provides a brief overview of the course, the programming categories and tasks covered in the course, and the major XML base classes in the .NET Framework. Lesson: Common Business Problems This section describes the instructional methods for teaching each topic in this lesson. Use this animation to provide an overview of the course. This interactive animation begins with a brief display of the entire process. Click the ZOOM IN button in the lower right corner of the display. The animation then zooms in on the featured company, Northwind Traders, and the button changes to read OVERVIEW. You can move between the overview and the zoomed-in view at any time. At the bottom of the display is a slider that makes each portion of the process active. You can click the more buttons next to each application or component to display explanations of that application or component. You move the slider one step to the right to see how Northwind Traders uses Web applications in transactions with its customers. Move the slider further to the right to see how Northwind Traders customers interact with the Web applications and also interact directly with Northwind Traders. Explain that the Web applications provide a user interface for Northwind Traders customers. You move the slider to the left to see how Northwind Traders uses the XML Web services that it maintains for its suppliers. Move the slider further to the left to see how the suppliers interact with the XML Web services. The XML Web services allow applications to interact with each other, so there is no user interface. Notice a series of boxes that are labeled Manipulate, Transform, Query, and so on. Each box indicates that a module of the course covers the interactions closest to the box. This topic provides a brief overview of the common business problems faced by businesses, particularly those that do business over the Internet. Note that this topic does not discuss solutions to the problems. It states the problem in a way that sets the stage for the remaining modules in the course. Multimedia: Overview of Common Business Problems Common Business Problems Module 1: Introduction to XML in the .NET Framework v Lesson: XML in the .NET Framework This section describes the instructional methods for teaching each topic in this lesson. This topic explains the W3C standards that form the basis of XML support in the .NET Framework and lists the Uniform Resource Locator (URL) for each standard’s specification. This topic sets up the rest of the course. The lessons and modules that follow show the use of .NET Framework classes that support these standards. This topic shows the .NET Framework namespaces and base classes that implement the W3C standards. This is a good time to check the class’s understanding of namespaces and provide a brief overview if necessary. This topic describes how to use the classes that derive from XML base classes in the .NET Framework. The base and derived classes that this topic describes are featured in the rest of this course. This might be a good time to check how much your students know about Document Type Definitions (DTDs) and various types of schemas. This topic compares and contrasts Microsoft XML Core Services (MSXML) 4.0 and .NET Framework classes. The point to stress is that MSXML 4.0 is for use in Component Object Model (COM) and Document Object Model (DOM) environments and .NET Framework classes are for use in .NET managed environments. Explain that each has its uses. This topic explains how you use XML to help deal with security concerns. Explain that XML alone cannot guarantee security and should be a part of a company-wide security solution. Review There are several multiple-choice review questions at the end of the chapter. Review these questions with your students before proceeding to the lab. Customization Information This section identifies the lab setup requirements for a module and the configuration changes that occur on student computers during the labs. This information is provided to assist you in replicating or customizing Microsoft Official Curriculum (MOC) courseware. Lab Setup This module contains no labs. Lab Results This module contains no labs. What Are the W3C Standards in the .NET Framework? Microsoft Implementations of W3C XML Standards Overview of XML Classes in the .NET Framework MSXML 4.0 vs. .NET XML and Security in the .NET Framework Module 1: Introduction to XML in the .NET Framework 1 Overview  Course at a Glance  Common Business Problems  XML in the .NET Framework ***************************** ILLEGAL FOR NON-TRAINER USE****************************** This module introduces Extensible Markup Language (XML) in the Microsoft ® .NET Framework. XML is a standards-driven technology that is ideal for applications that use the Internet. Microsoft’s implementation of World Wide Web Consortium (W3C) standards ensures that applications you develop with XML in .NET will successfully communicate with other W3C-compatible applications. After completing this module, you will be able to:  Explain how using XML provides solutions to common business problems.  Discuss how Microsoft’s implementation of W3C standards for XML provides a framework for XML solutions to business problems.  Diagram XML support in the .NET Framework. Introduction Objectives 2 Module 1: Introduction to XML in the .NET Framework Course at a Glance  Course 2663 covers essential XML operations:  Reading XML (Modules 2 and 3)  Writing XML (Module 4)  Querying XML (Module 5)  Manipulating XML (Module 6)  Transforming XML (Module 7)  Transmitting XML (Module 8)  Overview of XML Web services  Overview of the .NET platform Course at a glance ***************************** ILLEGAL FOR NON-TRAINER USE****************************** In an Internet environment, data can come from many sources and in many formats. XML Web services and other applications that you develop by using the .NET Framework help solve the problems of working with data in many formats from many sources. Each module in this course deals with a different aspect of creating XML-based applications by using the .NET Framework. The .NET Framework is a platform for building XML Web services. You invoke services by using industry standard protocols, such as Simple Object Access Protocol (SOAP); Universal Description, Discovery, and Integration (UDDI) Service; and XML. You build XML Web services with classes and namespaces that are defined by W3C standards. XML Web services provide a means to share data and to structure and manipulate data. The .NET platform includes a comprehensive family of products, built on XML and Internet industry standards. The platform provides for each aspect of developing, managing, using, and experiencing XML Web services. XML Web services allow applications to communicate and share data over the Internet, regardless of operating system or programming language. Microsoft is building the .NET platform today in the following five areas:  .NET experiences  Tools  Servers  XML Web services  Clients Introduction Overview of XML Web services Overview of the .NET platform Module 1: Introduction to XML in the .NET Framework 3 Lesson: Common Business Problems  Multimedia: Common Business Problems  Common Business Problems ***************************** ILLEGAL FOR NON-TRAINER USE****************************** This lesson introduces common business problems that you can solve by using XML in the .NET Framework when you develop applications. XML provides a uniform method for describing and exchanging structured data. After completing this lesson, you will be able to: • List common data-related business problems. Introduction Lesson ob j ectives 4 Module 1: Introduction to XML in the .NET Framework Multimedia: Common Business Problems  This interactive animation shows how XML can help solve common problems encountered by businesses that exchange data ***************************** ILLEGAL FOR NON-TRAINER USE****************************** This interactive animation shows problems often encountered by businesses that share data, particularly those that do business over the Internet. The animation begins with a brief display of the entire process. Click the ZOOM IN button in the lower right corner of the display. The animation then zooms in on the featured company, Northwind Traders, and the button changes to read OVERVIEW. You can move between the overview and the zoomed-in view at any time. At the bottom of the display is a slider that makes each portion of the process active to show interactions between Northwind Traders and its suppliers (to the left) and its customers (to the right). You can click the more buttons next to each application or component to display explanations of that application or component. Introduction [...]... completing this lesson, you will be able to: List the W3C standards in the NET Framework Compare and contrast the use of Microsoft XML Core Services and the NET Framework Discuss the Microsoft implementations of XML 8 Module 1: Introduction to XML in the NET Framework What Are the W3C Standards in the NET Framework? l Xs ll.Xs m Xm e tem a e em th XmlDocument XmlNodeList XPathDocument XPathExpression... recommendations XmlTextWriter XmlNavigator Use for document navigation when you do not need to load the entire document into memory XmlPathNavigator XmlResolver Use to resolve external XML resources named by a Uniform Resource Identifier (URI) XmlUrlResolver XmlNodeReader XmlValidatingReader 12 Module 1: Introduction to XML in the NET Framework Comparison of MSMXL 4.0 and NET MSXML Usage NET Framework XML Classes... standards that the NET Framework supports a XML Schema Definition (XSD) 1.0 b XML Path Language (XPath) 1.0 c XML Linking Language (XLink) d XSL Transformations (XSLT) 1.0 The correct answer is a, b, and d Module 1: Introduction to XML in the NET Framework 3 To access authentication credentials, which of the following classes in the System .XML namespace should you use with the XmlTextReader class? a XmlResolver... (HTML) documents that you can display on a Web site You might also need to print out the data; for example in Adobe Acrobat Portable Document Format (PDF) files Changing the structure of a document You might need to add elements or nodes to a document in XML format, or add or delete elements or attributes Module 1: Introduction to XML in the NET Framework 7 Lesson: XML in the NET Framework What Are the. .. and satisfies certain namespace constraints defined in the XML Information Set specification Information sets contain information items that describe the structure of an XML document Many of the W3C XML standards are derived from the definitions in the XML Information Set specification XML 1.0 + namespaces The XML 1.0 specification defines what makes a data object an XML document, the logical and physical... to XML in the NET Framework 11 Overview of XML Classes in the NET Framework Abstract base classes XmlReader – key derived classes: XmlTextReader XmlNodeReader XmlValidatingReader XmlWriter – key derived class: XmlTextWriter XmlNavigator XmlResolver *****************************ILLEGAL FOR NON-TRAINER USE****************************** Introduction The abstract base classes in the NET Framework are the. .. structure in which to display it Manipulation issues include the following: Transforming data from XML into another format You might need to transform data in one XML grammar into another if the elements and attributes of the application you work with differ from the XML structure of the data you consume If you work with a Web application, you might need to transform data in structured XML documents into... alternative to DOM-based processing NET Framework XML classes The NET Framework XML classes perform many of the same functions as MSXML 4.0 However, the classes are specifically aimed at a managed environment, specifically NET XML Web services Module 1: Introduction to XML in the NET Framework 13 XML and Security in the NET Framework XML object model for encoding security objects Support for XML signatures... authentication credentials There might be times when an XML document is secured, and therefore, you cannot access it without passing the appropriate credentials The XmlTextReader class allows you to pass credentials by using the CredentialCache class in the System.Net namespace 14 Module 1: Introduction to XML in the NET Framework Review What common business problems does XML address? What W3C XML. . .Module 1: Introduction to XML in the NET Framework 5 Common Business Problems Integrating disparate applications Translating between data formats Searching for and querying data Manipulating data *****************************ILLEGAL FOR NON-TRAINER USE****************************** Introduction Doing business over the Internet brings many companies with many different systems together Although the . Introduction MSXML 4.0 .NET Framework XML classes Module 1: Introduction to XML in the .NET Framework 13 XML and Security in the .NET Framework  XML object. XML Standards Overview of XML Classes in the .NET Framework MSXML 4.0 vs. .NET XML and Security in the .NET Framework Module 1: Introduction to

Ngày đăng: 24/01/2014, 09:20

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan