Skip Ribbon Commands
Skip to main content
Complete Windows Communication Foundation for .NET 4.0
Course Number:(INT-1138)
Course Length:3 Day
Course Price:$2,050
Or Register by Phone 1-888-600-ALTO (2586)

 Upcoming Classes

TBA

 Course Description

Windows Communication Foundation (WCF) is an API used to build distributed applications using .NET 3.0 (and higher). WCF was designed to expose the current multitude of Windows remoting APIs (web services, MSMQ, TCP, peer-to-peer, etc) from a single unified toolkit. In this course, attendees will examine the overall WCF programming model, binding choices, host options, security issues and the use of declarative markup to specify the underlying infrastructure. Attendees will also learn about the major changes to WCF with the release of .NET 4.0

 Course Outline

Learning Objectives
  • Understand the WCF Programming Model
  • Understand WCF Binding Choices
  • Understand WCF Fault, Message and Data Contracts
  • Understand the Major .NET 4.0 WCF Updates
  • Introduction to WCF Security Topics

Audience
This class is intended for experienced .NET 2.0 software developers. No knowledge of WCF is assumed.

Prerequisites
Understanding of Object Oriented Programming using C# or VB.NET 2.0 development experience

Introducing WCF

  • Understand the motivation behind Windows Communication Foundation (WCF)
  • Examine the WCF assemblies and core namespaces
  • Understand the ABCs (address, bindings, contracts) of a WCF service
  • Details of the intrinsic WCF binding types
  • Configuring bindings via code and via *.config files
  • A first look at WCF contracts and contractural attributes
  • Working with the WCF Test Client and WCF Configuration Editor
WCF Hosts and Clients
  • The role of System.ServiceModel.ServiceHost
  • Building Self-Hosting Services
  • Specifying the ABCs declaratively and in code
  • The role of the <endpoint> element
  • Configuring multiple endpoints
  • Configuring Metadata Exchange (MEX)
  • The role of the <baseAddress> element
  • Generating client proxies
  • Hosting a WCF service within a Windows Service
  • Hosting a WCF service within IIS
  • Invoking WCF service methods asynchronously using delegates
Building Robust WCF Services
  • Details of the ServiceContract attribute
  • Details of the OperationContract attribute
  • Designing WCF data contracts
  • The role of the DataContractSerializer
  • Specifying order of data members
  • The role of the KnownType attribute
  • Complex parameters and return values
  • Versioning WCF contracts
  • Controlling the format of SOAP messages
  • Mapping CLR exceptions to SOAP faults
  • Building strongly typed SOAP faults
Stateful WCF Services
  • Understanding Server Instance Context Modes
  • The ServiceBehavior attribute
  • Configuring per session, per call and singleton server instances
  • The role of the OperationBehavior attribute
  • Sequencing method operations
WCF Changes under .NET 4.0
  • Overview of minor .NET 4.0 changes
  • Working with default endpoints
  • Building RESTful WCF services
  • Building RESTful WCF clients
WCF Security
  • Survey the role of WCF security
  • Examine security techniques for TCP-based WCF services
  • Examine security techniques for HTTP-based WCF services
Appendix
  • A review of Windows Distributed APIs
  • COM+ Integration
  • Configuring Message and Transport Security

​​​