Windows Communication Foundation Using C#

This course has been superseded

We suggest the following instead:
Windows Communication Foundation Using C# - VS2017

Course Description

Windows Communication Foundation (WCF) 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 course uses Visual Studio 2012 with .NET 4.5, which provides a number of added features in WCF, including new bindings and support for the task-based asynchronous pattern and WebSockets. A large number of working examples and lab exercises are provided.
3 days
Contact us for pricing
 

Prerequisites

Students 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.

LEARNING OBJECTIVES

· 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

WCF Essentials

What is WCF?
Address, Binding and Contract
WCF Services and Clients
WCF Service Libraries
WCF Test Host and Test Client
Self-Hosting
WCF Clients
Channel Factories
Creating Proxies
Configuration Files
Metadata
Standard Endpoints
WCF Architecture

Addresses and Bindings

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

Service Contracts

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

Instance Management

Using Per-Call Services
Using Per-Session Services
Using Singleton Services
Configuring Behaviors
Windows Forms WCF Clients

Data Contracts

Implementing Data Contracts
Mapping Data Contracts to XSD Schema
Serialization
Arrays and Generic Collections
Enums
Versioning Data Contracts

More about Service Contracts

Versioning Service Contracts
Implementing Message Exchange Patterns
Oneway Contracts
Duplex Contracts
Asynchronous Proxies
Task-Based Asynchronous Pattern
WebSockets

Handling Errors

Faults and Exceptions
Generating and Handling Faults
Fault Contracts
Faults and Sessions

WCF Security

Security Aspects of Services
Transport Security
Message Security
Certificates
Credentials

WCF Routing

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

C#WCF