摘要: 服务端代码:[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 阅读全文
posted @ 2012-09-30 02:17 为森 阅读(274) 评论(0) 推荐(0) 编辑