Consulting Training Blog Careers About Us Contact Us

Complete Windows Communication Foundation (WCF) for .NET 4.0 Training

Course ID: INT1138
Duration: 3 Days

Upcoming Classes

Sorry, nothing scheduled right now. Click the Get Notified button below to be alerted when a class is scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us

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

Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

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. If you need to learn the fundamentals of .NET, you may be interested in Intertech’s C# Training, VB.NET Training or ASP.NET Training.

Prerequisites

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

Course Outline

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 element
  • Configuring multiple endpoints
  • Configuring Metadata Exchange (MEX)
  • The role of the 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

Free Resources from Intertech

Free Whitepaper: Introducing WCF Hosts and Clients

Free Book Chapter: WCF

Free Whitepaper: Top WCF Errors (and the Solutions)!

X