WCF系列之.net(3.0/3.5)Rest使用示例

摘要: 上面我介绍了在.NET(3.0/3.5)开发WCF的使用示例。这篇,我将讲解Rest 这个炙手可热的新的开发方式,至于rest 是什么,请大家百度下。我们还是以下面的方式做示例:服务接口-》服务-》客户端1.服务接口:数据接口using System.ServiceModel;using System.ServiceModel.Web; //这里就是REST 要关键引用的类using System.Runtime.Serialization;namespace Wcf.IProductService{ [ServiceContract] public interface IProd... 阅读全文
posted @ 2013-02-25 13:18 ~紫鱼~ 阅读(1440) 评论(0) 推荐(0)