Windows Communication Foundation Using C#
Private Training Price: $6650 for up to 3 students*
*Additional students subject to a nominal fee
- Windows Communication Foundation Using C# Training Class Summary
-
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 covers the essentials of the technology and includes a large number of working examples and lab exercises.
This course can be delivered on Visual Studio 2008/.NET 3.5 or Visual Studio 2005 with the Visual Studio Extensions for .NET 3.0.
Audience: .NET Programmers who wish to use WCF to create and consume web services.
Prerequisites: A good working knowledge of building .NET applications with C#. Knowledge of building distributed systems and Web services will also be an advantage.
Class Length: 3 days
- Windows Communication Foundation Using C# Training Class Objectives
-
- Learn what WCF is, and how it unites existing distribution mechanisms.\
- Gain an understanding of what ABC (Address, Binding, Contract) means for WCF services.
- Learn how to implement WCF services and clients.
- Implement security in WCF applications.
- Windows Communication Foundation Using C# Training Class Detailed Outline
-
- Introduction to WCF
- What is WCF?
- WCF Services
- Service Orientation
- WCF and Web Services
- WCF = ABC
- Address, Binding, Contract
- Hosting Services
- Internet Information Services
- Internet Services Manager
- Virtual Directory
- Anonymous Access
- Configuring .svc Extension
- A Service Contract
- A Website for the Service
- WCF Service Template
- Service Configuration
- Configuration Details
- Referencing the Class Library
- Examining the Service in the Browser
- WCF Clients
- Creating WCF Clients
- WCF Architecture
- ServiceHost and ChannelFactory
- Service Contexts and Instances
- Addresses
- Transports
- Bindings
- Message Exchange Patterns (MEPs)
- Security
- Choosing a Binding
- HTTP Bindings
- TCP and Named Pipe Bindings
- MSMQ Bindings
- Working with Endpoints
- Importance of BasicHttpBinding
- WCF Service Hosting
- ServiceHost
- Client Program without Proxy Class
- Using a Channel Factory
- Service Endpoints
- Multiple Endpoints
- Configuration Files
- Simplified Host Code
- Configuring Metadata Exchange
- Service Contracts at Class Level
- Service Contracts at Interface Level
- Benefits of Interface Level Definition
- A Service with Multiple Contracts
- ServiceContractAttribute
- Viewing WSDL Files
- Contract Inheritance
- Operation Overloading
- Enabling Operation Overloading
- Operation Overloading Client
- Behaviors
- WCF Behaviors
- Configuring Behaviors
- Configuring Behaviors in Code
- WCF Instancing Models
- Per-Call Instancing
- Per-Session Instancing
- Sessions and Threading
- Singleton Instancing
- Which Model to Use?
- Data Contracts
- XSD for Data Contract
- Arrays
- Array in XML Schema
- Array in Proxy
- Generic Collections
- Generic Collection in XML Schema
- Generic Collection in Proxy
- Enumerations in Data Contracts
- Employee Client Program
- Saving and Restoring
- Serialization in WCF
- Serialization in .NET
- SOAP Serialization
- DataContract Serialization
- JSON Serialization
- Using XmlSerializer
- Restoring Data
- Versioning
- New and Missing Members
- Versioning Demonstration
- New Client of Old Service
- Round Trip
- Required Members
- OnDeserializing Event
- Versioning Service Contracts
- Version 1 Service
- Version 2 Service
- New Operations
- Version 3 Service
- Version 1 Client / Version 3 Service
- Message Exchange Patterns
- Request-Reply
- Oneway
- Duplex
- Callbacks
- Invoking a Callback
- Callback on the Client
- Asynchronous Proxies
- Threading Considerations
- Errors in Distributed Systems
- Errors in .NET and WCF
- Service Library Code
- Client Code
- Client Exception Handling
- Fault Exceptions
- Faults
- Exception Details in Faults
- Exceptions Dialog
- Fault Contracts
- Custom Faults
- Faulted Channels
- Services and Security
- Security Aspects of Services
- Transfer Security
- Transport Security
- Scenarios for Transport Security
- Configuring Transport Security
- Host’s Security Configuration
- Client’s Security Configuration
- Message Security
- Scenarios for Message Security
- Configuring Message Security
- Other Security Modes
- Certificates
- Client Certificate Configuration
- Sending Credentials
- Username Credentials
- ASP.NET Versions Side-by-Side
- Configuring for ASP.NET 2.0
- Installing ASP.NET
- Introduction to WCF



