What are the four layers in WCF architecture?

 Posted by Pgayath on 9/27/2012 | Category: WCF Interview questions | Views: 4390 | Points: 40

SOA based WCF architecture has four layers.

1. Contracts
It describe the WCF message system. This is achieved by three contracts with policies and bindings.
1. Service Contract - Describes the method signature of the service using C# or VB
2. Data Contract - Enables .NET types to be in XML
3. Message Contract - Defines the structure os the SOAP message exchanged between the service and client
4. Policies and Bindings - Defines the security level required by the clients

2. Service Runtime
This includes the behaviors that occur when service is running.

3. Messaging
This layer contains the channels that process messages and operate on messages and message headers

4. Hosting
Describes the ways in which WCF service can be hosted.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response