Windows Communication Foundation

Windows Communication Foundation (WCF) is Microsofts strategic vision for creating distributed applications in the Service Oriented Architecture (SOA) era. This course provides comprehensive coverage of WCF, explaining how to implement best-of-breed SOA solutions using the latest techniques and APIs.

Audience:

Developers who want to create distributed applications on the .NET 4.5 platform

Prerequisites:

3 months experience in C#, and familiarity with Web services (advantageous).

Course outline:

  • Introduction to WCF: Overview of SOA; WCF architecture; Services, contracts, and addresses; Hosting; Bindings; Endpoints; Metadata exchange; Configuration; Implementing and consuming a service

  • Defining Service Contracts: Mapping operations to methods; Overloading operations; Using inheritance; Best practices; Querying contracts; Message contracts; Implementing catch-all contracts; Contract-first development in WCF 4.5; Task-based async proxies in WCF 4.5

  • Defining Data Contracts: What is a data contract? Serialization issues; Using data contract attributes; Versioning data contracts; Using data sets and tables; Using collections and generics

  • Defining Endpoints and Behaviors: Defining multiple endpoints; Adding behaviors to services and endpoints; Calling non-WCF services; Managing service instances: per-call, per-session, and singleton; Throttling calls; Defaults in WCF 4.5

  • Handling Faults: Overview of service-level faults; Defining fault contracts; Handling exceptions at the client

  • Discovery: Overview of WS-Discovery; Simple ad-hoc service discovery; Using scope when discovering endpoints; Service announcements

  • Routing: Overview of RoutingService; Hosting the RoutingService; Configuring the RoutingService with message filters; Content-based routing; Protocol bridging; Error handling; Multicast routing.

  • Managing Operations and Concurrency: Message exchange patterns (MEPs); Defining synchronous request-reply operations; Defining one-way operations; Defining asynchronous call-back operations; Service synchronization; Managing events; Streaming improvements in WCF 4.5

  • Managing Transactions: The role of transactions in SOA; Implementing transactional operations; Transaction management and propagation.

  • Managing Security: Security concepts; Binding security; Specifying credentials; Obtaining security information; Application scenarios: intranet, Internet, B2B, anonymous clients; Federated security and SAML.

  • RESTful Services: Overview of REST; REST bindings in WCF; Implementing RESTful services; Consuming RESTful services using HttpClient in WCF 4.5

  • Workflow Services:The role of WF in WCF; Creating and hosting a workflow service; Using workflow activities.

  • Web Sockets: What are Web Sockets? Implementing Web Sockets using WCF 4.5; Consuming WCF services.

 

Andy Olsen - author of the course

Andy is a freelance consultant and instructor based in the UK, working mostly in the City of London and Oxford. Andy has been working with .NET since the Beta 1 days and has extensive experience in many facets of .NET development including WCF, WPF, WF, ASP.NET MVC Web development, and mobile applications. Andy has designed and written many Microsoft Official Curriculum courses in the last decade, and has been engaged as author and technical reviewer with Apress on some of their biggest selling books.

Other relevant courses

7. April
5 days
Classroom
21. May
3 days
Classroom
25. February
4 days
Classroom Virtual On Demand
2. April
4 days
Classroom