step by step approach to create a wcf

2
Step by Step approach to create a WCF Data Service Suttipong Kullawattana

Upload: suttipong-kullawattana

Post on 21-Feb-2017

10 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Step by Step approach to create a WCF

Step by Step approach to create a WCF Data

ServiceSuttipong Kullawattana

Page 2: Step by Step approach to create a WCF

Introduction• When comes to Service Oriented Architecture or Programming, Microsoft’s

WCF (Windows Communication Foundation) technology plays a prominent role in the field. It enables developers to segregate Services/Data with Client, hence it helps in developing a loosely coupled application with ease.• Before digging into further definition of what is WCF Data Service is, let me

clarify the common confusion between WCF Service and WCF Data Service. In WCF Service, the focus is on creating Operations, where the generic services are implemented. It works with various protocols/techniques such as SOAP, MSMQ, HTTP, TCP etc. Whereas WCF Data Service is completely focused on creating Data as a service. If we have a data model and if we need to make it available for the clients to consume it, then WCF Data Service is the right way. It only supports REST based HTTP protocol.