C# 如何提前在Rest客户端或邮递员中检查wcf服务
您好,我已经创建了一个WCF服务,希望在“AdvanceRESTClient”中检查此服务,但它向我显示了以下响应。有人能建议我们如何检查我们的服务吗。 这是我如何编写代码的接口C# 如何提前在Rest客户端或邮递员中检查wcf服务,c#,wcf,rest,C#,Wcf,Rest,您好,我已经创建了一个WCF服务,希望在“AdvanceRESTClient”中检查此服务,但它向我显示了以下响应。有人能建议我们如何检查我们的服务吗。 这是我如何编写代码的接口 public interface IService1 { [OperationContract] bool InsertData(Employee1 obj); [OperationContract] [WebGet(RequestForma
public interface IService1
{
[OperationContract]
bool InsertData(Employee1 obj);
[OperationContract]
[WebGet(RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, UriTemplate = "/ShowAll/")]
List<Employee1> ShowAll();
}
公共接口IService1
{
[经营合同]
bool InsertData(员工1对象);
[经营合同]
[WebGet(RequestFormat=WebMessageFormat.Json,ResponseFormat=WebMessageFormat.Json,UriTemplate=“/ShowAll/”)]
列表ShowAll();
}