Windows Communication Foundation Using C# (VS 2010)培训课程


This 3-day course provides a thorough grounding in Microsoft’s© important Windows Communication Foundation (WCF) technology, a framework for building distributed systems. WCF 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.

Students completing the course will:

  • 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

.NET Programmers who wish to use WCF to create and consume web services.

A good working knowledge of building .NET applications with C#. Also, knowledge of building distributed systems and Web services will be an advantage.

1. WCF Essentials

  • What is WCF?
  • 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

2. Addresses and Bindings

  • Addresses
  • Bindings
  • Message Exchange Patterns
  • Configuring Bindings
  • Interoperating with ASMX Web
  • Services
  • Default Endpoints and Bindings
  • Service Descriptions
  • Multiple Endpoints

3. Service Contracts

  • Defining Service Contracts
  • Defining Operation Contracts
  • Services with Multiple Contracts
  • Contract Inheritance
  • Operation Overloading

4. Instance Management

  • Using Per-Call Services
  • Using Per-Session Services
  • Using Singleton Services
  • Configuring Behaviors

5. Data Contracts

  • Implementing Data Contracts
  • Mapping Data Contracts to XSD
  • Schema
  • Serialization
  • Arrays and Generic Collections
  • Enums
  • Versioning Data Contracts

6. More about Service Contracts

  • Versioning Service Contracts
  • Implementing Message Exchange
  • Patterns
  • Oneway Contracts
  • Duplex Contracts
  • Asynchronous Proxies

7. Handling Errors

  • Faults and Exceptions
  • Generating and Handling Faults
  • Fault Contracts
  • Faults and Sessions

8. WCF Security

  • Security Aspects of Services
  • Transport Security
  • Message Security
  • Certificates
  • Credentials



您的电子邮箱地址不会被公开。 必填项已用 * 标注