WCF - Windows Communication Foundation

Monday, March 22, 2010 8:06:46 PM

200 Views

All Training Areas

Find links and hints to resources for Windows Communication Foundation. This includes working with the web.config, client access policy files, Duplex models, sockets, classic .NET web services, wcf services, service contracts, operation contracts, message contracts, data contracts, and deployment.

Getting Started

Find resources and tips for working with WCF.

Miscellaneous

WCF Contracts

The Service Contract is defined by the WSDL document. Service metadata includes: Address of where messages are to be sent. The protocols supported by the service, including transport protocol, message encoding format, and other messaging protocols. A list of service operations and the required information to be passed to or returned from those operations.

WCF Messaging Protocols

WCF Instancing and Concurrency

WCF provides the following features to control instancing, throughput, and throttling: Instancing Mode: Controls the lifetime of each service instance. Concurrency Mode: Determines how each service instance allows concurrent calls. Throttling Behavior: Allows you to control the load on each service, restricting the number of concurrent calls and session and service instances.

* The editors are constructing topics for WCF Instancing and Concurrency.

WCF Exceptions and Faults

Component - oriented systems traditionally rely on Exceptions to communicate problems encountered during execution flow. This section covers SOAP Faults,Fault Versions, WCF Exception Handling, Fault Exceptions, Service Exception Handling, and Client exception handling.

General

Workflow

Find resources and tips for working with Windows Workflow.

General

WCF Bindings

Every service endpoint is associated with a particular binding. A binding is a runtime type that derives from the common base type Binding. Bindings describe transport protocol, message-encoding format, and other protocols for the communication channel.

WCF Binding Examples

WCF Reliability

Reliable Sessions make it possible to overcome transient network interruptions over TCP, Named Pipes or HTTP. Transactional Programming Techniques allow developers to guarantee operations are completed as a single atomic transaction. Queued Messaging, when combined with transactions, provides a foundation for durable, reliable, and one-way messaging that can survive lengthy network outages and machine restarts. WCF uses MSMQ (Message Queue) to do this.

* The editors are constructing topics for WCF Reliability.

WCF Hosting

There are three types of hosting environments for WCF servics: Host services in IIS 6.0 or 7.0 over HTTP protocol. Use the WAS over any protocol. Self Hosting. Self Hosting refers to any application that provides its own code to initialize the hosting environment.

WCF Hosting Features

WCF Security

WCF is a secure, reliable and scalable messaging platform. SOAP Messages can be transmitted over a variety of protocols including Named Pipes, TCP, HTTP and MSMQ. Like any distributed messaging platform, you must establish security policies for protecting messages and for authenticating and authorizing calls.

* The editors are constructing topics for WCF Security.