标签:
1. 右健 svc , view markup, 添加
Factory="System.ServiceModel.Activation.WebServiceHostFactory"
2. 在接口上添加:
[WebInvoke(UriTemplate = "{name}/{type}/{count}", Method = "GET", ResponseFormat = WebMessageFormat.Json)]
标签:
原文地址:http://www.cnblogs.com/fengwenit/p/5517501.html