Microsoft .Net Framework

Preview:

DESCRIPTION

Microsoft .Net Framework. Presented by: Frank Perkins Leslie Meadows Jason Salomon. Agenda. Introduction to .Net .Net Framework Overview XML Web Services Examples of web services Web Service Demo. FP. Your application and Web service. Your internal services. - PowerPoint PPT Presentation

Citation preview

Microsoft .Net FrameworkMicrosoft .Net Framework

Presented by:Frank PerkinsLeslie MeadowsJason Salomon

Agenda

Introduction to .Net .Net Framework Overview XML Web Services Examples of web services Web Service Demo

FP

Introduction to .Net

Internet protocolsInternet protocolsSOAP “blue book”SOAP “blue book” HTTP, SMTP, XMLHTTP, SMTP, XML

.NET .NET FrameworkFramework

Windows Windows CE, 2000, CE, 2000, XP, .NETXP, .NET

Ope

ratio

nsO

pera

tions

OrchestrationOrchestration

ApplicationsApplications using your using your

serviceservice

End-userEnd-userclientsclients

.NET Enterprise .NET Enterprise serversservers

.NET Foundation.NET Foundationservicesservices

Third-party Third-party Web servicesWeb services

Your internal Your internal servicesservices

Visual Visual Studio .NEStudio .NE

TTYour application Your application and Web serviceand Web service

LM

.Net WebServices

StandardStandardbrowsersbrowsers

SmarterSmarterclientsclients

SmarterSmarterdevicesdevices Open Internet Open Internet

communications protocols communications protocols (HTTP, SMTP, XML, SOAP) (HTTP, SMTP, XML, SOAP)

OS OS ServicesServices

BizBizTier LogicTier LogicBusiness Business

logic logic & Web & Web serviceservice

OSOSservicesservices

Public webPublic webservicesservices

Building blockBuilding blockservicesservices

InternalInternalservicesservices

XMLXML

XMLXML

XMLXML

ServersServersdata, hostsdata, hosts

XMLXML

OtherOther servicesservices

XMLXML

XMLXML

XMLXML

HTMLHTML

LM

.Net Framework Overview

A grouping of technologies that: unite isolated web applications make information available anytime, anywhere simplify development and deployment

LM

.Net Framework Overview

How does MS .Net achieve this? Web Services!

Benefits to the end users: Access information anytime/anywhere Users do not need to know underlying technology Extends the internet into your operating system

LM

XML Web Services Overview

Web Services are the heart of the framework

What are XML Web services?

ClientClient WebWebserviceservice

XMLXML

HTMLHTML

LM

XML Web Services Example: MapPoint

Microsoft MapPoint Web Services Provide maps, driving directions Store locator Web service hosted by Microsoft to be consumed by your application http://www.microsoft.com/mappoint/products/webservice/default.mspx

Customer using this service: Starbucks!

LM

XML Web Services Examples

Starbucks Store Locator

LM

XML Web Services Example: NWS

National Weather Service

Provides data from their digital forecast database

http://www.nws.noaa.gov/forecasts/xml/

Diagram of how the service works

LM

XML Web Services Example: NWS

Enter Latitude and Longitude:

Result:

LM

XML Support in .Net

XML Classes provided within the .Net Framework Reading XML files Writing XML files Navigation through the XML tree XSL transformations DataSets

JS

XML Class Details

XmlTextWriterXmlTextWriter

XmlTextReaderXmlTextReader

<XML><XML>

XmlDocumentXmlDocument

DocumentNavigatorDocumentNavigator

XmlReaderXmlReader

XmlValidatingReaderXmlValidatingReader XmlNodeReaderXmlNodeReaderJS

Framework, Language and Tools

Operating System

Common Language Runtime

Base Class Library

ADO.NET and XML

ASP.NETWeb Forms Web Services

Mobile Internet Toolkit

WindowsForms

Common Language Specification

VB C++ C# JScript J#Visual Studio.N

ET

JS

.Net WebServices Demo

Demo:

Create a webservice Create a client app to consume the webservice Create a windows app to consume the webservice Consume a public web service

FP

Sources Used

.Net Framework Overview.http://www.microsoft.com/downloads/details.aspx?FamilyID=96cd43e9-3080-44df-aef3-cc3b46860323&displaylang=en

Microsoft MapPoint Serviceshttp://www.microsoft.com/mappoint/products/webservice/default.mspx

National Weather Service XML descriptionhttp://www.nws.noaa.gov/forecasts/xml/

Questions?

Recommended