.Net Training Overview |
This course provides a realistic, hands-on, comprehensive coverage of developing Web services using ASP.NET and C#. Web services are an evolving series of standards that enable programs on various computers to communicate with other programs on similar or disparate computers transparently over the Internet. This course teaches in detail the skills needed to program Web services using ASP.NET. It also examines the fundamentals of SOAP and WSDL essential for creating interoperable Web services. The course is current to .NET 3.5 and Visual Studio 2008, with coverage of newer features such as the WS-I Basic Profile 1.1, SOAP 1.2, event pattern for calling Web services asynchronously, and more. It also includes an introduction to Windows Communication Foundation (WCF), Microsoft’s modern unified framework for creating distributed applications.
The first chapter introduces Web services and Service Oriented Architecture (SOA). The baseline Web service specifications of XML, SOAP, WSDL and UDDI are outlined.
Chapter 2 covers the fundamentals of SOAP and WSDL. Web services are developed using the .NET Framework SDK. Chapter 3 covers the details of how to create and debug ASP.NET Web services using Visual Studio 2008.
Chapter 4 shows how to create clients for Web services using an SDK tool and using Visual Studio 2008. Sophisticated topics, such as state management, caching and transactions in Web services are covered in Chapter 5. The next three chapters discuss important technologies at the foundation of ASP.NET Web services, including XML serialization, SOAP and WSDL.
Chapter 9 provides a practical discussion of data access using Web services. The course concludes with an introduction to Windows Communication Foundation.
.Net Training Prerequisites
Knowledge of the .NET Framework using C# and an understanding of the fundamentals of XML. Some experience in ASP.NET is advantageous.
.Net Training Learning Objectives
After completing this course, the student should be able to:
.Net Training Course duration
- Gain a comprehensive understanding of the philosophy and architecture of Web services and Service Oriented Architecture
- Acquire a working knowledge of creating and consuming Web services using the .NET Framework 3.5 and Visual Studio 2008
- Attain a detailed knowledge of the building blocks of Web services, including XML, SOAP and WSDL
- Understand issues in the ASP.NET programming model, such as caching, data handling and state management
- Implement Web services and clients using WCF.
- Understand the issues of interoperability between Web services created using ASP.NET and those created using WCF.
.Net Training Course outline
1. What Are Web Services?
2. Web Services Fundamentals
- Introduction to Distributed Computing
- Network Latency
- Object State and Scalability
- Web Service Business Models
- Service Oriented Architecture (SOA)
- ASP.NET Web Services
- Web Service Enhancements (WSE)
- Windows Communications Framework (WCF)
3. Developing ASP.NET Web Services
- Creating a Web Service Using ASP.NET
- Deploying a Web Service Using IIS
- Testing a Web Service
- SOAP 1.1 and SOAP 1.2
- Web Service Clients
4. Web Service Clients
- Using Visual Studio 2008 to Develop Web Services
- Visual Web Developer
- Using ASP.NET Development Server
- An Overview of the Web Services Namespaces
- Deriving from the WebService Class
- @Webservice Attribute
- WebService Class
- Adding a WebMethod to Web Services
- Debugging Web Services
- WS-I Basic Profile
- ASP.NET Configuration
5. ASP.NET Web Services Programming Model
- Web Service Proxies
- Web Services Description Language Tool (Wsdl.exe)
- Understanding the Proxy Code
- Creating a Proxy with Visual Studio 2008
- Returning Complex User-Defined Data Types
6. XML Serialization
- Asynchronous Programming in Web Services
- Asynchronous Events in .NET 2.0
- Managing State in ASP.NET Web Services
- Transactions in ASP.NET Web Services
- Caching in ASP.NET Web Services
7. More about SOAP
- What Is Not Serialized
- Writing and Reading XML
- Customizing XML Serialization
- XML Schema and XSD
- Creating Classes from Schemas
- XML Serialization and Web Services
8. More about WSDL
- The Structure of SOAP Messages
- Using SOAP Headers
- SOAP Faults
- Document and RPC Style Messaging
- Literal and Encoded Use
- Customizing SOAP with Attributes
- Using SOAP 1.2
9. Data Access with Web Services
- The Need for Service Description
- An IDL for Web Services
- WSDL Namespaces
- The WSDL Description Model
- WSDL Descriptors as Schema
- Message Description
- Messaging Scenarios
- Operations: Input, Output, and Fault
- Service Description
- Extending WSDL
- .NET WSDL Classes
- WSDL First!
10. Introduction to WCF
- Multiple-Project Solutions in Visual Studio
- Multiple-Tier Data Access
- Data Access Using ADO.NET 3.5
- A Data Access Web Service
- Data Binding with Windows Forms
- Using Typed DataSets
- Binding to a Web Service
Appendix A. Learning Resources
- What is WCF?
- Address, Binding and Contract
- WCF Services and Clients
- IIS Hosting
- Interoperability with ASMX Web Services
- Data Contracts
Appendix B. Configuring IIS for ASP.NET
Required software is Visual Studio 2008, Standard Edition or higher. The recommended operating system is Windows XP with at least Service Pack 2. Internet Information Services should be installed. Service Pack 1 for Visual Studio 2008 is recommended. See the course Setup Notes for details.
A good minimal hardware profile for this course would have a 2 GHz or better CPU, 512 MB of RAM, and at least 4 GB of free disk space for tools installation and courseware. The installation of Visual Studio 2008 Service Pack 1 requires 5.5 GB of free disk space on the partition on which the operating system is installed.