My wcf restfull service return json format , now i want to call this in another project . how can do this ?
[WebInvoke(Method = "GET",
ResponseFormat = WebMessageFormat.Json,
BodyStyle = WebMessageBodyStyle.Bare,
UriTemplate = "GetProductList/")]
public List<Product> GetProductList()
{
return Products.Instance.ProductList;
}
This service return output json format .