Understanding Windows Communication Foundation (WCF) Training Course
Duration
Requirements
Before attending this course, students need to have:
- Experience developing software using Visual Studio.
- Experience developing software using either C# or VB.Net
Public Course Dates
This course would cost you around 1980GBP + VAT.
Please submit a public course date request for the exact price.
Overview
A two-day instructor-led course to provides participants with the knowledge to understand and help developing distributed applications using WCF 4 and Microsoft Visual Studio 2010. At the end of the course students will have clear indication on how and when to use the various settings and techniques.
Course Outline
Service-Oriented Architecture
- SOA - Definition, scenarios and benefits
- WCF and SOA
First steps into Windows Communication Foundation
- The Service Contract and the Data Contract
- The implementation of the Contract
- Hosting a WCF service: why and how
- How to consume a service
- The endpoints
- The ABC (Address, Binding, Contract)
- Behaviors
Sharing a contract
- Proxy creation through Visual Studio
- When and how to use the Channel Factory
Hosting a WCF service
- Understanding the role of the host
- The available options for hosting (custom vs. commercial) and how to choose
- Hosting on IIS, WAS, AppFabric
- Long running processes and Windows services hosts
- Creating a custom host - why and how
- Service host configuration and monitoring
Contracts, endpoints and behaviors
- Contract types
- The central role of bindings
- Why having multiple endpoints
- Interoperability
- Default endpoints
The communication model
- SOAP vs REST
- Messaging patterns, how to choose
- Instancing and Concurrency, combining the options
The protocols
- Understanding the channel stack and the protocols
Reliability
- Improve service reliability by using transactions, queues, and reliable messaging
- Using routing
Discovery and announcements
- How to discover and make services available through WS-Discovery
Testing and troubleshooting
- How to individuate errors and how to deal with them
- Exceptions vs Faults
- Using Fault Contracts
- How to write custom error handlers and why
- Message logging and tracing
WCF services and security
- The holistic view
- Authentication and Authorisation
- The security model
- Transport and Message security
Extending WCF
- How and when to extend WCF through behaviors, inspectors and host extensions

