WCF Example
Click OK Button.
Click ok
After that your project
looks like following image.
Open IService1.cs
//Make your
method for adding two number
[OperationContract]
int Add(int a,
int b);
After that you have to call
this interface into service.svc.cs
public int Add(int
a, int b)
{
return a + b;
}
Your services is ready for
consume.press F5
You have to see following
window.
In your web application
AddServicerefrence