摘要: 1. 右健 svc , view markup, 添加 Factory="System.ServiceModel.Activation.WebServiceHostFactory" 2. 在接口上添加: [WebInvoke(UriTemplate = "{name}/{type}/{count}" 阅读全文
posted @ 2016-05-22 19:19 疯吻IT 阅读(725) 评论(0) 推荐(0) 编辑
摘要: 1. 添加using System.Runtime.Serialization; 找到这行 includeCollections ? (Environment.NewLine + "using System.Collections.Generic;") : "", 大约 433行 在这行下面添加一行 阅读全文
posted @ 2016-05-22 18:52 疯吻IT 阅读(194) 评论(0) 推荐(0) 编辑