WCF is a runtime that enables to create the services to communicate with the client through standard transport mechanism. WCF supports request-reply, one-way, and duplex communication.
WCF architecture divided into three models namely Programming Model, Service Model, and Channel Model.
Service Contract
Exposes endpoints and operations to be called from the client.
Operation Contract
Defines parameter and return type of service contracts.
Data Contract
Metadata of the data types. This enables to interoperate with the service. This can be used in any part of the message.
Message Contract
Describes format of the message structured.
Fault Contract
Used to send the error messages back to the client.
No comments:
Post a Comment