Windows Communication Foundation Using C# - VS2017
Course Description
This course provides a thorough grounding in WCF, covering 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.
3 Days
Contact us for pricing
Prerequisites
Students 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.The course uses Visual Studio 2017 with .NET 4.6.1. 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.
Learning Objectives
Learn what WCF is, and how it unites existing distribution mechanismsGain 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
WCF Essentials
What is WCF?WCF and Web API
Address, Binding and Contract
WCF Services and Clients
WCF Service Libraries
WCF Test Host and Test Client
Self-Hosting
WCF Clients
Channel Factories
Creating Proxies
Configuration Files
Metadata
Standard Endpoints
WCF Architecture
Addresses and Bindings
AddressesBindings
Message Exchange Patterns
Configuring Bindings
Interoperating with ASMX Web Services
Default Endpoints and Bindings
Service Descriptions
Multiple Endpoints
Service Contracts
Defining Service ContractsDefining Operation Contracts
Services with Multiple Contracts
Contract Inheritance
Operation Overloading
Instance Management
Using Per-Call ServicesUsing Per-Session Services
Using Singleton Services
Configuring Behaviors
Windows Forms WCF Clients
Data Contracts
Implementing Data ContractsMapping Data Contracts to XSD Schema
Serialization
Arrays and Generic Collections
Enums
Versioning Data Contracts
More about Service Contracts
Versioning Service ContractsImplementing Message Exchange Patterns
Oneway Contracts
Duplex Contracts
Asynchronous Proxies
Task-Based Asynchronous Pattern
WebSockets
Handling Errors
Faults and ExceptionsGenerating and Handling Faults
Fault Contracts
Faults and Sessions
WCF Security
Security Aspects of ServicesTransport Security
Message Security
Certificates
Credentials
WCF Routing
WCF Routing ServiceRouting Configuration
Routing Contracts
Message Filters
Error Handling
Routing Scenarios
WCFWindows Communication FoundationC#Visual StudioVisual Studio 2017VS2017Microsoft Visual Studio 2017