.NET Framework Using C#


Windows Communication Foundation Using Visual Basic – 3 Days

Course Description

Windows Communication Foundation (WCF) training is Microsoft’s new framework for building distributed systems. It unifies and builds on the diverse set of existing distribution mechanisms, which include ASP.NET Web services and .NET Remoting. WCF enables developers to produce highly configurable, secure, reliable and transactional services using a single simplified programming model. And since WCF supports the WS-* series of Web service standards, it enables simple interoperation with other platforms and technologies.

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. A large number of working examples and lab exercises are provided. The course uses .NET 4.0 and Visual Studio 2010.

What You Will Learn

  • 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


Students should have a good working knowledge of building .NET applications with Visual Basic. Knowledge of building distributed systems and Web services will also be an advantage.


  1. WCF Essentials

    What is WCF?

    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

    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

    System Requirements

    Course exercises require Microsoft .NET 4.0 and Visual Studio 2010 with Service Pack 1. The preferred operating system is Windows 7 with Internet Information Services 7.5. Microsoft .NET Framework 4 Platform Update 1 – Design-time Package for Visual Studio 2010 SP1 is optional. See the appropriate course Setup Guide for details.

    A good minimal hardware profile for this course consists of a 2 GHz or better CPU, 1 GB of RAM, and at least 4 GB of free disk space for tools installation and courseware.

Other courses to explore:

Object-Oriented Programming in C# – Onsite, Custom, Lowest Price


XML for Web Applications Using C#

Don’t forget to check out our monthly specials to save – Monthly Specials

Print Friendly, PDF & Email