Choose your language:

Hong Kong
New Zealand
United Kingdom
United States

Windows Communication Foundation Using C# 2013

Course Code



3 Days

Participants should have a good working knowledge of building .NET applications with C#. Knowledge of building distributed systems and Web services will also be an advantage.
This course provides a thorough grounding in this important technology. The first chapter covers the essential concepts and shows how to implement WCF services and clients. The “ABC” of address, binding and contracts are covered in detail. Service contracts and data contracts are elaborated, and instance management is covered. The course includes a discussion of error handling and security and concludes with coverage of the WCF Routing Service. The course uses Visual Studio 2013 with .NET 4.5.1. The course discusses new features of WCF 4.5, including new bindings and support for the task-based asynchronous pattern and WebSockets. A large number of working examples and lab exercises are provided.
This course is designed for developers.

Upon completion of this course, participants will be able to:

  • Learn what WCF is, and how it unites existing distribution mechanisms 
  • Gain an understanding of addressing and binding in WCF services 
  • Use service contracts and data contracts 
  • Implement WCF services and clients 
  • Perform configuration in both code and configuration files 
  • Understand faults and handle errors in WCF applications 
  • Implement security in WCF applications 
  • Understand the WCF Routing Service
1. WCF Essentials
What is WCF?
WCF and Web API
Address, Binding and Contract
WCF Services and Clients
WCF Service Libraries
WCF Test Host and Test Client
WCF Clients
Channel Factories
Creating Proxies
Configuration Files
Standard Endpoints
WCF Architecture

2. Addresses and Bindings
Message Exchange Patterns
Configuring Bindings
Interoperating with ASMX Web Services
Default Endpoints and Bindings
Service Descriptions
Multiple Endpoints

3. Service Contracts
Defining Service Contracts
Defining Operation Contracts
Services with Multiple Contracts
Contract Inheritance
Operation Overloading

4. Instance Management
Using Per-Call Services
Using Per-Session Services
Using Singleton Services
Configuring Behaviors
Windows Forms WCF Clients

5. Data Contracts
Implementing Data Contracts
Mapping Data Contracts to XSD Schema
Arrays and Generic Collections
Versioning Data Contracts

6. More about Service Contracts
Versioning Service Contracts
Implementing Message Exchange Patterns
Oneway Contracts
Duplex Contracts
Asynchronous Proxies
Task-Based Asynchronous Pattern

7. Handling Errors
Faults and Exceptions
Generating and Handling Faults
Fault Contracts
Faults and Sessions

8. WCF Security
Security Aspects of Services
Transport Security
Message Security

9. WCF Routing
WCF Routing Service
Routing Configuration
Routing Contracts
Message Filters
Error Handling
Routing Scenarios

Appendix A. Learning Resources

Appendix B. Hosting in IIS 7.5
Installing IIS 7.5
IIS Manager
An IIS Hosted Service
Send Us a Message
Choose one