摘要:
服务端代码:[ServiceContract]publicinterfaceIEmployees{[WebGet(ResponseFormat=WebMessageFormat.Json)]IEnumerable<Employee>GetAll();//UriTemplate="all",}publicclassEmployee{publicstringId{get;set;}publicstringName{get;set;}publicstringDepartment{get;set;}publicstringGrade{get;set;}}publiccl 阅读全文