Introduction
This threeday instructorled course provides students with the knowledge and skills to build and configure a Windows Communication Foundation WCF solution.
Audience
This course is intended for application developers who know how to build and consume Web services in Microsoft .NET Framework 2.0 and how to use the common features of the base class library. The application developers do not have to understand concepts such as advanced WS Web Services Enhancements WSE service life cycle management and diagnostics.
At Course Completion
After completing this course students will be able to
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 by 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.
Prerequisites
Before attending this course students should have intermediate experience of developing applications by using previous versions of Microsoft Visual Studio development system.
Course Outline
Module 1 Getting Started with Windows Communication Foundation
Designing an Application to Be Part of a Service Oriented Architecture
Overview of WCF Architecture
Using a LanguageLevel Interface As a Service Contract
Implementing a Simple WCF Service in Visual Studio 2008
Consuming a simple WCF service in Visual Studio 2008
Module 2 Configuring and Hosting WCF Services
Programmatically Configuring a Managed Application to Host a WCF Service
Programmatically Configuring a Managed Application to Call a WCF Service
Defining Client and Service Settings by Using FileBased Configuration
Selecting a Hosting Option for a WCF Service
Deploying a WCF Service
Module 3 Endpoints and Behaviors
Exposing WCF Services Over Different Endpoints
Adding Behaviors to Services and Endpoints
Interoperating with NonWCF Web services
Module 4 Debugging and Diagnostics
Logging Messages
Enabling EndtoEnd Tracing for a Service
Generating Logging Information for a Service
Module 5 Designing and Defining Contracts
Designing a Coherent and Cohesive WCF Service Interface
Defining a Service Contract
Defining Operations on a Service
Defining a Data Contract
Module 6 Handling Errors
Relating .NET Exceptions to ServiceLevel Faults
Using Faults in a Service
Handling Faults and Exceptions on Clients
Add Fault Handling to a WCF Service and the Service Contract
Module 7 Improving WCF Service Quality
Managing WCF Service Instances
Managing Concurrency Issues
Improving WCF Service Quality
Throttling Access to a WCF Service
Passing Bulk Data between a WCF Client and Service
Module 8 Implementing WCF Security
Overview of Security in WCF
Applying Overall Security Requirements to a Binding
Specifying Required Client and Service Credentials
Working with Security Information
Module 9 Implementing Transactions
Overview of Transactions in a ServiceOriented Application
Creating Transactional Service Operations
Enabling the Flow of Transactions from Client to Service
Forcing a Transaction to Start When a Service Operation Is Called