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 first chapter covers the essential concepts and shows how to implement WCF services and clients. The “ABC” of address, binding and contracts are covered in detail. Service contracts and data contracts are elaborated, and instance management is covered. The course includes a discussion of error handling and security and concludes with coverage of the WCF Routing Service. The course uses Visual Studio 2015 with .NET 4.6. The course discusses new features of WCF 4.5, including new bindings and support for the task-based asynchronous pattern and WebSockets. A large number of working examples and lab exercises are provided.
Cost: Price on application
Duration: 3 days
This course is not available as part of our public schedule but can be provided on a customised client specific basis.
Participants 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.
· 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
What is WCF?
WCF and Web API
Address, Binding and Contract
WCF Services and Clients
WCF Service Libraries
WCF Test Host and Test Client
Addresses and Bindings:
Message Exchange Patterns
Interoperating with ASMX Web Services
Default Endpoints and Bindings
Defining Service Contracts
Defining Operation Contracts
Services with Multiple Contracts
Using Per-Call Services
Using Per-Session Services
Using Singleton Services
Windows Forms WCF Clients
Implementing Data Contracts
Mapping Data Contracts to XSD Schema
Arrays and Generic Collections
Versioning Data Contracts