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 ...