摘要:
服务继承多个契约其实也就是服务类实现了多个接口,主要是在配置中需要添加多个endpoint,各个endpoint之间的address不同、contract不同契约:[html] view plaincopyprint?[ServiceContract] public interface IReportService { [OperationContract] [WebGet(UriTemplate="Task",ResponseFormat=WebMessageFormat.Json)] List<SampleItem> GetList(); } [Servic 阅读全文
posted @ 2013-05-06 14:58
Trilyn
阅读(330)
评论(0)
推荐(0)