|
|
|
wl664-ver2.1
Web Services with ASP.NET (2 days)
Description
This advanced class focuses on building and consuming Web services. Web services technology, at the heart of Service Oriented Architecture (SOA), enables programming objects written in multiple languages on diverse platforms to seamlessly communicate with each other. Students will learn to build and consume Web Services, and get a fundamental understanding of SOAP and WSDL, XML-based standards at the core of this new technology. The .NET framework provides robust support to develop and debug Web services quickly and easily. Note: Taught using .NET 2.0 and Visual Studio.NET 2005
Prerequisites
• Fundamentals of ASP.NET using VB.NET and C#
Suggested Next Courses
• J2EE/.NET Enterprise Frameworks for Systems Designers
Objectives
• Build Web services "from scratch" as ASMX files
• Web service-enable existing applications
• Understand SOAP and WSDL, and how .NET helps to work with these standards
• Interface applications with existing Web services
• Create multiple Web services clients
• Learn to use design patterns and .NET objects to cache results in ASP.NET
Course Outline
Examining an Existing Web Service • Example: Examining and Consuming a Simple Web Service • Examining the Web Service Application Directly
What and Why of Web Services • Distributed Enterprise Computing Today • What is a Web Service? • The Role Of Web Services • Origin of Web Services • Existing Methodologies • Problems with Existing Standards • The Promise of Web Services
Creating a Basic Web Service • Example: A Currency Converter Web Service • SOAP - Messaging • WSDL - Description • Viewing the Service Description • Generating WSDL documents • Where does the WSDL tool get used? • Discovering Web Services - DISCO • Publishing Web Services – UDDI • Consuming a Web Service from a Web Form • What is a Web Reference?
Improving the Readability of your Web Service • Why do we add readability? • NameSpace • Description • Name • WebMethod Description Property • Example: Adding Readability to the Currency Converter Test Harness
Web Service Caching Mechanisms for Performance Tuning • Caching Overview • Output Caching • Testing Cached Web Services • Selecting Candidates for Output Caching
• Data Caching • Cache Object • Dependency Based Cache Expiration
SOAP • What is SOAP? • SOAP Data Types • Example: SOAP Data Types • Shaping XML Output • Handling Binary Data
Refresher: Serializing To XML • What is XML Serialization? • Advantages and Disadvantages to XML Serialization • Serialization of Complex and Derived Types • Shaping the XML • Example: An Adult MovieViewer, with a Collection • XML Schema Definition Tool (xsd.exe)
XML Documents for Data • Web Service, or a Service on the Web? • XML Serialization Drives .NET Web Services • Example: Consume XML with and without SOAP
Alternate Web Service Clients • Considering Alternate Clients • Windows Forms Clients • Asynchronous Handling of Web Services • Calling a Web Service from Another Web Service
|
|
|
|
|