Author: tinuverma | Posted on: 12/4/2008 9:32:54 AM | Views : 946

Hello Guys,
I am working on a simple WCF example. Below is the code:
namespace Example3
{
    [ServiceContract(Namespace = "Example3")]
    public interface ICustomerService
    {
        [WebGet]
        [OperationContract]
        Customer GetCustomer();

        [WebGet]
        [OperationContract]
        List<Customer> GetCustomers();
    }
}
namespace Example3
{
    [ServiceBehavior(IncludeExceptionDetailInFaults=false)]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    public class Custo ...

Go to the complete details ...