Exclusive
Visual Studio 2005

Core Distributed Application Development with Microsoft Visual Studio 2005
(Microsoft Training Course: 2548) - 3 days - £1700 exc VAT



> Target Audience
This workshop provides students with the knowledge and skills to develop distributed applications by using the Microsoft .NET Framework and Microsoft Visual Studio 2005. It is intended for corporate and Independent software vendor application developers who have a desire to learn more about specific technology areas in distributed application development.
> Course outline
  1. Building and Consuming a Simple XML Web Service
  2. Configuring and Customizing a Web Service
  3. Calling Web Methods Asynchronously
  4. Building a Remoting Client and Server
  5. Creating and Serializing Remotable Types
  6. Performing Remoting Operations Asynchronously
  7. Managing the Lifetime of Remote Objects
  8. Sending and Receiving Messages by Using Message Queuing
  9. Creating and Consuming Serviced Components


Module 1: Building and Consuming a Simple XML Web Service
  • Technical Context of Web Services
  • Components of Web Service Technology
  • Lab: Building and Consuming a Simple Web Services
Skills
  • Explain the technical context for Web services.
  • Understand key components of Web service technology.
  • Create a Web service and client.
  • Configure a Web service client and proxy.
  • Deploy and use a Web service.
  • Debug a Web service.
  • Determine Web service connectivity.
top
Module 2: Configuring and Customizing a Web Service
  • XML Serialization
  • How to Use Complex Data Types in Web Services
  • How to Use Attributes to Control Serialization
  • How to Use Service Configuration Attributes
  • Configuration Files
  • Lab: Configuring and Customizing a Web Service
Skills
  • Explain XML serialization of user-defined classes.
  • Pass complex data types between a Web service and a client.
  • Configure XML serialization.
  • Configure SOAP formatting options.
  • Configure the namespace and binding for a Web service.
  • Configure a Web service by using the Web.config file.
top
Module 3: Calling Web Methods Asynchronously
  • The Need for Asynchronous Calls
  • Options for Making Asynchronous Calls
  • One-Way Methods
  • Lab: Calling Web Methods Asynchronously
Skills
  • Explain why asynchronous calls are needed by Web service clients.
  • Create and invoke one-way methods.
  • Call methods in a Web service asynchronously.
top
Module 4: Building a Remoting Client and Server
  • Technical Context of Remoting
  • Remoting Servers and Clients
  • Important Components of Remoting
  • Lab: Building a Remoting Client and Server
Skills
  • Describe the technical context of remoting.
  • Implement a simple remoting server and client.
  • Pass data by value across a remoting boundary.
  • Configure remoting channels.
  • Use different activation modes.
  • Configure a remoting service by using a configuration file.
  • Deploy and host remotable types.
  • Debug a remotable type.
top
Module 5: Creating and Serializing Remotable Types
  • Marshal by Value
  • Marshal by Reference
  • Version Compatibility for Remotable Types
  • Generic Classes
  • Lab: Creating and Serializing Remotable Types
Skills
  • Describe the differences between marshal by value and marshal by reference.
  • Describe the issues surrounding versioning and remoting.
  • Use version tolerant serialization.
  • Configure a communication channel to use different serialization formatters.
  • Create and marshal remotable objects by reference.
top
Module 6: Performing Remoting Operations Asynchronously
  • Asynchronous Methods
  • Calling Remote Methods Asynchronously
  • One-Way Methods
  • Using Events in Remoting Applications
  • Lab: Performing Remoting Operations Asynchronously
Skills
  • Call remoting methods asynchronously by using BeginInvoke.
  • Implement callbacks.
  • Create and call one-way methods.
  • Create and fire events in remote services.
  • Handle events in a client application.
top
Module 7: Managing the Lifetime of Remote Objects
  • Life Cycle of Remote Objects
  • Lifetime Sponsors
  • Lease Properties
  • Leases and Exception Handling
  • Lab: Managing the Lifetime of Remote Objects
Skills
  • Initialize the lifetime of a remote object.
  • Renew the lifetime of a remote object.
  • Configure the renewal properties of a lease.
  • Handle exceptions caused by lease expiry.
top
Module 8: Sending and Receiving Messages by Using Message Queuing
  • Understanding Message Queuing
  • Creating a Message Queue and Sending a Message
  • Receiving a Message and Posting a Response
  • Using IIS with Message Queuing
  • Lab: Sending and Receiving Messages by Using Message Queuing
Skills
  • Explain message queuing.
  • Create a message queue and send messages.
  • Receive a message and post a response.
  • Use Internet Information Services with message queuing.
top
Module 9: Creating and Consuming Serviced Components
  • COM+ Services
  • Implementing a Serviced Component
  • Registering a Serviced Component
  • Instantiating a Serviced Component
  • Lab: Creating and Consuming Serviced Components
Skills
  • Understand the role of COM+ services.
  • Implement a serviced component.
  • Register a serviced component.
  • Instantiate a serviced component.
top
> Pre-Requisites
Before attending this course, students should have the following pre-requisites:
  • Ability to manage a solution environment using the Visual Studio 2005 Integrated development environment (IDE) and tools.
  • Understanding of the Microsoft .NET Framework 2.0 and the Common Language Runtime.
  • Ability to program an application by using a .NET Framework 2.0-compliant language.
  • Know how to make assemblies available to other applications.
  • Have a basic understanding of XML including XML declaration, elements, attributes, and namespaces.
  • Have a basic understanding of application domains; delegates and events; and threads.
> Purpose
After completing this workshop, students will be able to build and use a Web service; configure and customize a Web service application; call Web methods asynchronously; build remote client and server applications; create and serialize remoteable types; manage the lifetime of remote objects; call remote methods asynchronously; implement remote events; send and receive messages by using Microsoft Message Queuing; create and use serviced components.