1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu Module 1: The Microsoft .NET Platform and XML pptx

26 519 1

Đ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

Thông tin cơ bản

Tiêu đề Module 1: The Microsoft .NET Platform and XML
Thể loại Instructor Notes
Năm xuất bản 2001
Định dạng
Số trang 26
Dung lượng 1,01 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Microsoft, MS-DOS, Windows, Windows NT, ActiveX, BackOffice, bCentral, BizTalk, FrontPage, MSDN, MSN, Netshow, PowerPoint, SharePoint, Visio, Visual Basic, Visual C++, Visual C#, Visual

Trang 2

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, places or events 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

 2001 Microsoft Corporation All rights reserved

Microsoft, MS-DOS, Windows, Windows NT, ActiveX, BackOffice, bCentral, BizTalk, FrontPage, MSDN, MSN, Netshow, PowerPoint, SharePoint, Visio, Visual Basic, Visual C++, Visual C#, Visual InterDev, Visual Studio, Windows Media, and Xbox are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A and/or other countries The names of actual companies and products mentioned herein may be the trademarks of their respective owners

Trang 3

Instructor Notes

This module provides participants with an introduction to Microsoft® NET, the role of Extensible Markup Language (XML) in NET, and the processes that the World Wide Web Consortium (W3C) uses to establish Recommendations for

XML

After completing this module, participants will be able to:

! Define the Microsoft NET platform and explain why XML is central to it

! Explain how XML standards are developed and implemented

! Determine which XML processors are installed

Materials and Preparation

This section provides the materials and preparation tasks that you need to teach this module

To teach this module, you need the following materials:

• Microsoft PowerPoint® file 2500A_01.ppt

To prepare for this module:

! Read all of the materials for this module

! Complete the practices

! Visit and become familiar with the Web sites mentioned

! Become familiar with the history of distributed computing and the evolution

of the Internet Many participants may not be familiar with this and will have questions

! Read as much as possible about NET and watch the available videos on the Microsoft MSDN® NetShow® Become familiar with the various NET sites

on http://www.microsoft.com and http://msdn.microsoft.com

Presentation:

60 minutes

Required Materials

Preparation Tasks

Trang 5

Overview

! XML in the NET Platform

! XML as a W3C Standard

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

This module provides an overview of the Microsoft® NET platform After this module you will have a clear understanding of how Extensible Markup Language (XML) and other open computing standards are used by the NET platform This module also describes technologies related to XML

Because XML is fundamental to the Microsoft NET vision and strategy, it is important to understand why XML is so central and how it is established To this end, you will learn about the World Wide Web Consortium (W3C) standards and Recommendation development process and how this fits in with Microsoft’s development of XML processors

After completing this module, you will be able to explain:

! Define the Microsoft NET platform and explain why XML is central to it

! Explain how XML standards are developed and implemented

! Determine which XML processors are installed

Introduction

Objectives

Trang 6

Lesson: XML in the NET Platform

! What Is the NET Platform?

! Standards Used in XML Web Services

! XML in Applications

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

.NET is a Microsoft initiative to create the next generation of software that connects the world of information, devices, and people in a unified, personalized way

After completing this lesson, you will be able to:

! Describe the Microsoft NET platform

! Describe how XML fits into the NET platform, including its role in XML Web services and in client applications

Introduction

Lesson objectives

Trang 7

What Is the NET Platform?

" Microsoft Visual Studio NET

" The Microsoft NET Framework

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

The Microsoft NET platform includes a comprehensive family of products, built on XML and Internet industry standards, that 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

There are five areas where Microsoft is building the NET platform today:

A client is any device that accesses a server A smart device is a client that can access XML Web services Smart clients use Microsoft Windows® CE, Windows Embedded, Window 2000, and Windows XP This software powers PCs, port computers, workstations, smart phones, handheld computers, Tablet PCs, and Microsoft Xbox™ game consoles

Trang 8

Microsoft Visual Studio NET and the Microsoft NET Framework supply a complete solution for developers to build, deploy, and run XML Web services They maximize the performance, reliability, and security of XML Web services

Visual Studio NET is the next generation of Visual Studio, built especially for NET Visual Studio NET helps developers quickly build XML Web services and applications that scale easily, using the language of their choice Visual Studio NET advances the high-productivity programming languages Microsoft Visual Basic®, which includes new object-oriented programming features; Microsoft Visual C++®, which advances Windows development and enables you to build NET applications; and C#, which brings rapid application development (RAD) to the C and C++ developer

The NET Framework is a high-productivity, standards-based, multilanguage application execution environment It provides an application execution environment that manages memory and addresses versioning issues It improves the reliability, scalability, and security of your application The NET

Framework consists of several parts The Common Language Runtime is a rich set of class libraries for building XML Web services, and ASP.NET

The Microsoft NET Enterprise Servers, including the Windows 2000 server family, make up the Microsoft NET server infrastructure for deploying, managing, and orchestrating XML Web services Designed with mission-critical performance in mind, they provide enterprises with the agility they need to integrate their systems, applications, and partners through XML Web services They also provide the flexibility to adapt to changing business requirements The NET Enterprise Servers are:

! Microsoft Application Center 2000 for deploying and managing highly available and scalable Web applications

! Microsoft BizTalk™ Server 2000 for building XML-based business processes across applications and organizations

! Microsoft Commerce Server 2000 for quickly building scalable e-commerce solutions

! Microsoft Content Management Server 2001 for managing content for dynamic e-business Web sites

! Microsoft Exchange Server 2000 for enabling messaging and collaboration anytime and anywhere

! Microsoft Host Integration Server 2000 for bridging to data and applications

on earlier systems

! Microsoft Internet Security and Acceleration Server 2000 for secure, fast Internet connectivity

! Microsoft Mobile Information 2001 Server for enabling application support

by mobile devices like cell phones

! Microsoft SharePoint™ Portal Server 2001 for finding, sharing, and publishing business information

! Microsoft SQL Server™ 2000 for storing, retrieving, and analyzing structured XML data

What tools are available

to create NET

solutions?

What is a NET server?

Trang 9

Standards Used in XML Web Services

Report Payment

Create Report

Create Invoice

Look

Up Orders

Create New Order Audit

Permissions Authenticate Suspend Account Authentication

Web Services

Purchasing Web Services Billing Web

Universal data format XML Publish, find, and use services UDDI Service interactions SOAP Ubiquitous communication Internet Interface exposition WSDL Interoperable code C# and CLI

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

Microsoft is engaged in the standards process for key NET-enabling technologies Standardization of technologies that allow software to interoperate and exchange data makes solutions involving multiple platforms possible and benefits end users

The key NET-related technology standards are XML, Simple Object Access Protocol (SOAP), Universal Description, Discovery, and Integration (UDDI), Web Services Description Language (WSDL), the Common Language Infrastructure (CLI), and C#

Web sites are primarily designed to exchange information with users

Sometimes this involves applications outside the Web site, sometimes it does not In contrast, XML Web services are designed to allow multiple applications

to interact based on what users want

One set of XML Web services, known as NET My Services, is a set of services oriented around people .NET My Services is based upon the NET Passport user authentication system With NET My Services, users receive relevant information, when they need it, delivered to the devices they are using, and based on preferences they have established

We are in an era of standards-based computing Standards provide the foundation for the architectural goal of interoperability The NET platform is built on a foundation of industry standards Applications built on the NET platform take advantage of the gains in interoperability that standards provide XML is the universal format for structured data XML is a set of rules for designing text formats for data in a way that produces files that are easy to generate and read, unambiguous, and platform-independent

Microsoft has been very involved with XML from its conception XML is currently managed by the World Wide Web Consortium (W3C), which is the same formal standards body that owns the Hypertext Markup Language (HTML) specification

Trang 10

SOAP is built on XML It makes it possible for applications to call each other

in a standard, loosely-coupled way

If you think of the interactions between XML Web services as a phone call, XML describes the things that applications say to each other in their conversations SOAP describes how they call each other on the phone How do you greet the service at the other end? How do you ask for something?

SOAP, like XML, is part of the W3C standards process It was jointly submitted by Microsoft and a number of other companies including IBM Both XML and SOAP have been publicly endorsed by major software industry vendors

If XML is the conversation, and SOAP describes the rules for how you call someone, then UDDI is the phone book UDDI provides a directory of XML Web services It allows you to find businesses offering XML Web services UDDI is currently a community process with more than 200 participating companies The UDDI community intends to submit UDDI to a formal standards body at some point in the future

XML Web services rely on a host of established open Internet standards, such

as HTTP, Simple Mail Transfer Protocol (SMTP), and many others

WSDL provides a standard way to describe what functions are available from a specific XML Web service and what arguments must be passed to call them WSDL, like SOAP, has been submitted to the W3C for standardization

Microsoft has created a new programming language designed for an XML Web services world, called C# C# has been submitted for standardization to the European Computer Manufacturers Association (ECMA), a vendor-neutral international standards organization committed to driving industry-wide adoption of information and communications technologies This standardization will make it possible for any organization that wishes to implement C#

programming tools on any platform to do so

Microsoft has also submitted a subset of the NET Framework, called the CLI,

to ECMA This will make it possible for other vendors to implement the CLI on

a variety of platforms Software written by using the basic architectural model presented by the NET Framework can be created by using a variety of tools on

Trang 11

Practice: Comparing Data Formats

! In this practice, you are shown two data formats

! Discuss which one is easier to work with

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

In this practice, you will compare a set of data formatted in electronic data interchange (EDI) with the same data formatted in XML and XML Schema Definitions (XSD) schema These files are in the

install_folder\Practices\Mod01\EDI2XML folder You will say why either

format might be easier to use

The following code examples present the same data in two different formats Your instructor will lead the class in a discussion of which format is easier for both computers and humans to use

The following code is the type of code that you find in an EDI document: ISA**00*0000000000*01*01*PASSWORDME*01*123456789 987654321 890714*2210*U*000000008*O*P*~

GS*IN*012345678*087654321*900509*2210*000001*X*002040~

ST*801*0001~74832 BEG*940606*1045*940606*~ N1*BT* RAMONA PUBLISHING~ N3* P.O BOX 679342~ N4* TX* 77234~ N1*BT* HANSEL PUBLISHING~ N3* 101 APPLE PIE ST.~ N4* NY* 00103~ N1*BT* FIVELAKES PUBLISHING~ N3* 79 RIVER DRIVE~ N4* TX* 74564~ PER*AD* J DOE*TE* 2104355445~ ITD*01*3*2**10~ IT1** 3* CA* 12.75**VC** 6900~ IT1** 12* EA* 2.99**VC** P450~ IT1** 4* EA* 5.99**VC** 1640~ IT1** 1* DZ* 2.45**VC** 1507~ TDS* 100.54~ CAD*M**** CONSOLIDATED TRUCK~ CTT* 4* 20~ SE*21*000001~

GE*1*000001~ IEA*1*000000008~

Introduction

Exercise

Trang 12

Compare the EDI code with the following code

<?xml version='1.0' ?>

<invoice>

<organization>

<name> RAMONA PUBLISHING</name>

<street> P.O BOX 679342</street>

<state> TX, 77234</state>

</organization>

<organization>

<name> HANSEL PUBLISHING</name>

<street> 101 APPLE PIE ST.</street>

<state> NY, 00103</state>

</organization>

<organization>

<name> FIVELAKES PUBLISHING</name>

<street> 79 RIVER DRIVE</street>

Trang 13

XML in Applications

! XML in initialization files

! XML as import and export format

! XML in the presentation layer

! XML as a pervasive system file format

XML Example

***************************** ILLEGAL FOR NON - TRAINER USE ******************************

In addition to being used as a data interchange format in XML Web services, XML can also help you develop desktop applications

XML has many qualities that make it an ideal format for encoding initialization files It is simple, text only, and portable You can standardize a markup format

in a development organization to make interoperability easier For example, Microsoft Office XP uses XML as a format for storing initialization data

As a universal format for data, XML is an ideal format for importing and exporting data between applications and across platforms

XML can be presented with sophisticated formatting by using HTML or XSL style sheets An XSL style sheet can be used by any application that can link to

an XML processor

XML is already an integral part of many Microsoft products You can verify this statement if you search for *.xml files on a computer running Windows XP XML files are being used for many purposes at the operating system level In the operating system environment, XML is used for maintaining core configuration information

Ngày đăng: 10/12/2013, 16:15

TỪ KHÓA LIÊN QUAN