MOC 6461: Visual Studio 2008: Windows Communication Foundation

COURSE OUTLINE:

Description This three-day instructor-led course provides students with the knowledge and skills to build and configure a Windows Communication Foundation (WCF) solution.

Learning Objectives

  • Build a simple WCF service and client.
  • Create and configure a service as a managed application and select an appropriate hosting option.
  • Expose a WCF service over different endpoints and add runtime functionality using behaviors.
  • Improve debugging capabilities by examining messages and service activity.
  • Define service, operation, and data contracts to meet application requirements.
  • Add error handling to a WCF application.
  • Address service quality issues such as performance, availability, concurrency, and instance management.
  • Implement security in a WCF application.
  • Protect data integrity through correct use of transactions.

Course Content


MODULE 1 - GETTING STARTED WITH WINDOWS COMMUNICATION FOUNDATION

1.Designing an Application to be Part of a Service Oriented Architecture (SOA)
2.Overview of WCF Architecture
3.Using a Language-Level Interface As a Service Contract
4.Implementing a Simple WCF Service in Visual Studio 2008
5.Consuming a simple WCF service in Visual Studio 2008

MODULE 2 - CONFIGURING AND HOSTING WCF SERVICES

1.Programmatically Configuring a Managed Application to Host a WCF Service
2.Programmatically Configuring a Managed Application to Call a WCF Service
3.Defining Client and Service Settings by Using File-Based Configuration
4.Selecting a Hosting Option for a WCF Service
5.Deploying a WCF Service

MODULE 3 - ENDPOINTS AND BEHAVIORS

1.Exposing WCF Services Over Different Endpoints
2.Adding Behaviors to Services and Endpoints
3.Interoperating with Non-WCF Web services

MODULE 4 - DEBUGGING AND DIAGNOSTICS

1.Logging Messages
2.Activity Tracing

MODULE 5 - DESIGNING AND DEFINING CONTRACTS

1.Designing a Coherent and Cohesive WCF Service Interface
2.Defining a Service Contract
3.Defining Operations on a Service
4.Defining a Data Contract

MODULE 6 - HANDLING ERRORS

1.Relating .NET Exceptions to Service-level Faults
2.Using Faults in a Service
3.Handling Faults and Exceptions on Clients

MODULE 7 - IMPROVING WCF SERVICE QUALITY

1.Managing WCF Service Instances
2.Managing Concurrency Issues
3.Improving WCF Service Performance

MODULE 8 - IMPLEMENTING WCF SECURITY

1.Overview of Security in WCF
2.Applying Overall Security Requirements to a Binding
3.Specifying Required Client and Service Credentials
4.Working With Security Information

MODULE 9 - IMPLEMENTING TRANSACTIONS

1.Overview of Transactions in a Service-Oriented Application
2.Creating Transactional Service Operations
3.Enabling the Flow of Transactions from Client to Service