Wednesday, January 15, 2014

How can you Create WCF application ?

It Stands for Window Communication Foundation (WCF).

It provides services to different end User to perform various messaging operations.
It  Contain different type of services
i.e  1. Service Contract  
     2. Data Contract
     3. Error Contract
     4. Message Contract

 Service Contract contains 2 section
1.       Service Contract
2.       Operation Contract

In service contract we define the attribute of interface
And in Operation Contract we define the member functions.

How to create WCF services 

Go to solution explorer à Add New Itemà add a WCF services
Give the service name like mydemo.Svc à Click Add
It display 2 files in appcode folder
i.e :  Imydemo.cs file  and mydemo.cs
Open Imydemo.cs file it contain some predefined methods called as DoWork().

No comments:

Post a Comment